Discussions
Can't authenticate using the v1/company/employees REST API
Hello.
I'm using Power Query in Power BI Desktop to fetch data.
I've already created the code to get a token from$ /v1/auth using the client_id and client_secret and pass that Bearer token to /v1/company/employees but the query breaks from that point and I'm not authorized for some weird reasons.
This code worked few weeks back but now doesn't. Everything works smoothly in Postman by the way
Anyone here successfully using Power Query to get data from Personio?
Posted by Daniel over 1 year ago
Salary and work time schedule history
Personio models changes to salary and work time schedule over time, are there any plans to make it possible to retrieve this information via the api. We would like to be personio to be the source of truth for personell cost and to make this possible we would also need historic info not just the current salary.
Posted by Christoph about 2 years ago
Notification via Webhook (or API request)
E-mail is only desired for external communication in our company. Internal communication and the submission of tasks are done via a personal dashboard of an employee in another solution. The goal is to let employees work with as few tools as possible.
So we would also like to receive notifications to employees not via email, but via API or webhook.
Either as a webhook to an address to be defined, or by request.
The message would also only have to contain the information that is already available in the e-mail:
1. e-mail of the recipient,
2. subject
3. copy text
4. call-to-action URL to the personal page
5. if applicable, the name
Optional: individual deactivation of the sending of e-mails per user.
Posted by Florian Ledeboer almost 2 years ago
Zapier Integration
Hello everybody,
did someone manage to create a Zapier Integration for the Personio API?
Greetings,
Michael
Posted by Michael almost 2 years ago
Do you have any rate limiting on your API?
If so, what are the current limitations (requests per second)?
Posted by Thomas over 1 year ago
Sailpoint Integration with Personio
Hello All,
Hope you are doing well.
We have requirement the data from Personio HR Application to Sailpoint(Identity and Access Manager) to manage the user life cycle activities.
Sailpoint Provides SCIM connector which is builds on Rest API to integrate with cloud applications, Can you please help us whether Personio supports the SCIM 2.0 protocal to expose the employee information via Rest API?
Regards,
Rami Reddy
Posted by Ramireddy over 1 year ago
Send attributes to API not working
I try to send an application to Personio.
The fields "first_name", "last_name", "email" and custom attributes are working. But how do I transfer "phone", "available_from" and "salary_expectations"?
I tried to use the old variables (https://developer.personio.de/reference#deprecated-applicant) but they are not working.
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.personio.de/v1/recruiting/applications",
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => {"first_name":"Max1","last_name":"Mustermann1","email":"[email protected]","phone":"12335","job_position_id":468746,"available_from":"01.12.21","salary_expectations":"122456","files":[{"uuid":"e05b7d4f-3c21-41aa-b647-1972ec786ebc","original_filename":"Touch\u00a0Bar Bild 2021-12-02 um 09.08.19.png","category":"cv"},{"uuid":"97abeca1-0042-4fc1-ae20-d04f4259d94e","original_filename":"Touch\u00a0Bar Bild 2021-12-02 um 09.08.19.png","category":"other"}],"tags":[],"attributes":[{"id":"custom_attribute_130081","value":"internet"}]}
CURLOPT_HTTPHEADER => [
"Authorization: Bearer $token",
"x-company-id: $company_id",
"Accept: application/json",
"Content-Type: application/json",
],
]);
Posted by null over 1 year ago
Random 403/404 errors when using API through Proxy
Hello there,
I'm having trouble with the documents endpoint of the Personio Recruiting API. I'm receiving random and unpredictable 403 and 404 errors; and occasionally it just works. I'm using an Nginx Reverse Proxy to hide the credentials from the general public. Other than that, the setup is pretty basic.
The 403 error contains the following message:
'xyz' not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer xyz'.". But the header is set correctly.
This is the configuration of the proxy:
location /documents/upload {
proxy_pass https://api.personio.de/v1/recruiting/applications/documents;
proxy_set_header Authorization "Bearer xyz";
proxy_set_header X-Company-ID 123;
proxy_hide_header Strict-Transport-Security;
proxy_hide_header Referrer-Policy;
proxy_hide_header Content-Security-Policy;
}
What could be the issue here? Are there general issues with the use of proxies and your API?
Thanks in advance.
Posted by Christian Hanne 8 months ago
How to retrieve error messages in English for Applicant API
Hello Personio team!
During testing the API for passing applications to Personio I discovered that error messages are returned in German.
Example:
```
{
"success": false,
"error": {
"code": 0,
"message": "The given data was invalid.",
"errors": {
"last_name": [
"Bitte geben Sie last name ein, um fortzufahren."
],
"email": [
"Bitte geben Sie email ein, um fortzufahren."
]
}
}
}
```
Is there a way to return them in English?
I tried:
- adding Accept-Language header to "en", "en-US" and "en-US,en"
- adding a language parameter to the URL -> https://api.personio.de/recruiting/applicant?language=en
None of these work. Can you please help?
Posted by Renato almost 2 years ago
Invalid multipart request body and/or headers supplied.
hello, Im sending a post request to 'https://api.personio.de/v1/recruiting/applications/documents' and im encoding the file to base64 but i getting the title error.
thanks
Posted by santiago moltó 5 months ago