API reference
Notifications
In-app notifications.
GET/notifications
List notifications
Needs the permission notifications:read.
| Parameter | In | Type | Notes |
|---|---|---|---|
limit | query | integer | at least 1. up to 200. default 50 |
cursor | query | string | up to 512 characters |
unread | query | one of true, false |
curl -X GET https://crm.anibrosdesign.com/api/v1/notifications \
-H "Authorization: Bearer crm_live_xxxxxxxx"Responses:
200 400 401 403 429
POST/notifications/read
Read (notifications)
Needs the permission notifications:read.
curl -X POST https://crm.anibrosdesign.com/api/v1/notifications/read \
-H "Authorization: Bearer crm_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"ids":["01a15d23-0000-7000-8000-000000000000"]}'Responses:
200 400 401 402 403 429
GET/notifications/unread-count
Get unread count (notifications)
Needs the permission notifications:read.
curl -X GET https://crm.anibrosdesign.com/api/v1/notifications/unread-count \
-H "Authorization: Bearer crm_live_xxxxxxxx"Responses:
200 401 403 429
Something missing or unclear? Tell us.