Skip to main content
Developer API endpoints are API-key guarded REST mappings over Swig backend services.

Base URL

Examples use:
Use the environment-specific base URL provided for your project when working against dev, staging, or private deployments.

Authentication

Send your API key as a bearer token:
Runtime API keys are created in the Developer Portal. Keep them on your server and send browser or mobile requests through your backend. This section covers runtime product APIs. Use the Developer Portal for administrative operations.

JSON encoding

The REST API uses protobuf JSON mapping.

Request mapping

Fields in the path template go in the URL. Remaining scalar fields on GET requests become query parameters.
For POST, PUT, and PATCH endpoints, the request body is the full request message unless noted otherwise.

Field casing

The protobuf field names are snake_case. JSON transcoding accepts protobuf JSON names, which are normally camelCase. This docs section uses camelCase in JSON examples and snake_case in endpoint tables when referring to the source proto field.

Response shape

Successful responses are JSON encodings of the protobuf response message. API errors are returned by the gateway or service as HTTP errors with a gRPC status mapping. See Errors.