ReferenceWebhooks

Create

Create a new webhook to receive event notifications. Webhooks live in the environment they were created in: register on sandbox.talentir.com to receive sandbox events, and on www.talentir.com to receive production events.

POST/webhook

Create a new webhook to receive event notifications. Webhooks live in the environment they were created in: register on sandbox.talentir.com to receive sandbox events, and on www.talentir.com to receive production events.

Authorization

AuthorizationBearer <token>

Team API key generated from team settings. Sent as Authorization: Bearer <api_key>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/webhook" \  -H "Content-Type: application/json" \  -d '{    "targetUrl": "http://example.com",    "eventType": "payout"  }'
{  "id": "string",  "signingSecret": "string"}