Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Backresto Com Mobile API
version: '1.0'
contact:
name: BackResto
url: https://developers.backresto.com/en/docs/support
email: contact@backresto.com
description: 'Operations tagged mobile across 2 of this provider''s published API definitions: api_backresto.json, backresto-com-api-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Mobile
paths:
/v1/mobile/sessions:
post:
operationId: MobileSessionController_exchange
parameters: []
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
expiresInSeconds:
type: number
enum:
- 900
token:
type: string
required:
- expiresInSeconds
- token
additionalProperties: false
headers:
RateLimit:
description: 'Remaining requests and seconds until the window resets: "<policy>";r=<remaining>;t=<seconds>.'
schema:
type: string
RateLimit-Policy:
description: 'Quota and window of the policy: "<policy>";q=<requests>;w=<seconds>.'
schema:
type: string
'400':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: The request is invalid.
'401':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: The credential is missing or not valid. Partner routes add WWW-Authenticate with the protected resource metadata URL.
'403':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: The credential is valid but not granted this restaurant or scope.
'404':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: No such resource.
'429':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: Rate limit exceeded; retry after the Retry-After header.
'500':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: Unexpected server error.
'503':
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
description: A required dependency is unavailable.
security:
- bearer: []
tags:
- Mobile
summary: Open a mobile session
description: 'BackResto mobile app only: exchanges the app''s identity token for a 15-minute API token.'
components:
schemas:
Problem:
description: RFC 9457 problem details.
properties:
code:
description: Machine-readable reason, on mobile ingestion routes only.
type: string
detail:
type: string
instance:
description: The request path.
type: string
requestId:
description: Echoes X-Request-ID; quote it to support.
type: string
status:
type: integer
title:
type: string
type:
description: Stable URI naming the problem, e.g. https://api.backresto.com/problems/not-found.
format: uri
type: string
required:
- type
- title
- status
- detail
- instance
- requestId
type: object
x-refined-from:
- api_backresto.json
- backresto-com-api-openapi.json