/api/v1/connections
const url = 'https://api.endless.zaia.app/api/v1/connections?pageNumber=1&pageSize=10';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.endless.zaia.app/api/v1/connections?pageNumber=1&pageSize=10'Retrieves multiple connections.
Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”The page number.
The page number.
The page size.
The page size.
Search term to filter connections by name or description.
Search term to filter connections by name or description.
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
- string
The type of the detail of the connection.
Responses
Seção intitulada “Responses”Retrieves all connections for the workspace.
object
A UUID v4 string that identifies an entity.
The internal description of the connection.
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
A UUID v4 string that identifies an entity.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
The provider account ID associated with the Instagram connection detail.
The provider authorization code associated with the Instagram connection detail.
The provider ID associated with the Instagram connection detail.
The display name returned by the provider for the Instagram connection detail.
The reason associated with the current Instagram connection status, when one exists.
The lifecycle status of the Instagram connection detail.
The access token associated with the Instagram connection detail.
The connection detail subtype represented by this payload.
object
The Telegram bot ID associated with the connection detail.
The provider ID associated with the Telegram connection detail.
The reason associated with the current Telegram connection status, when one exists.
The lifecycle status of the Telegram connection detail.
The bot token associated with the Telegram connection detail.
The connection detail subtype represented by this payload.
The display username returned by Telegram for the bot.
The secret token used to validate Telegram webhook requests.
object
object
The provider authorization code associated with the WhatsApp connection detail.
The provider ID associated with the WhatsApp connection detail.
The display name returned by the provider for the WhatsApp connection detail.
The phone number associated with the WhatsApp connection detail.
The provider phone number ID associated with the WhatsApp connection detail.
The reason associated with the current WhatsApp connection status, when one exists.
The lifecycle status of the WhatsApp connection detail.
The access token associated with the WhatsApp connection detail.
The connection detail subtype represented by this payload.
The WABA ID associated with the WhatsApp connection detail.
The display name of the connection.
The optional reference ID associated with the connection.
The workspace ID that owns the connection.
object
A UUID v4 string that identifies an entity.
The delay between the last user message and the beginning of the response generation.
The internal description of the channel.
object
The initial message to be displayed when the API is used.
The webhook URL that receives responses produced through the API channel.
The channel subtype represented by this detail payload.
object
Whether registering tools from the widget’s parent page is allowed.
The initial message to be displayed when the widget is opened.
The level of detail to be included in the loading message when the widget is opened.
Whether the widget should be opened automatically when the page is loaded.
The widget theme palette configuration for the channel.
object
object
object
The channel subtype represented by this detail payload.
object
The backing connection ID used by this channel, when one exists.
The reaction-based takeover policy configured for the channel.
object
The emojis that will handover the chat back to the agent.
Whether the reaction takeover is enabled.
Weather longer messages should be split when delivering them to the connected Waha (WhatsApp) account.
The channel subtype represented by this detail payload.
object
The backing connection ID used by this channel, when one exists.
The reaction-based takeover policy configured for the channel.
object
The emojis that will handover the chat back to the agent.
Whether the reaction takeover is enabled.
Weather longer messages should be split when delivering them to the connected WhatsApp account.
The channel subtype represented by this detail payload.
object
The backing connection ID used by this channel, when one exists.
The reaction-based takeover policy configured for the channel.
object
The emojis that will handover the chat back to the agent.
Whether the reaction takeover is enabled.
Weather longer messages should be split when delivering them to the connected Instagram account.
The channel subtype represented by this detail payload.
object
The backing connection ID used by this channel, when one exists.
Whether longer messages should be split when delivering them to the connected Telegram account.
The channel subtype represented by this detail payload.
The display name of the channel.
A prompt to be passed down to the agent in the context of this channel.
The super identity of the responder (agents or squads) of the channel
Whether to display sender names in chat messages.
The lifecycle status of the channel.
The voice behavior mode configured for the channel.
The workspace ID that owns the channel.
object
A UUID v4 string that identifies an entity.
The internal description of the connection.
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
- object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
A UUID v4 string that identifies an entity.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
The provider account ID associated with the Instagram connection detail.
The provider authorization code associated with the Instagram connection detail.
The provider ID associated with the Instagram connection detail.
The display name returned by the provider for the Instagram connection detail.
The reason associated with the current Instagram connection status, when one exists.
The lifecycle status of the Instagram connection detail.
The access token associated with the Instagram connection detail.
The connection detail subtype represented by this payload.
object
The Telegram bot ID associated with the connection detail.
The provider ID associated with the Telegram connection detail.
The reason associated with the current Telegram connection status, when one exists.
The lifecycle status of the Telegram connection detail.
The bot token associated with the Telegram connection detail.
The connection detail subtype represented by this payload.
The display username returned by Telegram for the bot.
The secret token used to validate Telegram webhook requests.
object
object
The provider authorization code associated with the WhatsApp connection detail.
The provider ID associated with the WhatsApp connection detail.
The display name returned by the provider for the WhatsApp connection detail.
The phone number associated with the WhatsApp connection detail.
The provider phone number ID associated with the WhatsApp connection detail.
The reason associated with the current WhatsApp connection status, when one exists.
The lifecycle status of the WhatsApp connection detail.
The access token associated with the WhatsApp connection detail.
The connection detail subtype represented by this payload.
The WABA ID associated with the WhatsApp connection detail.
The display name of the connection.
The optional reference ID associated with the connection.
The workspace ID that owns the connection.
Example
[ { "detail": { "status": "pending", "type": "composio-airtable" }, "channel": { "detail": { "type": "api" }, "status": "active", "useVoice": "on-audio/without-transcription" } }]Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}