OpenAPI 3.1.02026-08-143874115.7 MB
a84d4905fdbb
Notifications
Send Notification
Queues a notification to every user of an experience or to an account's team, processed asynchronously. Every send is attributed to an app: use an app API key, or a credential acting on behalf of an app. Narrow the audience with user_ids to send a mention.
post/notifications
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"content": "Drop off at 4180 Burnet Rd. Plan on two days for the full coating.",
"experience_id": "exp_xxxxxxxxxxxxxx",
"icon_user_id": "user_xxxxxxxxxxxxxx",
"rest_path": "/bookings/upcoming",
"subtitle": "Tuesday 9:00 AM, Bay 2",
"title": "Your ceramic coating is booked",
"user_ids": [
"user_xxxxxxxxxxxxxx"
]
}Response
notification queued
Example response
{
"success": true
}