Opération
POST /partner_api/messages
Authentification
ApiKey``ApiKeyId
X-API-KEY
Emplacement : header
X-API-KEY-ID
Emplacement : header
Corps de la requête
application/json
Définitions TypeScript
Utilisez le type du corps de requête dans TypeScript.
channel*"sms"
Value in
- "sms"
to*string
body*string
reference*string
Réponses
200 application/json
401 application/json
403 application/json
422 application/json
500 application/json
cURL
JavaScript
Go
Python
Java
C#
Rust
curl -X POST "https://api.kelyko.invalid/partner_api/messages" \
-H "X-API-KEY: " \
-H "X-API-KEY-ID: " \
-H "Content-Type: application/json" \
-d '{
"channel": "sms",
"to": "string",
"body": "string",
"reference": "string"
}'
200401403422500
{
"id": "string",
"businessId": "string",
"channel": "sms",
"to": "string",
"body": "string",
"reference": "string",
"status": "pending",
"failedReason": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
List Kelyko Texto messages (Partner API)GET\ \ Previous Page Get Kelyko Texto message balances (Partner API)GET\ \ Next Page
Demander à l'IA ⌘I