Discussions

Ask a Question
Back to All

Trouble Authorizing with Bearer Token on API Endpoint: /company/custom-reports/reports/{report_id}

Hi, I'm trying to fetch custom reports using the API endpoint, but I'm unable to authenticate using a bearer token. I'm sending a GET request to: /company/custom-reports/reports/{report_id}.

For additional details, please refer to the above CURL GET request.

tobias.lieshoff@cosctos ~ % curl --request GET
--url https://api.personio.de/v1/company/custom-reports/reports/[CUSTOM-REPORT]
--header 'accept: application/json'
--header 'authorization: Bearer [BEARER TOKEN]'
{"success":false,"error":{"message":"personio.core.api.exceptions.api.forbidden.http.exception","code":0}}%
tobias.lieshoff@cosctos ~ %

Is there anyone who knows how to use this endpoint or has encountered the same authentication issues?

Thanks in advance!

Best regards,

Tobias Lieshoff