Consistent patterns used across all RCS Studio API endpoints.
Base URL
https://api.rcsstudio.ai
All endpoint paths are relative to this base URL.
Authentication
Every request requires an authentication header:
Authorization: Bearer <access_token>See Authentication for how to obtain a token.
# Only updates defaultState — all other agent config fields are untouched
curl -X PATCH https://api.rcsstudio.ai/agents/ag_abc123 \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"config": {"defaultState": "welcome"}}'Phone numbers — E.164 format
All phone number fields use E.164 format: a + followed by the country code and number, no spaces or dashes.
| Valid | Invalid |
|---|---|
+15551234567 | 5551234567 |
+442071234567 | (555) 123-4567 |
Dates and timestamps — ISO 8601
All date and datetime fields use ISO 8601 format.
| Type | Format | Example |
|---|---|---|
| Date | YYYY-MM-DD | 2026-04-28 |
| Datetime | YYYY-MM-DDTHH:mm:ssZ | `2026-04-28T14:30:00Z |
See also
- Authentication — How to obtain and refresh access tokens