APIv3
Exit Documentation

Requests and responses

API v3 uses resource-oriented URLs, standard HTTP methods, and JSON request and response bodies.


Request conventions

ConventionValue
AuthenticationAuthorization: Bearer YOUR_API_KEY
Request content typeContent-Type: application/json
Response content typeapplication/json
API prefix/api/v3

Resource identifiers are UUID strings and appear in the URL when operating on one record.


Resource objects

Successful retrieve, create, and update operations return the resource object directly. The object field identifies its type:

json
{
  "id": "709d2a43-12a9-4d85-a9d9-cb16e66cef53",
  "object": "customer",
  "customer_number": 527,
  "name": "Example Customer"
}

API v3 does not wrap successful resources in generic status, success, or data properties.


List objects

List endpoints return an object value of list. Records are contained in data, while pagination metadata is contained in pagination:

json
{
  "object": "list",
  "url": "/api/v3/customers",
  "has_more": true,
  "data": [],
  "pagination": {
    "page": 1,
    "per_page": 20,
    "total_pages": 3,
    "total_records": 58
  }
}

See pagination for parameter details.


HTTP status codes

StatusMeaning
200 OKA retrieve, list, update, or delete request succeeded.
201 CreatedA resource was created.
400 Bad RequestThe request could not be processed.
401 UnauthorizedA valid API credential was not provided.
403 ForbiddenThe user permissions or key scopes deny the action.
404 Not FoundThe requested resource is unavailable.
409 ConflictThe request conflicts with an idempotency operation.
429 Too Many RequestsThe API key has exhausted its current request allowance.
422 Unprocessable ContentOne or more fields failed validation.
500 Internal Server ErrorAn unexpected API error occurred.

Timestamps

Response timestamps use ISO 8601 strings, including a timezone offset:

text
2026-07-17T22:42:19+00:00

Request IDs

Every API response includes a Request-Id header:

http
Request-Id: req_1d352b4e6502b1edda090f4b210a8cfc

Record this value with integration errors. It identifies the request in SalesBinder's API logs without requiring you to share an API key or sensitive request data.

See request IDs for recommended integration logging practices.


Rate-limit headers

Authenticated responses include the API key's current request allowance:

http
RateLimit-Limit: 120
RateLimit-Remaining: 119
RateLimit-Reset: 42

RateLimit-Reset is the number of seconds until a new allowance window begins. When the allowance is exhausted, the API returns 429 Too Many Requests and includes Retry-After with the same number of seconds.

See rate limits for retry guidance.