Share via


Enable Supervisor Mode

Supervisor Mode allows your application to access private content from the Yammer REST API. Private content includes:

  • Private messages
  • Private groups
  • Messages and files in private groups
  • User profiles

Note:
You must use a Verified Admin access token to enable Supervisor Mode and access private content.

Request

To enable Supervisor Mode, send a POST request to the following endpoint using your verified admin API credentials. The request body must include the following JSON:

POST https://www.yammer.com/api/v1/supervisor_mode/toggle
Content-Type: application/json

{
  "enabled": true
}

Successful Response

If the activation is successful, the endpoint returns:

{
  "status": "success",
  "supervisor_mode": true
}