curl --request GET \
--url https://api.open.cx/training/{id}{
"id": "<string>",
"organization_id": "<string>",
"question": "<string>",
"answer": "<string>",
"is_draft": true,
"accepted_by": 123,
"learned_from_session_id": "<string>",
"type": "BEHAVIORAL",
"restricted_to_segments": [
"<string>"
],
"restricted_to_channels": [
"web"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"directory_id": "<string>",
"draft_payload": "<unknown>"
}Retrieve a single custom training by its ID.
curl --request GET \
--url https://api.open.cx/training/{id}{
"id": "<string>",
"organization_id": "<string>",
"question": "<string>",
"answer": "<string>",
"is_draft": true,
"accepted_by": 123,
"learned_from_session_id": "<string>",
"type": "BEHAVIORAL",
"restricted_to_segments": [
"<string>"
],
"restricted_to_channels": [
"web"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"directory_id": "<string>",
"draft_payload": "<unknown>"
}The unique identifier of the custom training
Default Response
The ID of the custom training
The answer of the custom training
The draft status of the custom training
The type of custom training
BEHAVIORAL, SCENARIO_SPECIFIC (is array is empty, instruction works for all segments, if array contains segments, instruction is limited to those segments
(is array is empty, instruction works for all channels, if array contains channels, instruction is limited to those channels
web, email, phone_voice, slack, sms, whatsapp, instagram, messenger, api, web_voice The directory ID of the custom training
Was this page helpful?