WebhookV2A description of an HTTP webhook (from Figma back to your application). | id Number- The id of the webhook.
context StringThe type of context this webhook is attached to, as a string enum. context_id String- The ID of the context this webhook is attached to.
team_id String- The team id you are subscribed to for updates. If the webhook is subscribed to a file or project, this value is an empty string.
plan_api_id String- The plan API ID of the team or organization where this webhook was created.
client_id String- The client ID of the OAuth application that registered this webhook, if any.
passcode String- The passcode that will be passed back to the webhook endpoint. For security, when using the GET endpoints, the value is an empty string.
endpoint String- The endpoint that will be hit when the webhook is triggered.
description String- Optional user-provided description or name for the webhook. This is provided to help make maintaining a number of webhooks more convenient. Max length 140 characters.
|
WebhookV2RequestInformation regarding the most recent interactions sent to a webhook endpoint. | webhook_id Number- The ID of the webhook the requests were sent to.
response_info 0- Information regarding the response sent back from the webhook endpoint.
null if no response was received. error_msg String | null- Error message for this request.
null if no error occurred.
|
WebhookV2RequestInfoInformation regarding the request sent to the webhook endpoint. | endpoint String- The actual endpoint the request was sent to.
payload Payload- The contents of the request that was sent to the endpoint.
sent_at String- UTC ISO 8601 timestamp of when the request was sent.
|
WebhookV2ResponseInfoInformation regarding the reply sent back from a webhook endpoint. | status String- HTTP status code of the response.
received_at String- The UTC ISO 8601 time when the response was received.
|
WebhookV2EventAn enum representing the possible events that a webhook can subscribe to. | A webhook can subscribe to all events listed in the Events section except the PING event. |
WebhookV2StatusAn enum representing the possible statuses you can set a webhook to. | ACTIVE : The webhook is healthy and receives all events.PAUSED : The webhook is paused and will not receive any events.
|
LibraryItemDataAn object representing the library item information in the payload of the LIBRARY_PUBLISH event. | key String- Unique identifier of library item.
name String- Name of library item.
|
An object representing a fragment of a comment left by a user, used in the payload of the FILE_COMMENT event. Note only ONE of the fields below will be set. | text String- Comment text that is set if a fragment is text based.
mention String- User id that is set if a fragment refers to a user mention.
|