Send a communication
curl --request POST \
--url https://app.reinvented.education/api/v1/communications/send/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"template_slug": "recordatorio-curso",
"channel": "whatsapp",
"variables": {
"1": "Ana",
"2": "https://example.com/curso"
},
"recipients": [
"+573001112233",
"573004445566",
"not-a-phone"
],
"media": {
"url_pk": 2207,
"media": "image"
}
}
'import requests
url = "https://app.reinvented.education/api/v1/communications/send/"
payload = {
"template_slug": "recordatorio-curso",
"channel": "whatsapp",
"variables": {
"1": "Ana",
"2": "https://example.com/curso"
},
"recipients": ["+573001112233", "573004445566", "not-a-phone"],
"media": {
"url_pk": 2207,
"media": "image"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
template_slug: 'recordatorio-curso',
channel: 'whatsapp',
variables: {'1': 'Ana', '2': 'https://example.com/curso'},
recipients: ['+573001112233', '573004445566', 'not-a-phone'],
media: {url_pk: 2207, media: 'image'}
})
};
fetch('https://app.reinvented.education/api/v1/communications/send/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 8812,
"status": "PARTIAL",
"queued": 2,
"invalid_recipients": [
"not-a-phone"
]
}Communications
Send a communication
Sends an approved template to up to 500 phone numbers (WhatsApp) or email addresses,
through the company’s WhatsApp line. Up to 100 valid recipients are queued during the
request; above that the send is processed in the background and status is PENDING.
Send an Idempotency-Key header to make retries safe: a repeated key returns the
original result without sending again.
POST
/
v1
/
communications
/
send
/
Send a communication
curl --request POST \
--url https://app.reinvented.education/api/v1/communications/send/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"template_slug": "recordatorio-curso",
"channel": "whatsapp",
"variables": {
"1": "Ana",
"2": "https://example.com/curso"
},
"recipients": [
"+573001112233",
"573004445566",
"not-a-phone"
],
"media": {
"url_pk": 2207,
"media": "image"
}
}
'import requests
url = "https://app.reinvented.education/api/v1/communications/send/"
payload = {
"template_slug": "recordatorio-curso",
"channel": "whatsapp",
"variables": {
"1": "Ana",
"2": "https://example.com/curso"
},
"recipients": ["+573001112233", "573004445566", "not-a-phone"],
"media": {
"url_pk": 2207,
"media": "image"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
template_slug: 'recordatorio-curso',
channel: 'whatsapp',
variables: {'1': 'Ana', '2': 'https://example.com/curso'},
recipients: ['+573001112233', '573004445566', 'not-a-phone'],
media: {url_pk: 2207, media: 'image'}
})
};
fetch('https://app.reinvented.education/api/v1/communications/send/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 8812,
"status": "PARTIAL",
"queued": 2,
"invalid_recipients": [
"not-a-phone"
]
}Authorizations
Headers
Body
application/json
Response
Accepted. Invalid recipients are skipped and listed.

