Notify multiple intents in bulk

Notify multiple intents in bulk

post
Authorizations
X-Auth-TokenstringRequired
Body
intent_idsstring[]Optional

Array of intent IDs

allow_resendbooleanOptional

Allow resending notifications

Responses
200

All notifications sent successfully

application/json
post
/intents/bulk_notify_intent
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