Organization

This event occurs when there is activity relating to an organization and its members. For more information, see "About organizations." For information about the APIs to manage organizations, see the GraphQL documentation or "Organizations" in the REST API documentation.

Actions

ActionSent when
deletedAn organization was deleted.
member-addedA member accepted an invitation to join an organization.
member-invitedA member was invited to join the organization.
member-removedA member was removed from the organization.
renamedThe name of an organization was changed.

Payload

Fields of the delivery for the first action above. Every action shares the event's core fields.

FieldTypeRequiredDescription
actionstringYes
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
installationobjectNoThe GitHub App installation. Webhook payloads contain the installation property when the event is configured
membershipobjectNoThe membership between the user and the organization. Not present when the action is member_invited.
organizationobjectYesA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
repositoryobjectNoThe repository on GitHub where the event occurred. Webhook payloads contain the repository property
senderobjectYesA GitHub user.
Subscribing

To subscribe to this event, a GitHub App must have at least read-level access for the "Members" organization permission.