This API enables developers to change streams (channels) of an object (conversation).
Available routes:
Same-Channel Routing (Conversations remain within the same channel type):
Cross-Channel Routing (Conversations transfer to different channel types):
- For the General subchannel ID, enter “0” in the substreamId field.
API key is needed to authorize requests. You can get your API key via the management console.
A Bearer Token is needed to be set in the Authorization header of every API call.
For additional support you can contact us.
Conversation Id number
Enter the streamId of the target channel (where the conversation is routed to)
{
"data": {
"streamId": "12345"
}
}
{
"data": {
"streamId": "12345",
"subStreamId": "67890"
}
}
{
"data": {
"streamId": "12345",
"subStreamId": "0"
}
}
Enter the streamId of the target channel
Enter the substreamId (subchannel) of the target channel (optional).
For routing conversation to the main channel set the subStreamId to “0”
Operation successful or no change needed
{
"status": 200,
"description": "Operation successful",
"response_time": "2025-04-15T07:23:18.479Z",
"data": {
"streamId": 15524,
"subStreamId": 2341,
"updatedTime": "2025-04-15T07:23:18:479"
}
}
{
"status": 200,
"description": "Stream and sub-stream values unchanged",
"response_time": "2025-04-15T07:17:54.661Z",
"data": ""
}
The updated stream ID
The updated sub-stream ID
Timestamp of the update operation
Bad Request - The server could not process the request due to missing or invalid information.
{
"status": 400,
"description": "Invalid parameters",
"response_time": "2025-04-15T07:04:20.657Z",
"data": ""
}
{
"status": 400,
"description": "Invalid parameters - missing mandatory field - streamId",
"response_time": "2025-04-15T07:04:20.657Z",
"data": ""
}
{
"status": 400,
"description": "Object not found",
"response_time": "2025-04-15T07:00:52.168Z",
"data": ""
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "INVALID_STREAM",
"message": "The specified stream ID does not exist"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "INVALID_STREAM_TRANSFER",
"message": "Transfers to 'WHATSAPP' are blocked"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "INVALID_STREAM_TYPE_TRANSFER",
"message": {
"content": "Objects can only be transferred between allowed channel types. Allowed transfer",
"allowed_transfers": {
"SMS": [
"MAILBOX_CONNECTOR",
"CHAT"
],
"MAILBOX_CONNECTOR": [
"SMS",
"CHAT"
],
"CHAT": [
"SMS",
"MAILBOX_CONNECTOR"
]
}
}
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "INVALID_THEME_TRANSFER",
"message": "This theme channel can only be transferred to its original channel type"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "MISSING_EMAIL_ADDRESS",
"message": "Email address is required for EMAIL channel"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "MISSING_PHONE_NUMBER",
"message": "Phone number is required for SMS channel"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:29:29.722Z",
"data": {
"errors": [
{
"code": "INVALID_SUBSTREAM",
"message": "The specified subStreamId does not belong to the provided streamId"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": {
"errors": [
{
"code": "INACTIVE_SUBSTREAM",
"message": "The specified subStreamId is inactive and cannot be assigned"
}
]
}
}
{
"status": 400,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z",
"data": ""
}
Unauthorized - The supplied credentials, if any, are not sufficient to access the resource
Not Found - The requested resource is not found
Too Many Requests - Too many requests have been made in a short period of time (Throttling)
Internal Server Error - The server could not return the representation due to an internal server error
{
"status": 500,
"description": "Operation failed",
"response_time": "2025-04-15T07:24:52.956Z"
}