Text.lk – SMS Gateway Sri lanka Contacts API helps you manage contacts that are identified by a unique random ID. Using this ID, you can create, view, update, or delete contacts. This API works as a collection of customer-specific contacts that allows you to group them and assign custom values that you can later use when sending SMS template messages.
The Contacts API uses HTTP verbs and a RESTful endpoint structure with an access key that is used as the API Authorization. Request and response payloads are formatted as JSON using UTF-8 encoding and URL encoded values.
API Endpoint #
https://app.text.lk/api/v3/contacts
HTTPParameters #
Parameter | Required | Description |
Authorization | Yes | When calling our API, send your api token with the authentication type set as Bearer Example: Authorization: Bearer {api_token} |
Accept | Yes | application/json |