TheFork B2B API
TheFork B2B API lets restaurants and groups integrate with TheFork Management platform. It supports designing custom booking flows, creating reservations with meal date, party size, and customer data, presenting preset menus, accessing personalized guest data such as allergies, dietary restrictions, and seating preferences, and retrieving guest reviews. The API is fronted by a Kong gateway and documented with OpenAPI 3. Authentication uses the Auth0 OAuth 2.0 client credentials flow to obtain a bearer access token.
Documentation
Documentation
https://docs.thefork.io/B2B-API/introduction
APIReference
https://docs.thefork.io/B2B-API/API%20specifications/post-v-1-restaurants-id-reservations
GettingStarted
https://docs.thefork.io/getting-started
Authentication
https://docs.thefork.io/B2B-API/authentication
Specifications
OpenAPI
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/openapi/thefork-b2b-openapi.yml
JSON-LD
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/json-ld/thefork-b2b-context.jsonld
Examples
Example
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/examples/thefork-b2b-create-reservation-example.json
Example
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/examples/thefork-b2b-get-reservation-example.json
Example
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/examples/thefork-b2b-find-customer-by-phone-example.json
Example
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/examples/thefork-b2b-get-review-example.json
Schemas & Data
JSONSchema
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/json-schema/thefork-b2b-reservation-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/json-schema/thefork-b2b-customer-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/json-schema/thefork-b2b-review-schema.json
JSONStructure
https://raw.githubusercontent.com/api-evangelist/thefork/refs/heads/main/json-structure/thefork-b2b-reservation-structure.json