Bring This Food
  1. auth
Bring This Food
  • https
    • _readme
    • v1
      • alerts
        • get alerts - customer | rider
        • get alerts - store
        • mark alerts read - customer | rider
        • mark alerts read - store
      • auth
        • reset password
          PUT
        • sign-up
          POST
        • sign-in
          POST
        • sign-out
          DELETE
        • refresh tokens
          POST
      • chat
        • send message to user
        • send message to store
        • send message to chat
        • get messages
        • update messages
        • get chat
      • chats
        • get chats
      • existence
        • telephone existence
      • finance
        • get nigerian banks
        • resolve account number
        • initiate one-time payment
      • invite-code
        • request for invite code
      • order
        • get order
        • cancel order - customer
        • update delivery - customer
        • reject or cancel order - store | rider
        • accept order - store | rider
        • update status - store | rider
        • notify riders - store
        • unnotify riders - store
      • orders
        • get all orders - customer
        • get all orders - rider
        • get all orders - store
        • get orders by status - customer
        • get orders by status - rider
        • get orders by status - store
        • get orders metadata - store
      • order-complaint
        • complain on an order
        • delete order complaint
      • order-complaints
        • get complaints - store
      • otp
        • send otp
        • verify otp
      • pagination
        • first request
        • next request
      • request
        • revoke request - store
        • update request - store
        • accept request - store
        • reject request - store
      • requests
        • get all requests - store
        • get assistant requests - store
        • get rider requests - store
      • resources
        • get faqs
        • get faqs by types
        • get ile-ife streets
      • slug
        • get store by slug
        • get order by slug
      • store
        • get store
        • delete store
        • update store
        • block a store
        • unblock a store
        • love a store
        • unlove a store
        • send request - assistant | rider
        • post review
        • update review
        • delete review
        • get reviews - all
        • get reviews - by rating
        • get reviews metadata
      • store-analytics
        • get store analytics
      • store-cart
        • get store cart
        • update store cart
        • cart checkout
        • clear cart
      • store-menu
        • add category
        • update category
        • delete category
        • get categories
        • add item - combo
        • add item - other(categorised item)
        • update item
        • delete item
        • get items - all
        • get items - combo
        • get items - other (non-combo)
        • get items - categorised
      • stores
        • get stores
        • get featured stores
        • get food recommendations
      • support
        • get open ticket
        • create ticket
        • send message
        • get messages
      • time
        • timezone offset
      • transaction
        • get transaction
      • transactions
        • get store transactions
        • get customer transactions
        • get assistant transactions
        • get rider transactions
      • upload
        • read-me for signed upload url
        • get signed upload url(s)
        • upload file
      • user
        • get user
        • update user
        • update password
        • confirm role category - independent
        • confirm role category - platform
        • confirm role category - vendor
        • post review
        • update review
        • delete review
        • get reviews metadata
        • get reviews - all
        • get reviews - by rating
        • get customer carts
      • user-account
        • get - account
        • delete - account
        • create store
      • wallet
        • get wallet - store
        • get wallet - customer | rider
        • update pin - store
        • update pin - customer | rider
        • get withdrawal fee - store
        • get withdrawal fee - rider
        • withdraw funds - store
        • withdraw funds - rider
  • wss
    • _readme
    • auth
      • handshake
    • alert
      • alert.new
      • alert.update
    • chat
      • chat.get
      • chat.message.new
      • chat.message.post
      • chat.messages.get
      • chat.messages.update
      • chats.get
    • order
      • order.new
      • order.update
      • order.complaint.new
      • rider.order.assignment.time.ended
      • rider.orders.addition.time.ended
    • ping
      • ping server
    • request
      • request.new
      • request.update
    • support
      • support.ticket.open.get
      • support.ticket.message.new
      • support.ticket.message.post
      • support.ticket.messages.get
    • transaction
      • transaction.new
      • transaction.update
  • Schemas
    • v1
      • alert
        • alertType
        • alertSubject
        • basicAlert
        • alert
      • chat
        • basicChatMessage
        • chatMessage
        • reqCreateChatMessageBody
        • basicChat
        • chat
        • messageDeliveryStatus
        • updateMessagesMap
        • basicMessagesMap
        • basicMessageSender
      • entity
        • entityType
        • basicEntity
        • typedEntity
      • faq
        • faqTextBlockProps
        • faq
        • faqTextBlockInnerProps
      • file
        • uploadedFile
      • finance
        • userBank
        • userBankWithId
        • paymentMethod
        • paymentBeneficiary
      • get-request
        • paginationProps
      • order
        • basicUserOrder
        • extendedUserOrder
        • userOrder
        • customerOrderStatus
        • riderOrderStatus
        • storeOrderStatus
        • orderTimeline
        • orderTracking
        • ordersMetadata
        • ordersMetadataStatusProps
        • orderRider
        • extendedOrderCustomer
        • orderCustomer
        • orderPaymentStatus
        • orderPayment
        • orderStore
      • order-complaint
        • basicOrderComplaint
        • orderComplaint
      • otp
        • otp
      • platform
        • platformClientType
      • price
        • priceProps
      • responses
        • 200 - success
        • 208 - already done
        • 400 - bad request
        • 401 - unauthorised
        • 403 - forbidden
        • 404 - not found
        • 409 - conflict
        • 410 - gone
        • 500 - server error
      • review
        • reviewRating
        • reviewRatingProps
        • reviewsSummary
        • reviewsMetadata
      • status
        • executionStatus
      • store
        • basicUserStore
        • extendedUserStore
        • userStore
        • basicStoreViewer
        • extendedStoreViewer
        • userStoreMenu
        • userStoreRequest
        • userStorePermission
        • basicUserStoreReview
        • storeCartItem
        • storeCartItemGroup
        • userBasicStoreCart
        • userExtendedStoreCart
        • userStoreCart
        • storeCartSummaryItemProps
        • cartSummary
        • storeAnalytics
        • userStoreCategory
      • store-menu
        • storeMenuCategory
        • storeMenuComboItem
        • storeMenuCategorisedItem
      • support
        • basicSupportMessage
        • supportTicketStatus
        • supportMessage
        • supportTicket
        • reqCreateSupportTicketMessageBody
      • time
        • iso24HrTime
        • weeklyAvailability
        • timeRangeProps
        • timezoneOffset
        • isoDateTime
        • dateTimeRangeProps
      • transaction
        • basicTransaction
        • extendedTransaction
        • transaction
        • customerTransactionCategory
        • riderTransactionCategory
        • storeTransactionCategory
        • assistantTransactionCategory
        • transactionSummary
        • transactionPayment
        • paymentStatus
      • user
        • basicUser
        • extendedUser
        • user
        • location
        • userTelephone
        • userTokens
        • userRole
        • userPassword
        • verificationStatus
        • basicUserReview
        • deliveryProps
        • userAccount
        • currentRiderOrdersMapItemProps
      • wallet
        • userWallet
      • websocket
        • wsResponseType
        • wsRequestAction
  1. auth

