Mark message processing as failed
Marks a message processing as failed by a participant. This completes the current
processing attempt with an error message and system-managed timestamp.
This endpoint automatically:
- Sets the current attempt's completed_at timestamp (system-managed)
- Sets the current attempt status to "failed"
- Records the error message in the current attempt
- Updates the participant's delivery status to "failed"
Note: This endpoint requires an active processing attempt. If no processing attempt exists,
it will return a 422 error.
Authentication
X-API-Keystring
Enter your API key for programmatic access
OR
AuthorizationBearer
Enter your JWT token (without the ‘Bearer ’ prefix)
Path parameters
chat_id
Chat Room ID
id
Message ID
Request
Error message
error
Error message describing why processing failed
Response
Message marked as failed
data
A chat message