Skip to content

Configure signed Personio webhooks

POST
/v1/admin/hr/hook
curl --request POST \
--url https://api.academy.example.com/v1/admin/hr/hook \
--header 'Content-Type: application/json' \
--data '{ "companyId": "example", "signingSecret": "example" }'

Versioned integration contract.

Media typeapplication/json
object
companyId
string
>= 1 characters <= 200 characters
signingSecret
required
string
/^[0-9a-zA-Z+/=_.-]{16,200}$/

Example generated

{
"companyId": "example",
"signingSecret": "example"
}

Success

Error; error and message identify the reason

Media typeapplication/json
object
error
required

Stable code, e.g. insufficient_scope, not_found, validation_failed

string
message
string

Example generated

{
"error": "example",
"message": "example"
}