Notifications
Send announcements to every customer's notification bell.
Each announcement reaches every customer account of the store. Delivery happens in the background, in batches; status turns from sending to sent when it finishes.
List sent announcements
GET
/api/v1/notificationsAbilitynotifications.readReturns the store's announcement history, newest first.
Query parameters
categorystring- alertas, atividades, sistema or novidades.
per_pageinteger- Items per page, from 1 to 100. Default 20. A value outside that range returns 422.
pageinteger- Page number, from 1 to 10000. Default 1. A value outside that range returns 422.
curl "https://sellitex.com/api/v1/notifications" \
-H "Authorization: Bearer sk_live_..." \
-H "Accept: application/json"Response200
{
"data": [
{
"id": 15,
"category": "novidades",
"title": "Novos kits chegaram",
"message": "Confira os kits de inverno na loja.",
"url": "https://minhaloja.sellitex.com/produtos",
"recipient_count": 1280,
"status": "sent",
"completed_at": "2026-08-19T14:33:10+00:00",
"created_at": "2026-08-19T14:32:00+00:00"
}
],
"links": {
"first": "…?page=1",
"last": "…?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"per_page": 20,
"to": 1,
"total": 1
}
}Retrieve an announcement
GET
/api/v1/notifications/{notification}Abilitynotifications.readA record that belongs to another store answers 404, exactly like one that doesn't exist.
Path parameters
notificationintegerrequired- The announcement id.
curl "https://sellitex.com/api/v1/notifications/15" \
-H "Authorization: Bearer sk_live_..." \
-H "Accept: application/json"Response200
{
"data": {
"id": 15,
"category": "novidades",
"title": "Novos kits chegaram",
"message": "Confira os kits de inverno na loja.",
"url": "https://minhaloja.sellitex.com/produtos",
"recipient_count": 1280,
"status": "sent",
"completed_at": "2026-08-19T14:33:10+00:00",
"created_at": "2026-08-19T14:32:00+00:00"
}
}Send an announcement
POST
/api/v1/notificationsAbilitynotifications.writeQueues the announcement for every customer account. At most 10 announcements per hour per store through the API.
Request body (JSON)
categorystringrequired- alertas, atividades, sistema or novidades.
titlestringrequired- Title, up to 120 characters.
messagestringrequired- Text, up to 2000 characters.
urlstring- Link opened on click — http:// or https:// addresses only.
Possible refusals
broadcast_limit429- The limit of 10 announcements per hour was reached. retry_after says how many seconds to wait.
queue_unavailable503- The delivery queue did not accept the announcement. Nothing was sent; try again.
curl -X POST "https://sellitex.com/api/v1/notifications" \
-H "Authorization: Bearer sk_live_..." \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"category":"novidades","title":"Novos kits chegaram","message":"Confira os kits de inverno na loja.","url":"https://minhaloja.sellitex.com/produtos"}'Response201
{
"data": {
"id": 15,
"category": "novidades",
"title": "Novos kits chegaram",
"message": "Confira os kits de inverno na loja.",
"url": "https://minhaloja.sellitex.com/produtos",
"recipient_count": 1280,
"status": "sending",
"completed_at": null,
"created_at": "2026-08-19T14:32:00+00:00"
}
}Remove from history
DELETE
/api/v1/notifications/{notification}Abilitynotifications.writeDeletes the announcement from the history. What customers already received stays in their bell.
Path parameters
notificationintegerrequired- The announcement id.
curl -X DELETE "https://sellitex.com/api/v1/notifications/15" \
-H "Authorization: Bearer sk_live_..." \
-H "Accept: application/json"Response204
(no body)The object
The fields this resource's endpoints return. Money is an integer in cents and dates are ISO 8601, in UTC.
idinteger- The announcement identifier.
categorystring- alertas, atividades, sistema or novidades.
titlestring- Title.
messagestring- Text.
urlstring|null- The announcement link, when there is one.
recipient_countinteger- How many accounts were to receive it when it was sent.
statusstring- sending while batches go out, sent when finished.
completed_atstring|null- When the last batch went out.
created_atstring- When the announcement was created.