Appearance
Authentication
All API requests must include a valid Bearer Token in the Authorization header.
Bearer Token
Authorization: Bearer {your-token}Generating a Token
API tokens are generated from the backoffice user settings page:
https://dashboard.wedocod.com/settings/api-keysWhen generating a token, you can select specific permissions (scopes) to control what the token can access.
Token Scopes
Seller tokens support all available scopes:
| Scope | Description |
|---|---|
create leads | create leads via the API |
view leads | view leads via the API |
update leads | update leads via the API |
delete leads | delete leads via the API |
create orders | create orders via the API |
view orders | view orders via the API |
update orders | update orders via the API |
delete orders | delete orders via the API |
TIP
You can assign a subset of scopes when generating a token to create least-privilege integrations.
