younifyd
Menu

Create Webhook

Create a webhook

POST/hooks/projects/{projectId}

Use it in a workflow

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

Request

Path parameters

projectIdstringrequired

Response

Returns 201 with a oneOf. Read it in later steps with {{createWebhook.response.data.<field>}}.

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

Create Webhook — Sanity — Documentation