Schemas resolve per connector. Two end users on different HRIS systems return different fields for the same operation.
Supported operations
A write operation can be live for an integration before its Meta schema exists. See 501 Not Implemented.
Calling a Meta endpoint
Every Meta call carries your API key and the end user’s connector token - see Authentication.https://api.bindbee.dev for the US and https://api-eu.bindbee.dev for the EU.
Meta API response structure
A Meta API response defines the structure of the request body for the selected write operation. Alongside standard JSON Schema keywords, the response can include Bindbee-specific metadata such asisRequired and enumInformation.
These keywords appear most often:
Root object and field definitions
A top-leveltype of object indicates that the write request body must be a JSON object. The properties object contains the available fields, and the required array lists the fields the body must carry.
isRequired to review the requirement for an individual field. Use the required array to identify all mandatory fields within an object.
Nested objects and arrays
For a field withtype: "object", properties defines the nested fields.
type: "array", items defines the schema for each element.
Integration-specific fields
Meta API responses can includeintegration_params and additional_attributes. These fields serve different purposes.
integration_params
integration_params carries fields the underlying integration needs. The Meta API response defines its properties explicitly, and can mark them required.
additional_attributes
additional_attributes is a free-form object for fields the underlying integration supports but Bindbee’s unified model does not carry.
additional_attributes to the underlying integration as part of the write request.
Accepted values and validation
Two pairs of keywords constrain what a field will accept:enum with enumInformation, and description with format.
enum and enumInformation
The enum keyword lists the values a field accepts. Where available, enumInformation describes each one.
enum lists. Read the matching entry in enumInformation to work out which one you want.
description and format
The description keyword explains what a field is for. The format keyword adds a constraint on a string value, such as an email address or a UUID.
Constructing the write request
Once you have read the schema, build a request body that carries every required field and matches the types, formats, and accepted values it defines. For example, iffirst_name and last_name are required, the following request body is valid:
first_nameandlast_namesatisfy the required field definitions.work_emailconforms to theemailformat.employee_numberrides along as an integration-specific attribute.
Best practices
- Fetch per connector: Not per organization. Requirements differ by end user system.
- Refresh the schema: Enum values such as pay statement types and time off policies change upstream.
- Drive your UI from it: Render forms from
properties,required, andenumInformation. - Validate before sending: Catching a missing field locally saves a
422round trip.
Errors
501 Not Implemented
501 Not Implemented
Related
Authentication
The API key and connector token every Meta call needs.
Create Employee
API reference for the write endpoint the schema describes.
Custom fields
Add values the unified model does not carry.
Create an employee
A worked write, from the Meta call to the created record.