Discussions

Ask a Question
Back to All

Request Authentication Token

I want to query the auth token with powershell, but I always get the error message "wrong credentials". What is wrong with the query (the token is stored in $Token):
E:\Personio\Employees\curl.exe -o $Token -X POST "https://api.personio.de/v1/auth" -H "accept: application/json" -H "content-type: application/ json" -d '{ "client_id": "ABC..","client_secret": "XYZ.." }'