Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Commit

Permalink
Add a paragraph explaining error responses for opted out recipients.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudi Giesler committed Jan 21, 2015
1 parent 3e32b65 commit 70d1838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/http_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ The response to the PUT request is the complete Vumi Go user message
and includes the generated Vumi ``message_id`` which should be stored
if you wish to be able to associate events with the message later.

If a message is sent to a recipient that has opted out, the response will be an
HTTP 400 error, with the body detailing that the recipient has opted out.
Messages sent as a reply will still go through to an opted out recipient.


Receiving User Messages
-----------------------
Expand Down

0 comments on commit 70d1838

Please sign in to comment.