Skip to main content

Overview

Meta APIs describe the request body expected by Bindbee for a specific write operation and integration. Each response follows a JSON Schema-compatible structure and includes field requirements, accepted values, formats, and nested object definitions. Because write capabilities vary by integration, the Meta API response should be used to construct and validate the request body before submitting a write operation.

Supported Operations

Meta APIs are currently available for the following write operations:
  • Create Employee
  • Create Employee Payroll Run
  • Create Timesheet
  • Create Time Off Request
Support may vary by integration. A write operation can be available for an integration even when its Meta API schema has not yet been implemented.

Request Workflow

Use the following process when preparing a write request:
  1. Call the Meta endpoint for the required write operation and integration.
  2. Review the returned schema, including required fields, accepted values, and integration-specific parameters.
  3. Construct a request body that conforms to the schema.
  4. Submit the request to the corresponding write endpoint.
The schema can also be used with compatible JSON Schema tooling for request validation or form generation.

Meta API Response Structure

A Meta API response defines the structure of the request body for the selected write operation. In addition to standard JSON Schema keywords, the response can include Bindbee-specific metadata such as isRequired and enumInformation. The following keywords are commonly included:

Root Object and Field Definitions

A top-level type of object indicates that the write request body must be a JSON object. The properties object contains the available fields, while the required array lists the fields that must be included.
Use 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 with type: "object", nested fields are defined under properties.
For a field with type: "array", the schema for each array element is defined under items.

Integration-Specific Fields

Meta API responses can include integration_params and additional_attributes. These fields serve different purposes.

integration_params

integration_params contains fields required by the underlying integration. Its properties are explicitly defined in the Meta API response and can be required.

additional_attributes

additional_attributes is a free-form object for fields that are supported by the underlying integration but are not represented in Bindbee’s unified model.
Values included in additional_attributes are forwarded to the underlying integration as part of the write request.

Accepted Values and Validation

enum and enumInformation

The enum keyword lists the values accepted by a field. When available, enumInformation provides a description for each accepted value.
The request body must use one of the values listed in enum. The corresponding entry in enumInformation can be used to determine the appropriate value.

description and format

The description keyword explains the purpose of a field. The format keyword defines an additional constraint for a string value, such as an email address or UUID.

Constructing the Write Request

After reviewing the schema, construct a request body that includes all required fields and conforms to the defined types, formats, and accepted values. For example, if first_name and last_name are required, the following request body is valid:
In this example:
  • first_name and last_name satisfy the required field definitions.
  • work_email conforms to the email format.
  • employee_number is included as an integration-specific attribute.

Common Errors

Meta API Not Implemented for an Integration

A Meta API schema may not yet be available for every supported write operation and integration combination. In this case, the Meta endpoint returns the following HTTP status:
Example response:
This error indicates that the Meta API schema is not yet available for the selected integration and write operation. To request Meta API support for an additional integration or operation, contact support@bindbee.dev.