Authentication
OAuth 2.1 token endpoint for obtaining access tokens.
There are two types of tokens depending on what you need to access:
Connector Token
Obtained by calling POST /oauth/token without company_id. Grants access to connector-level resources only.
| Scope | Description |
|---|---|
conections:read | List your active connections with companies |
conections:write | Accept or reject pending connections |
Company Token
Obtained by calling POST /oauth/token with company_id. Grants access to a specific company's data.
| Scope | Description |
|---|---|
menu:read | Read menu categories and products |
menu:write | Create and update products |
orders:read | Read orders |
clients:read | Read client list |
reports:read | Read reports and analytics |
webhooks:read | List and view webhook configurations |
webhooks:write | Create, update, and delete webhooks |
companies:read | Read company information |
Key Differences
| Connector Token | Company Token | |
|---|---|---|
company_id in request | No | Yes (required) |
| Access to company data | No | Yes |
| Available scopes | conections:* | All company-level scopes |
| Use case | Manage connections | Access orders, menu, clients, etc. |
📄️ Request an access token
OAuth 2.1 token endpoint. Use `client_credentials` grant to obtain a Connector Token (without company_id) or a Company Token (with company_id).