Skip to Content
PeopleForce
Webhooks

Deprecated

Company API v2 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3, which serves every v2 path under /api/public/v3.

Create a webhook subscription

Deprecated

POST
/api/public/v2/webhooks

Request Body

application/json
  1. body
url*string
name*string
event*string

Response Body

The new subscription's id and creation time.

application/json
  1. response
id*string
created_at*string
Formatdate-time
Example Request
curl -X POST 'https://app.peopleforce.io/api/public/v2/webhooks' \  -H 'Content-Type: application/json' \  -d '{  "url": "string",  "name": "string",  "event": "string"}'
Example Response
{  "id": "string",  "created_at": "2019-08-24T14:15:22Z"}