Discussions

Ask a Question
Back to All

Provided authorization is not valid when calling a GET request via Postman

Hello,
I am trying to call employees data via API call with Postman, but I get a "Provided authorization is not valid" message.
The parameters I provided according to the documentation are:

GET: https://api.personio.de/v1/company/employees
Params:
limit: 200
offset: 0

Header:
accept: application/json
authorization: Bearer [token]
X-Personio-Partner-ID: my company name

This has been done according to the documentation, but I am not able to fetch a response.
Can you guide me on how to properly write the request?