Provisioning API
List operations
const url = 'https://live-api.customers.ac/v1/operations?page%5Bsize%5D=25&filter%5Btype%5D=provision_sender&filter%5Bstatus%5D=pending';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://live-api.customers.ac/v1/operations?page%5Bsize%5D=25&filter%5Btype%5D=provision_sender&filter%5Bstatus%5D=pending' \ --header 'Authorization: Bearer <token>'Returns a paginated list of operations. Use filters to narrow results by type or status.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Maximum number of records to return. Default: 25, maximum: 100.
Opaque cursor returned by a previous list response. Pass this to fetch the next page.
The type of async operation.
Return only operations of this type.
The current status of an operation.
Return only operations with this status.
Return only operations for this sender.
Responses
Section titled “Responses”A paginated list of operations.
object
object
Unique identifier for the operation.
The type of async operation.
The current status of an operation.
The sender associated with this operation, if applicable.
The domain associated with this operation, if applicable.
Ordered list of steps within the operation.
object
Machine-readable step identifier.
The current status of this step.
When this step started. null if not yet started.
When this step completed. null if not yet completed.
A human-readable explanation of the step’s current state.
Cursor-based pagination metadata.
object
true if there are more records after this page.
Pass this value as page[after] to fetch the next page. null when there are no more records.
Example
{ "data": [ { "id": "op_f47ac10b-58cc-4372-a567-0e02b2c3d479", "type": "provision_sender", "status": "pending", "sender_id": "snd_a1b2c3d4-e5f6-7890-abcd-ef1234567890", "domain_id": "dom_d4e5f6a7-b8c9-0123-def4-567890123456", "steps": [ { "name": "detect_propagation", "status": "pending", "message": "Waiting for DNS propagation. Last check: 2026-03-24T10:15:00Z." } ], "created_at": "2026-03-24T10:00:00Z", "updated_at": "2026-03-24T10:15:00Z" } ], "pagination": { "next_cursor": "eyJpZCI6InVzcl96OXk4eDd3NiJ9" }}Authentication failed. The API key is missing or invalid.
object
object
A machine-readable error code.
A human-readable explanation of the error.
A link to the documentation page for this error code.
For validation errors, a list of individual field-level problems.
object
The field that caused the error, in dot notation.
A machine-readable code for this specific validation issue.
A human-readable explanation.
Examples
No API key provided
{ "error": { "code": "auth.missing_key", "message": "No API key was provided. Include your key in the Authorization header: Bearer sac_live_xxxxx.", "doc_url": "https://docs.sending.ac/errors/auth-missing-key" }}Invalid API key
{ "error": { "code": "auth.invalid_key", "message": "The API key provided is invalid or has been revoked.", "doc_url": "https://docs.sending.ac/errors/auth-invalid-key" }}The API key does not have the required scope for this operation.
object
object
A machine-readable error code.
A human-readable explanation of the error.
A link to the documentation page for this error code.
For validation errors, a list of individual field-level problems.
object
The field that caused the error, in dot notation.
A machine-readable code for this specific validation issue.
A human-readable explanation.
Example
{ "error": { "code": "auth.insufficient_scope", "message": "Your API key does not have the 'senders:write' scope required for this operation.", "doc_url": "https://docs.sending.ac/errors/auth-insufficient-scope" }}You have exceeded the rate limit. Wait and retry.
object
object
A machine-readable error code.
A human-readable explanation of the error.
A link to the documentation page for this error code.
For validation errors, a list of individual field-level problems.
object
The field that caused the error, in dot notation.
A machine-readable code for this specific validation issue.
A human-readable explanation.
Example
{ "error": { "code": "rate.quota_exceeded", "message": "Rate limit exceeded. You may make 120 requests per minute. Retry after 30 seconds.", "doc_url": "https://docs.sending.ac/errors/rate-quota-exceeded" }}Headers
Section titled “Headers”Example
30Number of seconds to wait before retrying.
Example
120The maximum number of requests allowed per minute.
Example
0The number of requests remaining in the current window.
Example
1711267260Unix timestamp when the rate limit window resets.