sign-in

dev-v1
https://test-api.bringthisfood.com/v1
dev-v1
https://test-api.bringthisfood.com/v1
POST
https://test-api.bringthisfood.com/v1
/auth/sign-in

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400400 - bad request
🟠401401 - unauthorised
🟠403403 - forbidden
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.bringthisfood.com/v1/auth/sign-in' \
--header 'x-user-device: <deviceId> <deviceFCMToken>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "telephone": "+2349012345678",
    "password": "string"
}'
Response Response Example
200 - Example 1
{
    "data": {
        "store": {
            "id": "string",
            "slug": "string",
            "name": "string",
            "telephone": "+2349012345678",
            "category": "food",
            "picture": {
                "mimeType": "string",
                "url": "string"
            },
            "locations": [
                {
                    "city": "Ile - Ife (Off Campus)",
                    "street": "Parakin",
                    "description": "Beside AP filling station, KM 4, Ede Road",
                    "coordinates": {
                        "latitude": 0,
                        "longitude": 0
                    }
                }
            ],
            "review": {
                "totalRaters": 0,
                "rating": 0
            },
            "delivery": {
                "price": {
                    "min": {
                        "currency": "ngn",
                        "amount": 0
                    }
                },
                "time": {
                    "min": 0,
                    "max": 0
                }
            },
            "items": {
                "averagePrice": {
                    "currency": "ngn",
                    "amount": 0
                }
            },
            "active": true,
            "open": true,
            "orders": {
                "unassigned": {
                    "total": 0
                }
            },
            "web": {
                "link": "string"
            },
            "viewer": {
                "reacted": true,
                "reaction": "love",
                "permissions": [
                    "order-management"
                ],
                "hasBlocked": true
            },
            "menu": {
                "pack": {
                    "price": {
                        "currency": "ngn",
                        "amount": 0
                    }
                }
            },
            "availability": {
                "weekly": {
                    "sun": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    },
                    "mon": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    },
                    "tue": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    },
                    "wed": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    },
                    "thur": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    },
                    "fri": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    },
                    "sat": {
                        "start": "17:00:00",
                        "end": "17:00:00"
                    }
                }
            },
            "banks": [
                {
                    "code": "string",
                    "name": "string",
                    "account": {
                        "name": "string",
                        "number": "string"
                    },
                    "id": "string"
                }
            ],
            "wallet": {
                "balance": {
                    "currency": "ngn",
                    "amount": 0
                },
                "pin": {
                    "enabled": true
                }
            }
        },
        "user": {
            "id": "string",
            "active": true,
            "locations": [
                {
                    "city": "Ile - Ife (Off Campus)",
                    "street": "Parakin",
                    "description": "Beside AP filling station, KM 4, Ede Road",
                    "coordinates": {
                        "latitude": 0,
                        "longitude": 0
                    }
                }
            ],
            "name": "string",
            "role": {
                "main": "rider",
                "category": "platform",
                "status": "pending"
            },
            "telephone": "+2349012345678",
            "verified": true,
            "picture": {
                "mimeType": "string",
                "url": "string"
            },
            "review": {
                "totalRaters": 0,
                "rating": 0
            },
            "banks": [
                {
                    "code": "string",
                    "name": "string",
                    "account": {
                        "name": "string",
                        "number": "string"
                    },
                    "id": "string"
                }
            ],
            "wallet": {
                "balance": {
                    "currency": "ngn",
                    "amount": 0
                },
                "pin": {
                    "enabled": true
                }
            },
            "orders": {
                "statuses": {
                    "ongoing": {
                        "timestamp": {
                            "start": "2025-10-08T15:30:00.451Z",
                            "end": "2025-10-08T15:30:00.451Z"
                        }
                    },
                    "accepted": {
                        "timestamp": {
                            "start": "2025-10-08T15:30:00.451Z",
                            "end": "2025-10-08T15:30:00.451Z"
                        }
                    }
                },
                "box": {
                    "locked": true
                }
            },
            "email": "string",
            "emailVerified": true,
            "notifications": {
                "push": {
                    "enabled": true
                }
            }
        },
        "chats": {
            "totalUnread": 0
        },
        "tokens": {
            "access": "string",
            "refresh": "string"
        }
    }
}
Modified at 2025-11-26 16:12:22
Previous
sign-up
Next
sign-out
Built with