Skip to Content
PeopleForce
Webhooks

Deprecated

Company API v1 is deprecated. It no longer receives changes and will stop being supported, so move integrations to Company API v3.

Create a webhook subscription

Deprecated

POST
/api/public/v1/webhooks

Request Body

application/x-www-form-urlencoded
  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/v1/webhooks' \  -H 'Content-Type: application/x-www-form-urlencoded' \  -d 'url=string&name=string&event=string'
Example Response
{  "id": "string",  "created_at": "2019-08-24T14:15:22Z"}