Discussions
Obtain Access Token v2 with scope
28 days ago by Patrick Schläpfer
Trying to get an Access Token with v2 API, using the genrated CURL:
curl --request POST \
--url https://api.personio.de/v2/auth/token \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data grant_type=client_credentials \
--data scope=personio:webhooks:read \
--data client_id=<client_id> \
--data client_secret=<client_secret>
But the response is a 503
{
"personio_trace_id": "61953459-4181-495b-b2c6-8275c5331f06",
"timestamp": "2025-03-19T09:29:37Z",
"errors": [
{
"title": "Service Unavailable",
"detail": "Our service is currently unavailable due to technical difficulties.",
"type": null,
"_meta": {}
}
]
}
What I am doing wrong, if this is not possible, how to retrieve Webhooks by api?