Notify multiple intents in bulk
Authorizations
Body
intent_idsstring[]Optional
Array of intent IDs
allow_resendbooleanOptional
Allow resending notifications
Responses
200
All notifications sent successfully
application/json
207
Partial success (some notifications failed)
application/json
400
Bad request
401
Unauthorized
post
POST /api/v1/external/intents/bulk_notify_intent HTTP/1.1
Host: app.stoqapp.com
X-Auth-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43
{
"intent_ids": [
"text"
],
"allow_resend": true
}
{
"success": [
"text"
],
"failed": [
{
"intent_id": "text",
"error": "text"
}
]
}
Last updated