Note: The YouTube Data API (v2) has been officially deprecated as of March 4, 2014. Please refer to our deprecation policy for more information. Please use the YouTube Data API (v3) for new integrations and migrate applications still using the v2 API to the v3 API as well.
The v2 API's functionality for retrieving, sending, and deleting messages has been retired as of January 2015. Previously, this document had indicated that some API functionality related to messages and video sharing would begin returning errors as early as March 31, 2014, when requests to send or delete messages would return 403 (Forbidden) HTTP responses. This document also indicated that the API would continue to support requests to retrieve messages from a user's inbox for around six months after that date.
API requests for messaging operations now return the following:
- A request to retrieve a user's inbox messages returns an empty list.
- A request to send a message returns a 403 HTTP response code.
- A request to delete a message returns a 403 HTTP response code.