openapi: 3.0.1 info: title: Trengo Channels API description: REST API for the Trengo omnichannel customer-engagement platform. Manage tickets (conversations), contacts and profiles, messages, channels, teams and users, labels and custom fields, webhooks, and outbound WhatsApp templates across email, WhatsApp, live chat, voice, SMS, and social channels. All requests authenticate with a personal access token sent as an HTTP Bearer token. termsOfService: https://trengo.com/terms-conditions contact: name: Trengo Support url: https://developers.trengo.com/docs/welcome version: '2.0' servers: - url: https://app.trengo.com/api/v2 description: Trengo REST API v2 security: - bearerAuth: [] tags: - name: Channels description: List connected channels. paths: /channels/voice: get: operationId: listVoiceChannels tags: - Channels summary: List all voice channels responses: '200': description: A list of voice channels. content: application/json: schema: type: object properties: data: type: array items: $ref: '#/components/schemas/Channel' '429': $ref: '#/components/responses/TooManyRequests' components: schemas: Channel: type: object properties: id: type: integer format: int32 name: type: string type: type: string description: Channel type, e.g. EMAIL, WA_BUSINESS, CHAT, VOIP, SMS. responses: TooManyRequests: description: Rate limit exceeded (120 requests per minute per token). Honor the Retry-After and X-RateLimit-Reset response headers. headers: Retry-After: schema: type: integer description: Seconds to wait before retrying. X-RateLimit-Reset: schema: type: integer description: Unix timestamp when the limit resets. securitySchemes: bearerAuth: type: http scheme: bearer description: 'Personal access token generated in the Trengo account, sent as `Authorization: Bearer {TOKEN}`.'