curl -X POST "https://api.sitespeak.ai/v1/agency/clients/{client_id}/resume" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Idempotency-Key: resume-2026-08-05-client-1001"
const response = await fetch(
'https://api.sitespeak.ai/v1/agency/clients/{client_id}/resume',
{
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer YOUR_API_TOKEN',
'Idempotency-Key': 'resume-2026-08-05-client-1001'
}
}
);
const data = await response.json();
console.log(data);
Agency
Resume Client Workspace
Resumes a paused or suspended client workspace
POST
/
v1
/
agency
/
clients
/
{client_id}
/
resume
curl -X POST "https://api.sitespeak.ai/v1/agency/clients/{client_id}/resume" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Idempotency-Key: resume-2026-08-05-client-1001"
const response = await fetch(
'https://api.sitespeak.ai/v1/agency/clients/{client_id}/resume',
{
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer YOUR_API_TOKEN',
'Idempotency-Key': 'resume-2026-08-05-client-1001'
}
}
);
const data = await response.json();
console.log(data);
Available on agency plans. The API token must belong to the agency owner.
Returns the workspace to
active from either paused or suspended. The client’s AI agents start answering again within seconds, the widget loads again, and their message credits are recomputed for the current month right away.
Path Parameters
| Name | Type | Description |
|---|---|---|
| client_id* | String | The ID of the client workspace. |
Headers
| Name | Type | Description |
|---|---|---|
| Accept* | String | application/json |
| Authorization* | String | Bearer |
| Idempotency-Key* | String | A unique key for this request. Retrying with the same key returns the original response. |
curl -X POST "https://api.sitespeak.ai/v1/agency/clients/{client_id}/resume" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Idempotency-Key: resume-2026-08-05-client-1001"
const response = await fetch(
'https://api.sitespeak.ai/v1/agency/clients/{client_id}/resume',
{
method: 'POST',
headers: {
'Accept': 'application/json',
'Authorization': 'Bearer YOUR_API_TOKEN',
'Idempotency-Key': 'resume-2026-08-05-client-1001'
}
}
);
const data = await response.json();
console.log(data);
Response
Returns the client workspace withstatus: "active" and recomputed credits.
To resume with a fresh credit allowance instead of the drained balance, follow the resume call with
PATCH /clients/{client_id} and reset_credits: true.- 200 Success
- 403 Not an agency account
- 404 Not found
{
"client": {
"id": "dfcee2e1-3ace-41c6-9803-fb2b7c7cdfc7",
"name": "Acme Inc",
"external_reference": "billing-account-1001",
"status": "active",
"pause_mode": null,
"paused_at": null,
"byok_enabled": false,
"limits": {
"chatbots": 2,
"sources": 50,
"messages": 5000,
"response_tokens": null
},
"usage": {
"chatbots": 1,
"sources": 12,
"messages": 1240
},
"messages_remaining": 3760,
"topup_credits_remaining": 0,
"credits_exhausted_at": null,
"credits_reset_at": null,
"created_at": "2026-07-22T19:31:40+00:00"
}
}
Returns when the API token does not belong to an agency account owner.
Returns when no client workspace with this ID exists in your agency.
Last modified on August 25, 2026