Skip to main content

POST (/users/xuid()/outbox)

Sends a specified message to a list of recipients. The domain for these URIs is msg.xboxlive.com.

Remarks

The only content type this API supports is “application/json”, which is required in the HTTP headers of each call.

URI parameters

Authorization

You must have your own user claim and a valid gold subscription to send a user message.

Effect of privacy settings on resource

Successfully sending a user message to a player, whether that player is a friend or not, results in a result code of 200. However, if you send a message to someone who has blocked you, the recipient will not receive the message, and you will not receive any indication that your message wasn’t successful. There are also limits on how many messages can be sent per day and to how many friends and non-friends, as follows.
  • 20 strangers per message
  • 200 strangers per 24 hours
  • 250 total messages per 24 hours
  • 2500 total recipients per 24 hours
| Requesting User| Target User’s Privacy Setting| Behavior| | --- | --- | --- | --- | --- | --- | | me| -| As described.| | friend| everyone| 200 OK| | friend| friends only| 200 OK| | friend| blocked| 200 OK| | non-friend user| everyone| 200 OK| | non-friend user| friends only| 200 OK| | non-friend user| blocked| 200 OK| | third-party site| everyone| 200 OK| | third-party site| friends only| 200 OK| | third-party site| blocked| 200 OK|

Request body

User

Sample Request Body

HTTP status codes

The service returns one of the status codes in this section in response to a request made with this method on this resource. For a complete list of standard HTTP status codes used with XBOX Live Services, see Standard HTTP status codes. | Code| Description| | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | 200| Success.| | 400| List of recipients is empty or exceeds maximum length; or both gamertag and XUID were specified; or messageText is too long.| | 403| XUID cannot be converted.| | 404| Gamertag is invalid or user cannot be found.| | 409| User has reached daily limit imposed by the system.| | 500| General server-side error.|

Response body

No objects are sent in the body of the response.

See also

Parent
/users/xuid()/outbox
Reference Standard HTTP status codes
Last modified on August 20, 2026