Stampfactory
Dokumentation
Webhooks

Webhook erstellen

POST
/webhooks
AuthentifizierungBearer <token>

Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).

Ort: header

Request-Body

application/json

TypeScript-Definitionen

TypeScript-Typ für request body.

Response-Body

application/json

application/json

application/json

curl -X POST "https://example.com/webhooks" \  -H "Content-Type: application/json" \  -d '{    "url": "http://example.com",    "events": [      "employee.created"    ]  }'
{  "data": {    "id": "string",    "url": "string",    "description": "string",    "events": "string",    "active": "string",    "secret_last4": "string",    "created_at": "string",    "updated_at": "string",    "secret": "string"  }}