Before you start
- You’ve confirmed the integration supports this write - see Check write support.
- You can generate a stable idempotency key per person - see Idempotency.
Steps
1
Fetch the schema
isRequired and enumInformation keywords on top - see Meta APIs.Result: The contract for this integration.2
Assemble the body from the schema
Work through the A nested object that’s optional at the top level still enforces its own required fields once you send it. So a partial address fails validation where omitting it entirely would pass.Result: A body conforming to the schema.
required array on the root object, then on each nested object you include.3
Add integration-specific values if the schema asks for them
The Meta response defines whether this connector expects
integration_params or additional_attributes, and what belongs in each - see Integration-specific fields.Where it does, the values reference configuration that already exists in the customer’s HRIS, such as an employment type ID, a pay group or a legal entity.Result: The platform-specific values this connector needs.4
Send with an idempotency key
5
Match the record after the next sync
The write confirms the create without returning the Bindbee
id. The employee reaches your reads on the next sync - see Syncing.Find them by a stable upstream identifier such as work_email or employee_number, then store the Bindbee id from that read. Key your own record on the id, since source systems reissue employee numbers and remote_id values on rehire or transfer - see Reading employees.Result: Your record linked to a stable Bindbee id.A rehire or transfer is a new employment rather than a new employee, and creating one duplicates the person - see Reading employees.
Frequently Asked Questions
The employee was created twice
The employee was created twice
The retry carried a different
X-Idempotency-Key, so Bindbee read it as a new creation - see Idempotency.There is no delete endpoint for employees, so the duplicate has to be merged or removed in the customer’s HRIS.The write returns 403
The write returns 403
The credentials are valid but don’t permit the operation. Check the connector token belongs to this API category, and that writes are enabled on the model.Where both hold, the source system is refusing the write itself, which is a permission to fix in the customer’s HRIS - see Origin-system errors.
Related
- Create Employee - the endpoint, and how the request body is assembled
- Get Create Employee Meta - the schema endpoint step 1 fetches