Restaurant API

Updated on September 10, 2023

Upsell Restaurant API

This is the public facing API inteded to be used by restaurants when creating a custom web using the Upsell headless solution.

API Authentication

To authenticate the restaurant you'll need to get an API key from the Upsell team. This key is then used to authenticate the restaurant when making requests to the API using the X-API-Key header.

OTP Authenticationin Customer Authentication

Generate OTP

POST
/v1/auth/otp/generate

Generate an OTP for a given phone number. This code is then used to verify the phone number using /v1/auth/verify-otp.

  • POSThttps://restaurant.api.upsell.is/v1/auth/otp/generate
HTTP
Request
(loading)
Response
(loading)

Verify OTP

POST
/v1/auth/otp/verify

Verify OTP code generated with /v1/auth/otp/generate.

  • POSThttps://restaurant.api.upsell.is/v1/auth/otp/verify
HTTP
Request
(loading)
Response
(loading)