Telma AI logo

Telma API documentation

Welcome to the Telma API documentation. Telma is a powerful telecommunications platform designed to help you automate and streamline your telephony campaigns. This API provides REST endpoints that enable programmatic interaction with the Telma platform, allowing you to create, manage, and track your campaigns more efficiently. To learn more about the available endpoints, please refer to our OpenAPI specification.

Getting Started

First step you need to do is to obtain login credential to Telma portal on the registration page of Telma. Once you are granted the login credentials, you can use those to obtain the API access token.

Authentication

This API uses OAuth2 with bearer token for authentication. To authenticate, send a POST request to /oauth2/token with your username and password as Basic Authentication header and receive an access token in response. This token is time limited so new token needs to be obtained with use of refresh token. To refresh an access token, send a POST request to /oauth2/refresh with a refresh token.

API Overview

The API uses Campaigns and Conversation Tasks as main concepts. The Campaigns correspond to the campaigns in the Telma portal. The Conversation Tasks are analogous to the Excel file uploaded to the portal. We are using JSON as the data exchange format for request and response payloads.

Campaigns

Campaigns are collections of related Conversation Tasks, allowing you to manage and track the progress of your telephony initiatives. You can customize the campaign in terms of number of retries if call was not connected and the delay between retries. The Telma API offers a variety of endpoints to help you work with campaigns:

Conversation Tasks

Conversation Tasks are the building blocks of your Campaigns, consisting of phone numbers and customizable message parameters. The Telma API provides several endpoints to manage Conversation Tasks within a specific campaign:

Recordings

The Recordings API enables you to retrieve audio recordings of specific phone calls made during your campaigns. Please note that our retention policy is limited, so it's highly recommended to download and store the recordings as soon as possible. The Telma API provides the following endpoints for managing call recordings:

Contact Information

For any questions, concerns, or issues related to the Telma API, our support team is here to help. You can reach out to us through the following channels

Please provide as much detail as possible when submitting a query or reporting an issue, including any relevant API request and response data, error codes, and steps to reproduce the problem. This will help our support team provide you with a faster and more accurate resolution. We appreciate your feedback and are committed to continuously improving the Telma API and supporting your needs.