BookMySpot
API

Batch API: how are per-message failures reported?

O Started by olu.builds · 5h ago · 1 replies · 231 views
#batch#api
O
olu.buildsRegular · 5h ago

When I send a batch, one bad recipient seems to fail silently. How do I tell which items in the batch failed vs succeeded?

1 replies

✓ Marked as solution
H
Hasan Staff Staff · 3h ago

The batch endpoint returns a result row per item in the same order you sent them. Each row has either a message id (accepted) or an error code and detail (rejected). The HTTP status is 200 even with partial failures — you branch on the per-row result, not the status code.

Your reply

Be kind. Search before posting.