Zum Hauptinhalt springen
POST
/
api
/
developers
/
v1
/
communication
/
sms
Send SMS
curl --request POST \
  --url https://app.fluently.at/api/developers/v1/communication/sms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "<string>",
  "sender": "<string>",
  "recipient": "<string>",
  "content": "<string>"
}
'
{
  "cost": 123,
  "recipient": "+43 123 456789"
}

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Parameters for sending an SMS.

agentId
string
erforderlich

The agent's ID

sender
string
erforderlich

The sender's name

recipient
string
erforderlich

The recipient

content
string
erforderlich

The content of the SMS

Antwort

SMS sent successfully, returning details of the sent SMS.

cost
number
erforderlich

The cost metric for the sent sms.

recipient
string
erforderlich

The recipient for the sms

Beispiel:

"+43 123 456789"