Skip to main content
To be able to use Datatruck OpenAPI you should create tokens from your dashboard. Go to your dashboard and create token with appropriate scopes and expiration. Expiration and scopes are optional as well as description for your token, but remember name is required. Once you create your token, token is displayed only once so make sure you copy it to somewhere else. You can always regenerate the token or delete. Once you regenerate, previous token will stop working.

API Limits

  • Maximum page size for paginated endpoints: 10 items per page
  • Rate limit: 20 requests per minute

Authentication

Datatruck uses the API Key Token HTTP authentication scheme. In order to use the authentication token, include it in the Authorization header in your HTTP request. Also, put your company_name in the url:
curl --request GET \
--url https://{company_name}.datatruck.io/api/v1/openapi/orders \
--header "Authorization: Token cc92174571ac12f386e5657b187d39bb210f3270a837730125ed4029a448877e" \
--header "Content-Type: application/json"