Loading...

POST   https://api.3seventy.com/api/v2.1/account/{accountId}/action-pushvoicecall

Description

Creates the push voice call action.

Path Parameters

accountId integer The account which holds the action. required

Request Properties application/json

Message string message to be sent as a voice message optional
Url string Audio URL to play (mp3 or wav formats only) optional
ContactListId integer Contact list Id optional
LongCode string Long code that will be used to send a voice message optional
Targets array[string] List of phone numbers to send a voice message optional
{
  "Url": "Audio URL to play (mp3 or wav formats only)",
  "Message": "message to be sent as a voice message",
  "ContactListId": 1112,
  "LongCode": "+1XXXXXXXXXX",
  "Targets": [
    "+1XXXXXXXXXX",
    "+1XXXXXXXXXX"
  ]
}

Response Properties application/json

Message string Message to be sent as a voice message
Url string Audio URL to play (mp3 or wav formats only)
LongCode string Long code that will be used to send a voice message
ContactListId integer Contact list Id
Targets array[string] List of phone numbers to send a voice message
{
  "Id" : 123444,
  "Url": "Audio URL to play (mp3 or wav formats only)",
  "Message": "message to be sent as a voice message",
  "ContactListId": 1112,
  "LongCode": "+1XXXXXXXXXX",
  "Targets": [
    "+1XXXXXXXXXX",
    "+1XXXXXXXXXX"
  ]
}

C#


Stay tuned for c-sharp code snippet