Sample opt outs
Sample data for testing a trigger. Returns up to three of the workspace’s most recent opt outs, formatted exactly as the OptOutCreated and OptOutDeleted webhooks deliver them, so a subscriber can see the real payload before any event fires. If the workspace has no opt outs yet, three generated placeholder records in the same shape are returned instead. This is not a history endpoint.
Authorizations
An OAuth 2.0 access token, sent as Authorization: Bearer <token>. MessageDesk is the OAuth 2.0 provider (backed by AWS Cognito): an integration such as Zapier obtains the token through the authorization-code flow when a user connects their MessageDesk account. Access tokens are valid for 24 hours and are refreshed with the refresh token.
Query Parameters
Workspace ID
Integration provider making the request
zapier 
