The Conversation endpoints allows you to retrieve about channels used with Conversation API.
Returns the information for an Instagram channel linked to a Conversation API App.
projectId required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
conversationAppId required | string The unique ID of the app. You can find this on the Sinch Dashboard. |
Instagram information.
BadRequest
Unauthorized
NotFound
InternalServerError
The information for the Instagram page connected to the Conversation API App.
{- "id": "1234567890",
- "username": "Sinch",
- "status": "ACTIVE",
- "followersCount": 1,
- "followsCount": 3,
- "mediaCount": 0
}
Returns the information for a Facebook Messenger channel linked to a Conversation API App.
projectId required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
conversationAppId required | string The unique ID of the app. You can find this on the Sinch Dashboard. |
Facebook Messenger information.
BadRequest
Unauthorized
NotFound
InternalServerError
{- "status": "ACTIVE",
- "statusDescription": "string",
- "id": "string",
- "name": "string",
- "globalBrandPageName": "string"
}
Returns the information for a Telegram Bot channel linked to a Conversation API App.
projectId required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
conversationAppId required | string The unique ID of the app. You can find this on the Sinch Dashboard. |
Telegram Bot information.
status required | string Channel integration status. |
statusDescription | string Channel integration description if status is ERROR or FAILED. |
name | string Name of the bot. |
username | string Username of the bot. |
canJoinGroups | boolean If the bot can be invited to groups. |
canReadAllGroupMessages | boolean If privacy mode is disabled for the bot. |
supportsInlineQueries | boolean If the bot supports inline queries. |
BadRequest
Unauthorized
NotFound
InternalServerError
The information for the Telegram sender connected to the Conversation API App.
{- "status": "ACTIVE",
- "name": "Sinch",
- "username": "sinch_bot",
- "canJoinGroups": true,
- "canReadAllGroupMessages": false,
- "supportsInlineQueries": false
}
Returns the information for a Viber Bot channel linked to a Conversation API App.
projectId required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
conversationAppId required | string The unique ID of the app. You can find this on the Sinch Dashboard. |
Viber Bot information.
Unauthorized
NotFound
InternalServerError
{- "status": "ACTIVE",
- "statusDescription": "string",
- "id": "string",
- "name": "string",
- "uri": "string",
- "icon": "string",
- "category": "string",
- "subcategory": "string",
- "location": {
- "lon": 0,
- "lat": 0
}, - "country": "string",
- "subscribersCount": 0
}