PeopleForce
Webhooks

Deprecated

Company API v1 is deprecated and will be removed in a future release. Migrate to a newer version — v4 is the latest. Use the version switcher in the header.

Create a webhook subscription

POST
/api/public/v1/webhooks

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/public/v1/webhooks" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'url=string&name=string&event=string'
{  "id": "string",  "created_at": "string"}