Trigger webhooks

POST
https://reloop.sh/api/webhook/v1/trigger

Body Parameters

eventstringRequired
payloadobjectRequired

Event payload

organizationIdstring

Organization ID to trigger webhooks for

userIdstring

User ID to trigger webhooks for

const response = await fetch("https://reloop.sh/api/webhook/v1/trigger", {
  method: "POST",
  headers: {
    "Authorization": "Bearer re_123456789",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "event": "event_value",
  "payload": "payload_value",
  "organizationId": "organizationId_value",
  "userId": "userId_value"
})
});

const data = await response.json();
{
  "success": true,
  "message": "Contact already exists",
  "jobId": "example_jobId"
}

Was this page helpful?

Edit this page