GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
API Reference

authorization.revoked

📘

NOTE

To get access and subscribe to our webhooks, email [email protected].

🚧

Restricted to OAuth Client authentication

This webhook is only available to OAuth Clients.

This webhook will be triggered when a company grant is revoked.

Below is an example authorization.revoked payload.

{
  "company_id": 1234,
  "client_id": "012abc98a11c4d8d36e86e652109d7032dc79",
  "guid": "1a2b34567-b89c-4675-8f72-ffe230942ba9",
  "revoked_at": "2022-10-01T00:00:00+00:00",
  "revoker_type": "COMPANY"
}