AI Sync

Voice Templates

List Voice Templates

GEThttps://app.aisync.link/api/template/voice
List Voice Templates
curl --request GET \
  --url https://app.aisync.link/api/template/voice \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "records": [
      {
        "id": "MQ==",
        "type": "text_to_speech",
        "audio": null,
        "title": "Voicemail",
        "status": "active",
        "texttospeech": "Please call us back."
      }
    ],
    "pagination": {
      "to": 1,
      "from": 1,
      "total": 1,
      "per_page": 15,
      "last_page": 1,
      "current_page": 1
    }
  },
  "success": true
}

List Voice Templates#

Returns voice templates for the company. A sub-user only sees templates they created.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

per_pageintegerquery

Page size. Defaults to 15. Maximum 30.

curl --request GET \
  --url https://app.aisync.link/api/template/voice \
  --header 'Authorization: Bearer {{bearer_token}}'
data.recordsobject[]

Each row has Base64 id, title, audio, texttospeech, status, and type

data.pagination.totalinteger

Total matching rows

data.pagination.current_pageinteger

Current page

data.pagination.per_pageinteger

Page size

data.pagination.last_pageinteger

Last page number