GET/v1/intents
List intents
Lists every intent in the organization, ordered by value.
GET https://api.simplyrcs.com/v1/intents · requires an API key
Responses
| Status | Returns | Description |
|---|
200 | IntentListResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X GET https://api.simplyrcs.com/v1/intents \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
POST/v1/intents
Create an intent
Creates a reusable postback intent. Returns 409 if the normalized value already exists for the organization.
POST https://api.simplyrcs.com/v1/intents · requires an API key
Request body
IntentCreateRequest · optional
| Field | Type | Required | Description |
|---|
value | string | Yes | Postback value. Normalized to trimmed, single-spaced lowercase. |
label | string | No | |
description | string | No | |
category | string | No | Deprecated free-text category; prefer categoryId. |
categoryId | string | No | Managed dictionary-folder id (must belong to your org). Null or empty string clears it. |
isActive | boolean | No | Defaults to true. |
Responses
| Status | Returns | Description |
|---|
201 | IntentResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/intents \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"value": "example",
"category": "example",
"categoryId": "catego_01h9",
"isActive": false
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
PATCH/v1/intents/{id}
Update an intent
Updates label, description, folder, or active state. The intent value (the postback token) is immutable after creation; attempting to change it returns 400 TOKEN_IMMUTABLE. Use the rewrite endpoint to rename a value across flows.
PATCH https://api.simplyrcs.com/v1/intents/{id} · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Request body
IntentUpdateRequest · optional
| Field | Type | Required | Description |
|---|
label | string | No | |
description | string | No | |
category | string | No | |
categoryId | string | No | |
isActive | boolean | No | |
Responses
| Status | Returns | Description |
|---|
200 | object | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X PATCH https://api.simplyrcs.com/v1/intents/{id} \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"label": "example",
"description": "Example description",
"category": "example",
"categoryId": "catego_01h9"
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
DELETE/v1/intents/{id}
Delete an intent
DELETE https://api.simplyrcs.com/v1/intents/{id} · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | SuccessResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X DELETE https://api.simplyrcs.com/v1/intents/{id} \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
GET/v1/intents/{id}/usage
Get intent usage
Where-used report: which bots and how many nodes reference this intent value across draft and published flows.
GET https://api.simplyrcs.com/v1/intents/{id}/usage · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | IntentUsageResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X GET https://api.simplyrcs.com/v1/intents/{id}/usage \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
POST/v1/intents/{id}/rewrite
Rename an intent and rewrite flows
Renames the intent value and rewrites every flow reference atomically. Returns 409 if another intent already uses the new value.
POST https://api.simplyrcs.com/v1/intents/{id}/rewrite · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Request body
IntentRewriteRequest · optional
| Field | Type | Required | Description |
|---|
newValue | string | Yes | |
Responses
| Status | Returns | Description |
|---|
200 | DictionaryRewriteResult | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/intents/{id}/rewrite \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"newValue": "example"
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
GET/v1/variable-definitions
List variable definitions
Lists every variable definition in the organization, ordered by name.
GET https://api.simplyrcs.com/v1/variable-definitions · requires an API key
Responses
| Status | Returns | Description |
|---|
200 | VariableDefinitionListResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X GET https://api.simplyrcs.com/v1/variable-definitions \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
POST/v1/variable-definitions
Create a variable definition
Creates a reusable data-capture variable. Returns 409 if the normalized name already exists for the organization.
POST https://api.simplyrcs.com/v1/variable-definitions · requires an API key
Request body
VariableDefinitionCreateRequest · optional
| Field | Type | Required | Description |
|---|
name | string | Yes | Capture token. Normalized to snake_case lowercase. |
label | string | No | |
type | "text" | "number" | "date" | "boolean" | "list" | No | Defaults to text. |
description | string | No | |
validationType | string | No | |
validationPattern | string | No | |
items | array | No | Option set; only allowed when type is 'list'. |
category | string | No | Deprecated free-text category; prefer categoryId. |
categoryId | string | No | Managed dictionary-folder id (must belong to your org). |
isActive | boolean | No | Defaults to true. |
Responses
| Status | Returns | Description |
|---|
201 | VariableDefinitionResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/variable-definitions \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example name",
"type": "text",
"validationType": "email",
"items": [
{
"label": "example",
"id": "id_01h9"
}
],
"category": "example"
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
PATCH/v1/variable-definitions/{id}
Update a variable definition
Updates editable fields. The variable name (the capture token) is immutable after creation; attempting to change it returns 400 TOKEN_IMMUTABLE. Switching type away from list clears items.
PATCH https://api.simplyrcs.com/v1/variable-definitions/{id} · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Request body
VariableDefinitionUpdateRequest · optional
| Field | Type | Required | Description |
|---|
label | string | No | |
type | "text" | "number" | "date" | "boolean" | "list" | No | |
description | string | No | |
validationType | string | No | |
validationPattern | string | No | |
items | array | No | |
category | string | No | |
categoryId | string | No | |
isActive | boolean | No | |
Responses
| Status | Returns | Description |
|---|
200 | object | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X PATCH https://api.simplyrcs.com/v1/variable-definitions/{id} \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"type": "text",
"validationType": "email"
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
DELETE/v1/variable-definitions/{id}
Delete a variable definition
DELETE https://api.simplyrcs.com/v1/variable-definitions/{id} · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | SuccessResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X DELETE https://api.simplyrcs.com/v1/variable-definitions/{id} \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
GET/v1/variable-definitions/{id}/usage
Get variable usage
Where-used report: which bots and how many nodes capture into this variable across draft and published flows.
GET https://api.simplyrcs.com/v1/variable-definitions/{id}/usage · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | VariableUsageResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X GET https://api.simplyrcs.com/v1/variable-definitions/{id}/usage \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
POST/v1/variable-definitions/{id}/rewrite
Rename a variable and rewrite flows
Renames the variable and rewrites every data-capture node referencing it, atomically. Returns 409 if another variable already uses the new name.
POST https://api.simplyrcs.com/v1/variable-definitions/{id}/rewrite · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Request body
VariableRewriteRequest · optional
| Field | Type | Required | Description |
|---|
newName | string | Yes | |
Responses
| Status | Returns | Description |
|---|
200 | DictionaryRewriteResult | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/variable-definitions/{id}/rewrite \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"newName": "Example new"
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
GET/v1/dictionary-categories
List dictionary folders
Lists the org-wide folder taxonomy shared by the Intents and Variables dictionaries, ordered by sortOrder then name.
GET https://api.simplyrcs.com/v1/dictionary-categories · requires an API key
Responses
| Status | Returns | Description |
|---|
200 | DictionaryCategoryListResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X GET https://api.simplyrcs.com/v1/dictionary-categories \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
POST/v1/dictionary-categories
Create a dictionary folder
Creates a folder. New folders sort to the end unless sortOrder is supplied. Returns 409 on a duplicate name.
POST https://api.simplyrcs.com/v1/dictionary-categories · requires an API key
Request body
DictionaryCategoryCreateRequest · optional
| Field | Type | Required | Description |
|---|
name | string | Yes | |
sortOrder | integer | No | |
Responses
| Status | Returns | Description |
|---|
201 | DictionaryCategoryResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/dictionary-categories \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example name"
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
PATCH/v1/dictionary-categories/{id}
Update a dictionary folder
PATCH https://api.simplyrcs.com/v1/dictionary-categories/{id} · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Request body
DictionaryCategoryUpdateRequest · optional
| Field | Type | Required | Description |
|---|
name | string | No | |
sortOrder | integer | No | |
Responses
| Status | Returns | Description |
|---|
200 | object | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X PATCH https://api.simplyrcs.com/v1/dictionary-categories/{id} \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example name",
"sortOrder": 1
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.
DELETE/v1/dictionary-categories/{id}
Delete a dictionary folder
Deletes the folder and un-files its intents and variables (sets their categoryId to null). Never deletes the dictionary entries themselves.
DELETE https://api.simplyrcs.com/v1/dictionary-categories/{id} · requires an API key
Path parameters
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | SuccessResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X DELETE https://api.simplyrcs.com/v1/dictionary-categories/{id} \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"
POST/v1/dictionary-categories/reorder
Reorder dictionary folders
Persists a new ordering in one transaction: sortOrder is rewritten to the array index. Ids not belonging to the organization are ignored. Returns the full reordered list.
POST https://api.simplyrcs.com/v1/dictionary-categories/reorder · requires an API key
Request body
DictionaryCategoryReorderRequest · optional
| Field | Type | Required | Description |
|---|
ids | string[] | Yes | |
Responses
| Status | Returns | Description |
|---|
200 | DictionaryCategoryListResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/dictionary-categories/reorder \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"ids": [
"id_01h9"
]
}'
Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.