Personal Access Token Request

This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "Creating a personal access token."

Actions

ActionSent when
approvedA fine-grained personal access token request was approved.
cancelledA fine-grained personal access token request was cancelled by the requester.
createdA fine-grained personal access token request was created.
deniedA fine-grained personal access token request was denied.

Payload

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

FieldTypeRequiredDescription
actionstringYes
personal_access_token_requestobjectYesDetails of a Personal Access Token Request.
enterpriseobjectNoAn enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured
organizationobjectYesA GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an
senderobjectYesA GitHub user.
installationobjectYesThe GitHub App installation. Webhook payloads contain the installation property when the event is configured
Subscribing

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