curl --request POST \
--url https://rest-api.smsmngr.com/v1/connect/{connector}/{action} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"app_userid": "user-123"
}
'
{
"success": true,
"segments": [
{
"id": "SEG123",
"name": "VIP customers"
}
]
}
Partneři a integrace
Akce konektoru
Provede akci připojené integrace. Aktuálně je podporován konektor klaviyo s akcemi segments, recipients, senders a me.
segments— vypíše segmenty účtu:{ "success": true, "segments": [{ "id", "name" }] }recipients— vypíše telefonní čísla v segmentu (vyžaduje polesegment_idv těle požadavku):{ "success": true, "recipients": ["420777123456"] }senders— vypíše dostupné odesílatele:{ "success": true, "senders": [{ "type": "sms", "name": "info-sms" }] }me— vrací informace o připojeném účtu:{ "success": true, "account": { ... }, "currency": "eur" }
POST
/
connect
/
{connector}
/
{action}
curl --request POST \
--url https://rest-api.smsmngr.com/v1/connect/{connector}/{action} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"app_userid": "user-123"
}
'
{
"success": true,
"segments": [
{
"id": "SEG123",
"name": "VIP customers"
}
]
}
Authorizations
Path Parameters
Název konektoru.
Available options:
klaviyo Akce konektoru.
Available options:
segments, recipients, senders, me Body
application/json
Response
Výsledek akce (tvar závisí na akci)
Was this page helpful?