younifyd
Menu

List Webhook Messages

List webhook messages

GET/hooks/projects/{projectId}/{id}/messages

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the List Webhook Messages action (under Webhooks).
  3. Fill in the fields below, then reference the result from later steps as {{listWebhookMessages.response.data}}.

Request

Path parameters

projectIdstringrequired
idstringrequired

ID of the webhook

Query parameters

limitinteger

Number of messages to return

Default 25

offsetinteger

Number of messages to skip before returning results

Default 0

Response

Returns 200 with a array<object>. Read it in later steps with {{listWebhookMessages.response.data.<field>}}.

Need more? See the Sanity guide for connection setup and behaviour shared by every action.

List Webhook Messages — Sanity — Documentation