Agency
Update Client Workspace
Updates a client workspace: name, limits, external reference, or a mid-cycle credit reset
PATCH
Available on agency plans. The API token must belong to the agency owner.
Only the fields you send are changed. Two common flows:
- Raise credits mid-cycle: send a higher
message_limit. The client keeps their usage and gains the difference. - Plan change with a credit reset: send the new
message_limittogether withreset_credits: true. The client’s usage counter restarts immediately, so their remaining credits become the full new limit, up to your agency plan’s remaining monthly credits. Nothing carries over.
Path Parameters
Headers
Body Parameters
Response
Returns the updated client workspace. After a credit reset,credits_reset_at holds the reset time and usage.messages starts again from 0.
- 200 Success
- 403 Not an agency account
- 404 Not found
- 422 Validation error
Last modified on July 22, 2026