HRIS API Reference

One single API to push and pull data from multiple connectors.

10.8.1

Introduction

Welcome to the HRIS API.

You can use this API to access all HRIS API endpoints.

Base URL

The base URL for all API requests is https://unify.apideck.com

Headers

Custom headers that are expected as part of the request. Note that RFC7230 states header names are case insensitive.

Name Type Required Description
x-apideck-consumer-id String Yes The id of the customer stored inside Apideck Vault. This can be a user id, account id, device id or whatever entity that can have integration within your app.
x-apideck-service-id String No Describe the service you want to call (e.g., pipedrive). Only needed when a customer has activated multiple integrations for the same Unified API.
x-apideck-raw Boolean No Include raw response. Mostly used for debugging purposes.
x-apideck-app-id String Yes The application id of your Unify application. Available at https://app.apideck.com/unify/api-keys.
Authorization String Yes Bearer API KEY

Authorization

You can interact with the API through the authorization methods below.

apiKey

To use API you have to sign up and get your own API key. Unify API accounts have sandbox mode and live mode API keys. To change modes just use the appropriate key to get a live or test object. You can find your API keys on the unify settings of your Apideck app. Your Apideck application_id can also be found on the same page.

Authenticate your API requests by including your test or live secret API key in the request header.

  • Bearer authorization header: Authorization: Bearer "YOUR_API_KEY_HERE"
  • Application id header: x-apideck-app-id: "YOUR_APP_ID_HERE"

You should use the public keys on the SDKs and the secret keys to authenticate API requests.

Do not share or include your secret API keys on client side code. Your API keys carry significant privileges. Please ensure to keep them 100% secure and be sure to not share your secret API keys in areas that are publicly accessible like GitHub.

Learn how to set the Authorization header inside Postman https://learning.postman.com/docs/postman/sending-api-requests/authorization/#api-key

Go to Unify to grab your API KEY https://app.apideck.com/unify/api-keys

Security Scheme Type API Key
Header parameter name Authorization

Pagination

All API resources have support for bulk retrieval via list APIs. Apideck uses cursor-based pagination via the optional cursor and limit parameters.

To fetch the first page of results, call the list API without a cursor parameter. Afterwards you can fetch subsequent pages by providing a cursor parameter. You will find the next cursor in the response body in meta.cursors.next. If meta.cursors.next is null you're at the end of the list.

In the REST API you can also use the links from the response for added convenience. Simply call the URL in links.next to get the next page of results.

Query Parameters

Name Type Required Description
cursor String No Cursor to start from. You can find cursors for next & previous pages in the meta.cursors property of the response.
limit Number No Number of results to return. Minimum 1, Maximum 200, Default 20

Response Body

Name Type Description
meta.cursors.previous String Cursor to navigate to the previous page of results through the API
meta.cursors.current String Cursor to navigate to the current page of results through the API
meta.cursors.next String Cursor to navigate to the next page of results through the API
meta.items_on_page Number Number of items returned in the data property of the response
links.previous String Link to navigate to the previous page of results through the API
links.current String Link to navigate to the current page of results through the API
links.next String Link to navigate to the next page of results through the API

⚠️ meta.cursors.previous/links.previous is not available for all connectors.

SDKs and API Clients

We currently offer a Node.js, PHP, Python and .NET SDK. Need another SDK? Request the SDK of your choice.

Debugging

Because of the nature of the abstraction we do in Apideck Unify we still provide the option to the receive raw requests and responses being handled underlying. By including the raw flag ?raw=true in your requests you can still receive the full request. Please note that this increases the response size and can introduce extra latency.

Errors

The API returns standard HTTP response codes to indicate success or failure of the API requests. For errors, we also return a customized error message inside the JSON response. You can see the returned HTTP status codes below.

Code Title Description
200 OK The request message has been successfully processed, and it has produced a response. The response message varies, depending on the request method and the requested data.
201 Created The request has been fulfilled and has resulted in one or more new resources being created.
204 No Content The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.
400 Bad Request The receiving server cannot understand the request because of malformed syntax. Do not repeat the request without first modifying it; check the request for errors, fix them and then retry the request.
401 Unauthorized The request has not been applied because it lacks valid authentication credentials for the target resource.
402 Payment Required Subscription data is incomplete or out of date. You'll need to provide payment details to continue.
403 Forbidden You do not have the appropriate user rights to access the request. Do not repeat the request.
404 Not Found The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
409 Conflict The request could not be completed due to a conflict with the current state of the target resource.
422 Unprocessable Entity The server understands the content type of the request entity, and the syntax of the request entity is correct but was unable to process the contained instructions.
429 Too Many Requests You sent too many requests in a given amount of time ("rate limit"). Try again later
5xx Server Errors Something went wrong with the Unify API. These errors are logged on our side. You can contact our team to resolve the issue.

Handling errors

The Unify API and SDKs can produce errors for many reasons, such as a failed requests due to misconfigured integrations, invalid parameters, authentication errors, and network unavailability.

Error Types

RequestValidationError

Request is not valid for the current endpoint. The response body will include details on the validation error. Check the spelling and types of your attributes, and ensure you are not passing data that is outside of the specification.

UnsupportedFiltersError

Filters in the request are valid, but not supported by the connector. Remove the unsupported filter(s) to get a successful response.

UnsupportedSortFieldError

Sort field (sort[by]) in the request is valid, but not supported by the connector. Replace or remove the sort field to get a successful response.

InvalidCursorError

Pagination cursor in the request is not valid for the current connector. Make sure to use a cursor returned from the API, for the same connector.

ConnectorExecutionError

A Unified API request made via one of our downstream connectors returned an unexpected error. The status_code returned is proxied through to error response along with their original response via the error detail.

UnauthorizedError

We were unable to authorize the request as made. This can happen for a number of reasons, from missing header params to passing an incorrect authorization token. Verify your Api Key is being set correctly in the authorization header. ie: Authorization: 'Bearer sk_live_***'

ConnectorCredentialsError

A request using a given connector has not been authorized. Ensure the connector you are trying to use has been configured correctly and been authorized for use.

ConnectorDisabledError

A request has been made to a connector that has since been disabled. This may be temporary - You can contact our team to resolve the issue.

ConnectorRateLimitError

You sent too many request to a connector. These rate limits vary from connector to connector. You will need to try again later.

RequestLimitError

You have reached the number of requests included in your Free Tier Subscription. You will not be able to make further requests until you upgrade your subscription. Please reach out to sales@apideck.com to continue making requests.

EntityNotFoundError

You've made a request for a resource or route that does not exist. Verify your path parameters or any identifiers used to fetch this resource.

OAuthCredentialsNotFoundError

When adding a connector integration that implements OAuth, both a client_id and client_secret must be provided before any authorizations can be performed. Verify the integration has been configured properly before continuing.

IntegrationNotFoundError

The requested connector integration could not be found associated to your application_id. Verify your application_id is correct, and that this connector has been added and configured for your application.

ConnectionNotFoundError

A valid connection could not be found associated to your application_id. Something may have interrupted the authorization flow. You may need to start the connector authorization process again.

ConnectionSettingsError

The connector has required settings that were not supplied. Verify connection.settings contains all required settings for the connector to be callable.

ConnectorNotFoundError

A request was made for an unknown connector. Verify your service_id is spelled correctly, and that this connector is enabled for your provided unified_api.

OAuthRedirectUriError

A request was made either in a connector authorization flow, or attempting to revoke connector access without a valid redirect_uri. This is the url the user should be returned to on completion of process.

OAuthInvalidStateError

The state param is required and is used to ensure the outgoing authorization state has not been altered before the user is redirected back. It also contains required params needed to identify the connector being used. If this has been altered, the authorization will not succeed.

OAuthCodeExchangeError

When attempting to exchange the authorization code for an access_token during an OAuth flow, an error occurred. This may be temporary. You can reattempt authorization or contact our team to resolve the issue.

OAuthConnectorError

It seems something went wrong on the connector side. It's possible this connector is in beta or still under development. We've been notified and are working to fix this issue.

MappingError

There was an error attempting to retrieve the mapping for a given attribute. We've been notified and are working to fix this issue.

ConnectorMappingNotFoundError

It seems the implementation for this connector is incomplete. It's possible this connector is in beta or still under development. We've been notified and are working to fix this issue.

ConnectorResponseMappingNotFoundError

We were unable to retrieve the response mapping for this connector. It's possible this connector is in beta or still under development. We've been notified and are working to fix this issue.

ConnectorOperationMappingNotFoundError

Connector mapping has not been implemented for the requested operation. It's possible this connector is in beta or still under development. We've been notified and are working to fix this issue.

ConnectorWorkflowMappingError

The composite api calls required for this operation have not been mapped entirely. It's possible this connector is in beta or still under development. We've been notified and are working to fix this issue.

ConnectorOperationUnsupportedError

You're attempting a call that is not supported by the connector. It's likely this operation is supported by another connector, but we're unable to implement for this one.

PaginationNotSupportedError

Pagination is not yet supported for this connector, try removing limit and/or cursor from the query. It's possible this connector is in beta or still under development. We've been notified and are working to fix this issue.

API Design

API Styles and data formats

REST API

The API is organized around REST, providing simple and predictable URIs to access and modify objects. Requests support standard HTTP methods like GET, PUT, POST, and DELETE and standard status codes. JSON is returned by all API responses, including errors. In all API requests, you must set the content-type HTTP header to application/json. All API requests must be made over HTTPS. Calls made over HTTP will fail.

Available HTTP methods

The Apideck API uses HTTP verbs to understand if you want to read (GET), delete (DELETE) or create (POST) an object. When your web application cannot do a POST or DELETE, we provide the ability to set the method through the query parameter _method.

POST /messages
GET /messages
GET /messages/{messageId}
PATCH /messages/{messageId}
DELETE /messages/{messageId}

Response bodies are always UTF-8 encoded JSON objects, unless explicitly documented otherwise. For some endpoints and use cases we divert from REST to provide a better developer experience.

Schema

All API requests and response bodies adhere to a common JSON format representing individual items, collections of items, links to related items and additional meta data.

Meta

Meta data can be represented as a top level member named “meta”. Any information may be provided in the meta data. It’s most common use is to return the total number of records when requesting a collection of resources.

Request IDs

Each API request has an associated request identifier. You can find this value in the response headers, under Request-Id. You can also find request identifiers in the URLs of individual request logs in your Dashboard. If you need to contact us about a specific request, providing the request identifier will ensure the fastest possible resolution.

Fixed field types

Dates

The dates returned by the API are all represented in UTC (ISO8601 format).

This example 2019-11-14T00:55:31.820Z is defined by the ISO 8601 standard. The T in the middle separates the year-month-day portion from the hour-minute-second portion. The Z on the end means UTC, that is, an offset-from-UTC of zero hours-minutes-seconds. The Z is pronounced "Zulu" per military/aviation tradition.

The ISO 8601 standard is more modern. The formats are wisely designed to be easy to parse by machine as well as easy to read by humans across cultures.

Prices and Currencies

All prices returned by the API are represented as integer amounts in a currency’s smallest unit. For example, $5 USD would be returned as 500 (i.e, 500 cents).

For zero-decimal currencies, amounts will still be provided as an integer but without the need to divide by 100. For example, an amount of ¥5 (JPY) would be returned as 5.

All currency codes conform to ISO 4217.

Support

If you have problems or need help with your case, you can always reach out to our Support.

Static IP

Some of the APIs you want to use can require a static IP. Apideck's static IP feature allows you to use Apideck with a fixed IP avoiding the need for you to set up your own infrastructure. This feature is currently available to all Apideck customers. To use this feature, the API Vendor will need to whitelist the associated static IP addresses. The provided static IP addresses are fixed to their specified region and shared by all customers who use this feature.

Employees

The Employees model

idstring or null

A unique identifier for an object.

first_namestring or null

The first name of the person.

last_namestring or null

The last name of the person.

middle_namestring or null

Middle name of the person.

display_namestring or null

The name used to display the employee, often a combination of their first and last names.

preferred_namestring or null

The name the employee prefers to be addressed by, which may be different from their legal name.

Employees example
{}

List Employees

get
https://unify.apideck.com/hris/employees

Apideck operates as a stateless Unified API, which means that the list endpoint only provides a portion of the employee model. This is due to the fact that most HRIS systems do not readily provide all data in every call. However, you can access the complete employee model through an employee detail call.

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

cursorstring or null

Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.

limitinteger[ 1 .. 200 ]
Default:20

Number of results to return. Minimum 1, Maximum 200, Default 20

filterobjectfilter[company_id]=1234

Apply filters

sortobjectsort[by]=created_at

Apply sorting

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Employees
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
RUN Powered by ADP
ADP Workforce Now
AFAS Software
AlexisHR
Azure Active Directory
BambooHR
Breathe HR
IRIS Cascade HR
CatalystOne
Cegid Talentsoft
Ceridian Dayforce
Cezanne HR
CharlieHR
CIPHR
Deel
Employment Hero
Factorial
Folks HR
Freshteam
Google Workspace
Gusto
Hibob
Holded
HR Works
Humaans
JumpCloud
Justworks
Keka HR
Kenjo
Loket.nl
Lucca
Microsoft Dynamics 365 Human Resources
Namely
Visma Nmbrs
Officient
Okta
OneLogin
Paychex
PayFit
Paylocity
People HR
Personio
Rippling
Sage HR
SAP SuccessFactors
Sapling
SD Worx
SD Worx (Web service)
Silae
TriNet
UKG Pro
Workday
Zenefits
Zoho People
Sesame HR
Request
Sympa
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.employeesAll({})
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "all",
  "data": [
    {
      "id": "12345",
      "first_name": "Elon",
      "last_name": "Musk",
      "middle_name": "D.",
      "display_name": "Technoking",
      "preferred_name": "Elon Musk",
      "initials": "EM",
      "salutation": "Mr",
      "title": "CEO",
      "marital_status": "married",
      "partner": {
        "id": "12345",
        "first_name": "Elon",
        "last_name": "Musk",
        "middle_name": "D.",
        "gender": "male",
        "initials": "EM",
        "birthday": "2000-08-12",
        "deceased_on": "2000-08-12",
        "custom_mappings": {}
      },
      "division": "Europe",
      "division_id": "12345",
      "department": "R&D",
      "department_id": "12345",
      "department_name": "12345",
      "team": {
        "id": "1234",
        "name": "Full Stack Engineers"
      },
      "company_id": "23456",
      "company_name": "SpaceX",
      "employment_start_date": "2021-10-26",
      "employment_end_date": "2028-10-26",
      "leaving_reason": "resigned",
      "employee_number": "123456-AB",
      "employment_status": "active",
      "employment_role": {
        "type": "contractor",
        "sub_type": "full_time"
      },
      "ethnicity": "African American",
      "manager": {
        "id": "12345",
        "name": "Elon Musk",
        "first_name": "Elon",
        "last_name": "Musk",
        "email": "elon@musk.com",
        "employment_status": "active"
      },
      "direct_reports": [
        "a0d636c6-43b3-4bde-8c70-85b707d992f4",
        "a98lfd96-43b3-4bde-8c70-85b707d992e6"
      ],
      "social_security_number": "123456789",
      "birthday": "2000-08-12",
      "deceased_on": "2000-08-12",
      "country_of_birth": "US",
      "description": "A description",
      "gender": "male",
      "pronouns": "she,her",
      "preferred_language": "EN",
      "languages": [
        "EN"
      ],
      "nationalities": [
        "US"
      ],
      "photo_url": "https://unavatar.io/elon-musk",
      "timezone": "Europe/London",
      "source": "lever",
      "source_id": "12345",
      "record_url": "https://app.intercom.io/contacts/12345",
      "jobs": [
        {
          "id": "12345",
          "employee_id": "12345",
          "title": "CEO",
          "role": "Sales",
          "start_date": "2020-08-12",
          "end_date": "2020-08-12",
          "compensation_rate": 72000,
          "currency": "USD",
          "payment_unit": "year",
          "hired_at": "2020-08-12",
          "is_primary": true,
          "is_manager": true,
          "status": "active",
          "location": {
            "id": "123",
            "type": "primary",
            "string": "25 Spring Street, Blackburn, VIC 3130",
            "name": "HQ US",
            "line1": "Main street",
            "line2": "apt #",
            "line3": "Suite #",
            "line4": "delivery instructions",
            "street_number": "25",
            "city": "San Francisco",
            "state": "CA",
            "postal_code": "94104",
            "country": "US",
            "latitude": "40.759211",
            "longitude": "-73.984638",
            "county": "Santa Clara",
            "contact_name": "Elon Musk",
            "salutation": "Mr",
            "phone_number": "111-111-1111",
            "fax": "122-111-1111",
            "email": "elon@musk.com",
            "website": "https://elonmusk.com",
            "notes": "Address notes or delivery instructions.",
            "row_version": "1-12345"
          }
        }
      ],
      "compensations": [
        {
          "id": "3404301363494309004",
          "job_id": "3490439050957906679",
          "rate": 50,
          "payment_unit": "hour",
          "flsa_status": "nonexempt",
          "effective_date": "2021-06-11"
        }
      ],
      "works_remote": true,
      "addresses": [
        {
          "id": "123",
          "type": "primary",
          "string": "25 Spring Street, Blackburn, VIC 3130",
          "name": "HQ US",
          "line1": "Main street",
          "line2": "apt #",
          "line3": "Suite #",
          "line4": "delivery instructions",
          "street_number": "25",
          "city": "San Francisco",
          "state": "CA",
          "postal_code": "94104",
          "country": "US",
          "latitude": "40.759211",
          "longitude": "-73.984638",
          "county": "Santa Clara",
          "contact_name": "Elon Musk",
          "salutation": "Mr",
          "phone_number": "111-111-1111",
          "fax": "122-111-1111",
          "email": "elon@musk.com",
          "website": "https://elonmusk.com",
          "notes": "Address notes or delivery instructions.",
          "row_version": "1-12345"
        }
      ],
      "phone_numbers": [
        {
          "id": "12345",
          "country_code": "1",
          "area_code": "323",
          "number": "111-111-1111",
          "extension": "105",
          "type": "primary"
        }
      ],
      "emails": [
        {
          "id": "123",
          "email": "elon@musk.com",
          "type": "primary"
        }
      ],
      "custom_fields": [
        {
          "id": "2389328923893298",
          "name": "employee_level",
          "description": "Employee Level",
          "value": "Uses Salesforce and Marketo"
        }
      ],
      "social_links": [
        {
          "id": "12345",
          "url": "https://www.twitter.com/apideck",
          "type": "twitter"
        }
      ],
      "bank_accounts": [
        {
          "bank_name": "Monzo",
          "account_number": "123465",
          "account_name": "SPACEX LLC",
          "account_type": "credit_card",
          "iban": "CH2989144532982975332",
          "bic": "AUDSCHGGXXX",
          "routing_number": "012345678",
          "bsb_number": "062-001",
          "branch_identifier": "001",
          "bank_code": "BNH",
          "currency": "USD"
        }
      ],
      "tax_code": "1111",
      "tax_id": "234-32-0000",
      "dietary_preference": "Veggie",
      "food_allergies": [
        "No allergies"
      ],
      "probation_period": {
        "start_date": "2021-10-01",
        "end_date": "2021-11-28"
      },
      "tags": [
        "New"
      ],
      "custom_mappings": {},
      "row_version": "1-12345",
      "deleted": true,
      "updated_by": "12345",
      "created_by": "12345",
      "updated_at": "2020-09-30T07:43:32.000Z",
      "created_at": "2020-09-30T07:43:32.000Z"
    }
  ],
  "meta": {
    "items_on_page": 50,
    "cursors": {
      "previous": "em9oby1jcm06OnBhZ2U6OjE=",
      "current": "em9oby1jcm06OnBhZ2U6OjI=",
      "next": "em9oby1jcm06OnBhZ2U6OjM="
    }
  },
  "links": {
    "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
    "current": "https://unify.apideck.com/crm/companies",
    "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
  }
}

Create Employee

post
https://unify.apideck.com/hris/employees

Create Employee

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
idstring or null

A unique identifier for an object.

first_namestring or null

The first name of the person.

last_namestring or null

The last name of the person.

middle_namestring or null

Middle name of the person.

display_namestring or null

The name used to display the employee, often a combination of their first and last names.

preferred_namestring or null

The name the employee prefers to be addressed by, which may be different from their legal name.

initialsstring or null

The initials of the person, usually derived from their first, middle, and last names.

salutationstring or null

A formal salutation for the person. For example, 'Mr', 'Mrs'

titlestring or null

The job title of the person.

marital_statusstring or null

The marital status of the employee.

partnerobject
divisionstring or null

The division the person is currently in. Usually a collection of departments or teams or regions.

division_idstring or null

Unique identifier of the division this employee belongs to.

departmentstring or null
deprecated

The department the person is currently in. Deprecated in favor of the dedicated department_id and department_name field.

department_idstring or null

Unique identifier of the department ID this employee belongs to.

department_namestring or null

Name of the department this employee belongs to.

teamobject or null

The team the person is currently in.

company_idstring or null

The unique identifier of the company.

company_namestring or null

The name of the company.

employment_start_datestring or null

A Start Date is the date that the employee started working at the company

employment_end_datestring or null

An End Date is the date that the employee ended working at the company

leaving_reasonstring or null
Enum:dismissedresignedredundancyother

The reason because the employment ended.

employee_numberstring or null

An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company.

employment_statusstring or null
Enum:activeinactiveterminatedother

The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status.

employment_roleobject
ethnicitystring or null

The ethnicity of the employee

managerobject
direct_reportsstrings or null

Direct reports is an array of ids that reflect the individuals in an organizational hierarchy who are directly supervised by this specific employee.

social_security_numberstring or null

A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions.

birthdaystring or null

The date of birth of the person.

deceased_onstring or null

The date the person deceased.

country_of_birthstring or null= 2 characters

Country code according to ISO 3166-1 alpha-2.

descriptionstring or null

A description of the object.

genderstring or null
Enum:malefemaleunisexother

The gender represents the gender identity of a person.

pronounsstring or null

The preferred pronouns of the person.

preferred_languagestring or null

language code according to ISO 639-1. For the United States - EN

languagesstrings or null
nationalitiesstrings or null
photo_urlstring or null

The URL of the photo of a person.

timezonestring or null

The time zone related to the resource. The value is a string containing a standard time zone identifier, e.g. Europe/London.

sourcestring or null

When the employee is imported as a new hire, this field indicates what system (e.g. the name of the ATS) this employee was imported from.

source_idstring or null

Unique identifier of the employee in the system this employee was imported from (e.g. the ID in the ATS).

record_urlstring or null
jobsobjects or null
compensationsobjects or null
works_remoteboolean or null

Indicates if the employee works from a remote location.

addressesobjects
phone_numbersobjects
emailsobjects
custom_fieldsobjects
social_linksobjects
bank_accountsobjects
tax_codestring or null
tax_idstring or null
dietary_preferencestring or null

Indicate the employee's dietary preference.

food_allergiesstrings or null

Indicate the employee's food allergies.

probation_periodobject
tagsstrings or null
row_versionstring or null

A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.

deletedboolean or null

Flag to indicate if the object is deleted.

pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

Responses

201Employees
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

BambooHR
Breathe HR
IRIS Cascade HR
CatalystOne
Gusto
Hibob
Humaans
JumpCloud
Keka HR
Loket.nl
Visma Nmbrs
Officient
OneLogin
People HR
Personio
Sage HR
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Holded
Request
HR Works
Request
Justworks
Request
Kenjo
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Okta
Request
Paychex
Request
PayFit
Request
Paylocity
Request
Rippling
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "id": "12345",
  "first_name": "Elon",
  "last_name": "Musk",
  "middle_name": "D.",
  "display_name": "Technoking",
  "preferred_name": "Elon Musk",
  "initials": "EM",
  "salutation": "Mr",
  "title": "CEO",
  "marital_status": "married",
  "partner": {
    "first_name": "Elon",
    "last_name": "Musk",
    "middle_name": "D.",
    "gender": "male",
    "initials": "EM",
    "birthday": "2000-08-12",
    "deceased_on": "2000-08-12"
  },
  "division": "Europe",
  "division_id": "12345",
  "department": "R&D",
  "department_id": "12345",
  "department_name": "12345",
  "team": {
    "id": "1234",
    "name": "Full Stack Engineers"
  },
  "company_id": "23456",
  "company_name": "SpaceX",
  "employment_start_date": "2021-10-26",
  "employment_end_date": "2028-10-26",
  "leaving_reason": "resigned",
  "employee_number": "123456-AB",
  "employment_status": "active",
  "employment_role": {
    "type": "contractor",
    "sub_type": "full_time"
  },
  "ethnicity": "African American",
  "manager": {
    "id": "12345",
    "name": "Elon Musk",
    "first_name": "Elon",
    "last_name": "Musk",
    "email": "elon@musk.com",
    "employment_status": "active"
  },
  "direct_reports": [
    "a0d636c6-43b3-4bde-8c70-85b707d992f4",
    "a98lfd96-43b3-4bde-8c70-85b707d992e6"
  ],
  "social_security_number": "123456789",
  "birthday": "2000-08-12",
  "deceased_on": "2000-08-12",
  "country_of_birth": "US",
  "description": "A description",
  "gender": "male",
  "pronouns": "she,her",
  "preferred_language": "EN",
  "languages": [
    "EN"
  ],
  "nationalities": [
    "US"
  ],
  "photo_url": "https://unavatar.io/elon-musk",
  "timezone": "Europe/London",
  "source": "lever",
  "source_id": "12345",
  "record_url": "https://app.intercom.io/contacts/12345",
  "jobs": [
    {
      "title": "CEO",
      "role": "Sales",
      "start_date": "2020-08-12",
      "end_date": "2020-08-12",
      "compensation_rate": 72000,
      "currency": "USD",
      "payment_unit": "year",
      "hired_at": "2020-08-12",
      "is_primary": true,
      "is_manager": true,
      "status": "active",
      "location": {
        "id": "123",
        "type": "primary",
        "string": "25 Spring Street, Blackburn, VIC 3130",
        "name": "HQ US",
        "line1": "Main street",
        "line2": "apt #",
        "line3": "Suite #",
        "line4": "delivery instructions",
        "street_number": "25",
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94104",
        "country": "US",
        "latitude": "40.759211",
        "longitude": "-73.984638",
        "county": "Santa Clara",
        "contact_name": "Elon Musk",
        "salutation": "Mr",
        "phone_number": "111-111-1111",
        "fax": "122-111-1111",
        "email": "elon@musk.com",
        "website": "https://elonmusk.com",
        "notes": "Address notes or delivery instructions.",
        "row_version": "1-12345"
      }
    }
  ],
  "compensations": [
    {
      "id": "3404301363494309004",
      "job_id": "3490439050957906679",
      "rate": 50,
      "payment_unit": "hour",
      "flsa_status": "nonexempt",
      "effective_date": "2021-06-11"
    }
  ],
  "works_remote": true,
  "addresses": [
    {
      "id": "123",
      "type": "primary",
      "string": "25 Spring Street, Blackburn, VIC 3130",
      "name": "HQ US",
      "line1": "Main street",
      "line2": "apt #",
      "line3": "Suite #",
      "line4": "delivery instructions",
      "street_number": "25",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94104",
      "country": "US",
      "latitude": "40.759211",
      "longitude": "-73.984638",
      "county": "Santa Clara",
      "contact_name": "Elon Musk",
      "salutation": "Mr",
      "phone_number": "111-111-1111",
      "fax": "122-111-1111",
      "email": "elon@musk.com",
      "website": "https://elonmusk.com",
      "notes": "Address notes or delivery instructions.",
      "row_version": "1-12345"
    }
  ],
  "phone_numbers": [
    {
      "id": "12345",
      "country_code": "1",
      "area_code": "323",
      "number": "111-111-1111",
      "extension": "105",
      "type": "primary"
    }
  ],
  "emails": [
    {
      "id": "123",
      "email": "elon@musk.com",
      "type": "primary"
    }
  ],
  "custom_fields": [
    {
      "id": "2389328923893298",
      "name": "employee_level",
      "description": "Employee Level",
      "value": "Uses Salesforce and Marketo"
    }
  ],
  "social_links": [
    {
      "id": "12345",
      "url": "https://www.twitter.com/apideck",
      "type": "twitter"
    }
  ],
  "bank_accounts": [
    {
      "bank_name": "Monzo",
      "account_number": "123465",
      "account_name": "SPACEX LLC",
      "account_type": "credit_card",
      "iban": "CH2989144532982975332",
      "bic": "AUDSCHGGXXX",
      "routing_number": "012345678",
      "bsb_number": "062-001",
      "branch_identifier": "001",
      "bank_code": "BNH",
      "currency": "USD"
    }
  ],
  "tax_code": "1111",
  "tax_id": "234-32-0000",
  "dietary_preference": "Veggie",
  "food_allergies": [
    "No allergies"
  ],
  "probation_period": {
    "start_date": "2021-10-01",
    "end_date": "2021-11-28"
  },
  "tags": [
    "New"
  ],
  "row_version": "1-12345",
  "deleted": true,
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ]
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "add",
  "data": {
    "id": "12345"
  }
}

Get Employee

get
https://unify.apideck.com/hris/employees/{id}

Get Employee

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

filterobjectfilter[company_id]=1234

Apply filters

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

Responses

200Employees
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
RUN Powered by ADP
ADP Workforce Now
AFAS Software
AlexisHR
Azure Active Directory
BambooHR
Breathe HR
IRIS Cascade HR
CatalystOne
Cegid Talentsoft
Ceridian Dayforce
Cezanne HR
CharlieHR
CIPHR
Deel
Employment Hero
Factorial
Folks HR
Freshteam
Google Workspace
Gusto
Hibob
Holded
HR Works
Humaans
JumpCloud
Justworks
Keka HR
Kenjo
Loket.nl
Lucca
Microsoft Dynamics 365 Human Resources
Namely
Visma Nmbrs
Officient
Okta
OneLogin
Paychex
PayFit
Paylocity
People HR
Personio
Rippling
Sage HR
SAP SuccessFactors
Sapling
SD Worx
Silae
Sympa
TriNet
UKG Pro
Workday
Zenefits
Zoho People
SD Worx (Web service)
Request
Sesame HR
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.employeesOne({
    id: 'id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "one",
  "data": {
    "id": "12345",
    "first_name": "Elon",
    "last_name": "Musk",
    "middle_name": "D.",
    "display_name": "Technoking",
    "preferred_name": "Elon Musk",
    "initials": "EM",
    "salutation": "Mr",
    "title": "CEO",
    "marital_status": "married",
    "partner": {
      "id": "12345",
      "first_name": "Elon",
      "last_name": "Musk",
      "middle_name": "D.",
      "gender": "male",
      "initials": "EM",
      "birthday": "2000-08-12",
      "deceased_on": "2000-08-12",
      "custom_mappings": {}
    },
    "division": "Europe",
    "division_id": "12345",
    "department": "R&D",
    "department_id": "12345",
    "department_name": "12345",
    "team": {
      "id": "1234",
      "name": "Full Stack Engineers"
    },
    "company_id": "23456",
    "company_name": "SpaceX",
    "employment_start_date": "2021-10-26",
    "employment_end_date": "2028-10-26",
    "leaving_reason": "resigned",
    "employee_number": "123456-AB",
    "employment_status": "active",
    "employment_role": {
      "type": "contractor",
      "sub_type": "full_time"
    },
    "ethnicity": "African American",
    "manager": {
      "id": "12345",
      "name": "Elon Musk",
      "first_name": "Elon",
      "last_name": "Musk",
      "email": "elon@musk.com",
      "employment_status": "active"
    },
    "direct_reports": [
      "a0d636c6-43b3-4bde-8c70-85b707d992f4",
      "a98lfd96-43b3-4bde-8c70-85b707d992e6"
    ],
    "social_security_number": "123456789",
    "birthday": "2000-08-12",
    "deceased_on": "2000-08-12",
    "country_of_birth": "US",
    "description": "A description",
    "gender": "male",
    "pronouns": "she,her",
    "preferred_language": "EN",
    "languages": [
      "EN"
    ],
    "nationalities": [
      "US"
    ],
    "photo_url": "https://unavatar.io/elon-musk",
    "timezone": "Europe/London",
    "source": "lever",
    "source_id": "12345",
    "record_url": "https://app.intercom.io/contacts/12345",
    "jobs": [
      {
        "id": "12345",
        "employee_id": "12345",
        "title": "CEO",
        "role": "Sales",
        "start_date": "2020-08-12",
        "end_date": "2020-08-12",
        "compensation_rate": 72000,
        "currency": "USD",
        "payment_unit": "year",
        "hired_at": "2020-08-12",
        "is_primary": true,
        "is_manager": true,
        "status": "active",
        "location": {
          "id": "123",
          "type": "primary",
          "string": "25 Spring Street, Blackburn, VIC 3130",
          "name": "HQ US",
          "line1": "Main street",
          "line2": "apt #",
          "line3": "Suite #",
          "line4": "delivery instructions",
          "street_number": "25",
          "city": "San Francisco",
          "state": "CA",
          "postal_code": "94104",
          "country": "US",
          "latitude": "40.759211",
          "longitude": "-73.984638",
          "county": "Santa Clara",
          "contact_name": "Elon Musk",
          "salutation": "Mr",
          "phone_number": "111-111-1111",
          "fax": "122-111-1111",
          "email": "elon@musk.com",
          "website": "https://elonmusk.com",
          "notes": "Address notes or delivery instructions.",
          "row_version": "1-12345"
        }
      }
    ],
    "compensations": [
      {
        "id": "3404301363494309004",
        "job_id": "3490439050957906679",
        "rate": 50,
        "payment_unit": "hour",
        "flsa_status": "nonexempt",
        "effective_date": "2021-06-11"
      }
    ],
    "works_remote": true,
    "addresses": [
      {
        "id": "123",
        "type": "primary",
        "string": "25 Spring Street, Blackburn, VIC 3130",
        "name": "HQ US",
        "line1": "Main street",
        "line2": "apt #",
        "line3": "Suite #",
        "line4": "delivery instructions",
        "street_number": "25",
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94104",
        "country": "US",
        "latitude": "40.759211",
        "longitude": "-73.984638",
        "county": "Santa Clara",
        "contact_name": "Elon Musk",
        "salutation": "Mr",
        "phone_number": "111-111-1111",
        "fax": "122-111-1111",
        "email": "elon@musk.com",
        "website": "https://elonmusk.com",
        "notes": "Address notes or delivery instructions.",
        "row_version": "1-12345"
      }
    ],
    "phone_numbers": [
      {
        "id": "12345",
        "country_code": "1",
        "area_code": "323",
        "number": "111-111-1111",
        "extension": "105",
        "type": "primary"
      }
    ],
    "emails": [
      {
        "id": "123",
        "email": "elon@musk.com",
        "type": "primary"
      }
    ],
    "custom_fields": [
      {
        "id": "2389328923893298",
        "name": "employee_level",
        "description": "Employee Level",
        "value": "Uses Salesforce and Marketo"
      }
    ],
    "social_links": [
      {
        "id": "12345",
        "url": "https://www.twitter.com/apideck",
        "type": "twitter"
      }
    ],
    "bank_accounts": [
      {
        "bank_name": "Monzo",
        "account_number": "123465",
        "account_name": "SPACEX LLC",
        "account_type": "credit_card",
        "iban": "CH2989144532982975332",
        "bic": "AUDSCHGGXXX",
        "routing_number": "012345678",
        "bsb_number": "062-001",
        "branch_identifier": "001",
        "bank_code": "BNH",
        "currency": "USD"
      }
    ],
    "tax_code": "1111",
    "tax_id": "234-32-0000",
    "dietary_preference": "Veggie",
    "food_allergies": [
      "No allergies"
    ],
    "probation_period": {
      "start_date": "2021-10-01",
      "end_date": "2021-11-28"
    },
    "tags": [
      "New"
    ],
    "custom_mappings": {},
    "row_version": "1-12345",
    "deleted": true,
    "updated_by": "12345",
    "created_by": "12345",
    "updated_at": "2020-09-30T07:43:32.000Z",
    "created_at": "2020-09-30T07:43:32.000Z"
  }
}

Update Employee

patch
https://unify.apideck.com/hris/employees/{id}

Update Employee

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
idstring or null

A unique identifier for an object.

first_namestring or null

The first name of the person.

last_namestring or null

The last name of the person.

middle_namestring or null

Middle name of the person.

display_namestring or null

The name used to display the employee, often a combination of their first and last names.

preferred_namestring or null

The name the employee prefers to be addressed by, which may be different from their legal name.

initialsstring or null

The initials of the person, usually derived from their first, middle, and last names.

salutationstring or null

A formal salutation for the person. For example, 'Mr', 'Mrs'

titlestring or null

The job title of the person.

marital_statusstring or null

The marital status of the employee.

partnerobject
divisionstring or null

The division the person is currently in. Usually a collection of departments or teams or regions.

division_idstring or null

Unique identifier of the division this employee belongs to.

departmentstring or null
deprecated

The department the person is currently in. Deprecated in favor of the dedicated department_id and department_name field.

department_idstring or null

Unique identifier of the department ID this employee belongs to.

department_namestring or null

Name of the department this employee belongs to.

teamobject or null

The team the person is currently in.

company_idstring or null

The unique identifier of the company.

company_namestring or null

The name of the company.

employment_start_datestring or null

A Start Date is the date that the employee started working at the company

employment_end_datestring or null

An End Date is the date that the employee ended working at the company

leaving_reasonstring or null
Enum:dismissedresignedredundancyother

The reason because the employment ended.

employee_numberstring or null

An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company.

employment_statusstring or null
Enum:activeinactiveterminatedother

The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status.

employment_roleobject
ethnicitystring or null

The ethnicity of the employee

managerobject
direct_reportsstrings or null

Direct reports is an array of ids that reflect the individuals in an organizational hierarchy who are directly supervised by this specific employee.

social_security_numberstring or null

A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions.

birthdaystring or null

The date of birth of the person.

deceased_onstring or null

The date the person deceased.

country_of_birthstring or null= 2 characters

Country code according to ISO 3166-1 alpha-2.

descriptionstring or null

A description of the object.

genderstring or null
Enum:malefemaleunisexother

The gender represents the gender identity of a person.

pronounsstring or null

The preferred pronouns of the person.

preferred_languagestring or null

language code according to ISO 639-1. For the United States - EN

languagesstrings or null
nationalitiesstrings or null
photo_urlstring or null

The URL of the photo of a person.

timezonestring or null

The time zone related to the resource. The value is a string containing a standard time zone identifier, e.g. Europe/London.

sourcestring or null

When the employee is imported as a new hire, this field indicates what system (e.g. the name of the ATS) this employee was imported from.

source_idstring or null

Unique identifier of the employee in the system this employee was imported from (e.g. the ID in the ATS).

record_urlstring or null
jobsobjects or null
compensationsobjects or null
works_remoteboolean or null

Indicates if the employee works from a remote location.

addressesobjects
phone_numbersobjects
emailsobjects
custom_fieldsobjects
social_linksobjects
bank_accountsobjects
tax_codestring or null
tax_idstring or null
dietary_preferencestring or null

Indicate the employee's dietary preference.

food_allergiesstrings or null

Indicate the employee's food allergies.

probation_periodobject
tagsstrings or null
row_versionstring or null

A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.

deletedboolean or null

Flag to indicate if the object is deleted.

pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

Responses

200Employees
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

BambooHR
CatalystOne
Gusto
Hibob
Humaans
JumpCloud
Loket.nl
Officient
OneLogin
Personio
Sage HR
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
Breathe HR
Request
IRIS Cascade HR
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Holded
Request
HR Works
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Okta
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Rippling
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "id": "12345",
  "first_name": "Elon",
  "last_name": "Musk",
  "middle_name": "D.",
  "display_name": "Technoking",
  "preferred_name": "Elon Musk",
  "initials": "EM",
  "salutation": "Mr",
  "title": "CEO",
  "marital_status": "married",
  "partner": {
    "first_name": "Elon",
    "last_name": "Musk",
    "middle_name": "D.",
    "gender": "male",
    "initials": "EM",
    "birthday": "2000-08-12",
    "deceased_on": "2000-08-12"
  },
  "division": "Europe",
  "division_id": "12345",
  "department": "R&D",
  "department_id": "12345",
  "department_name": "12345",
  "team": {
    "id": "1234",
    "name": "Full Stack Engineers"
  },
  "company_id": "23456",
  "company_name": "SpaceX",
  "employment_start_date": "2021-10-26",
  "employment_end_date": "2028-10-26",
  "leaving_reason": "resigned",
  "employee_number": "123456-AB",
  "employment_status": "active",
  "employment_role": {
    "type": "contractor",
    "sub_type": "full_time"
  },
  "ethnicity": "African American",
  "manager": {
    "id": "12345",
    "name": "Elon Musk",
    "first_name": "Elon",
    "last_name": "Musk",
    "email": "elon@musk.com",
    "employment_status": "active"
  },
  "direct_reports": [
    "a0d636c6-43b3-4bde-8c70-85b707d992f4",
    "a98lfd96-43b3-4bde-8c70-85b707d992e6"
  ],
  "social_security_number": "123456789",
  "birthday": "2000-08-12",
  "deceased_on": "2000-08-12",
  "country_of_birth": "US",
  "description": "A description",
  "gender": "male",
  "pronouns": "she,her",
  "preferred_language": "EN",
  "languages": [
    "EN"
  ],
  "nationalities": [
    "US"
  ],
  "photo_url": "https://unavatar.io/elon-musk",
  "timezone": "Europe/London",
  "source": "lever",
  "source_id": "12345",
  "record_url": "https://app.intercom.io/contacts/12345",
  "jobs": [
    {
      "title": "CEO",
      "role": "Sales",
      "start_date": "2020-08-12",
      "end_date": "2020-08-12",
      "compensation_rate": 72000,
      "currency": "USD",
      "payment_unit": "year",
      "hired_at": "2020-08-12",
      "is_primary": true,
      "is_manager": true,
      "status": "active",
      "location": {
        "id": "123",
        "type": "primary",
        "string": "25 Spring Street, Blackburn, VIC 3130",
        "name": "HQ US",
        "line1": "Main street",
        "line2": "apt #",
        "line3": "Suite #",
        "line4": "delivery instructions",
        "street_number": "25",
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94104",
        "country": "US",
        "latitude": "40.759211",
        "longitude": "-73.984638",
        "county": "Santa Clara",
        "contact_name": "Elon Musk",
        "salutation": "Mr",
        "phone_number": "111-111-1111",
        "fax": "122-111-1111",
        "email": "elon@musk.com",
        "website": "https://elonmusk.com",
        "notes": "Address notes or delivery instructions.",
        "row_version": "1-12345"
      }
    }
  ],
  "compensations": [
    {
      "id": "3404301363494309004",
      "job_id": "3490439050957906679",
      "rate": 50,
      "payment_unit": "hour",
      "flsa_status": "nonexempt",
      "effective_date": "2021-06-11"
    }
  ],
  "works_remote": true,
  "addresses": [
    {
      "id": "123",
      "type": "primary",
      "string": "25 Spring Street, Blackburn, VIC 3130",
      "name": "HQ US",
      "line1": "Main street",
      "line2": "apt #",
      "line3": "Suite #",
      "line4": "delivery instructions",
      "street_number": "25",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94104",
      "country": "US",
      "latitude": "40.759211",
      "longitude": "-73.984638",
      "county": "Santa Clara",
      "contact_name": "Elon Musk",
      "salutation": "Mr",
      "phone_number": "111-111-1111",
      "fax": "122-111-1111",
      "email": "elon@musk.com",
      "website": "https://elonmusk.com",
      "notes": "Address notes or delivery instructions.",
      "row_version": "1-12345"
    }
  ],
  "phone_numbers": [
    {
      "id": "12345",
      "country_code": "1",
      "area_code": "323",
      "number": "111-111-1111",
      "extension": "105",
      "type": "primary"
    }
  ],
  "emails": [
    {
      "id": "123",
      "email": "elon@musk.com",
      "type": "primary"
    }
  ],
  "custom_fields": [
    {
      "id": "2389328923893298",
      "name": "employee_level",
      "description": "Employee Level",
      "value": "Uses Salesforce and Marketo"
    }
  ],
  "social_links": [
    {
      "id": "12345",
      "url": "https://www.twitter.com/apideck",
      "type": "twitter"
    }
  ],
  "bank_accounts": [
    {
      "bank_name": "Monzo",
      "account_number": "123465",
      "account_name": "SPACEX LLC",
      "account_type": "credit_card",
      "iban": "CH2989144532982975332",
      "bic": "AUDSCHGGXXX",
      "routing_number": "012345678",
      "bsb_number": "062-001",
      "branch_identifier": "001",
      "bank_code": "BNH",
      "currency": "USD"
    }
  ],
  "tax_code": "1111",
  "tax_id": "234-32-0000",
  "dietary_preference": "Veggie",
  "food_allergies": [
    "No allergies"
  ],
  "probation_period": {
    "start_date": "2021-10-01",
    "end_date": "2021-11-28"
  },
  "tags": [
    "New"
  ],
  "row_version": "1-12345",
  "deleted": true,
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ]
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "update",
  "data": {
    "id": "12345"
  }
}

Delete Employee

delete
https://unify.apideck.com/hris/employees/{id}

Delete Employee

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Responses

200Employees
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Gusto
Humaans
JumpCloud
OneLogin
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.employeesDelete({
    id: 'id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "delete",
  "data": {
    "id": "12345"
  }
}

Companies

The Companies model

idstring

A unique identifier for an object.

legal_namestring or nullnon-empty
required
display_namestring or nullnon-empty
subdomainstring or nullnon-empty
statusstring
Enum:activeinactivetrialother
company_numberstring or null

An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company.

Companies example
{}

List Companies

get
https://unify.apideck.com/hris/companies

List Companies

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

cursorstring or null

Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.

limitinteger[ 1 .. 200 ]
Default:20

Number of results to return. Minimum 1, Maximum 200, Default 20

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Companies
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
AlexisHR
Breathe HR
IRIS Cascade HR
Cezanne HR
CharlieHR
Deel
Employment Hero
Folks HR
Gusto
Humaans
Loket.nl
Lucca
Visma Nmbrs
Officient
Okta
Paychex
PayFit
Rippling
SAP SuccessFactors
SD Worx
UKG Pro
Workday
Zenefits
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
Azure Active Directory
Request
BambooHR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
CIPHR
Request
Factorial
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
OneLogin
Request
Paylocity
Request
People HR
Request
Personio
Request
Sage HR
Request
Sapling
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.companiesAll({})
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "all",
  "data": [
    {
      "id": "12345",
      "legal_name": "SpaceX",
      "display_name": "SpaceX",
      "subdomain": "company",
      "status": "active",
      "company_number": "123456-AB",
      "currency": "USD",
      "addresses": [
        {
          "id": "123",
          "type": "primary",
          "string": "25 Spring Street, Blackburn, VIC 3130",
          "name": "HQ US",
          "line1": "Main street",
          "line2": "apt #",
          "line3": "Suite #",
          "line4": "delivery instructions",
          "street_number": "25",
          "city": "San Francisco",
          "state": "CA",
          "postal_code": "94104",
          "country": "US",
          "latitude": "40.759211",
          "longitude": "-73.984638",
          "county": "Santa Clara",
          "contact_name": "Elon Musk",
          "salutation": "Mr",
          "phone_number": "111-111-1111",
          "fax": "122-111-1111",
          "email": "elon@musk.com",
          "website": "https://elonmusk.com",
          "notes": "Address notes or delivery instructions.",
          "row_version": "1-12345"
        }
      ],
      "phone_numbers": [
        {
          "id": "12345",
          "country_code": "1",
          "area_code": "323",
          "number": "111-111-1111",
          "extension": "105",
          "type": "primary"
        }
      ],
      "emails": [
        {
          "id": "123",
          "email": "elon@musk.com",
          "type": "primary"
        }
      ],
      "websites": [
        {
          "id": "12345",
          "url": "http://example.com",
          "type": "primary"
        }
      ],
      "debtor_id": "12345",
      "custom_mappings": {},
      "deleted": false,
      "updated_by": "12345",
      "created_by": "12345",
      "updated_at": "2020-09-30T07:43:32.000Z",
      "created_at": "2020-09-30T07:43:32.000Z"
    }
  ],
  "meta": {
    "items_on_page": 50,
    "cursors": {
      "previous": "em9oby1jcm06OnBhZ2U6OjE=",
      "current": "em9oby1jcm06OnBhZ2U6OjI=",
      "next": "em9oby1jcm06OnBhZ2U6OjM="
    }
  },
  "links": {
    "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
    "current": "https://unify.apideck.com/crm/companies",
    "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
  }
}

Create Company

post
https://unify.apideck.com/hris/companies

Create Company

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
legal_namestring or nullnon-empty
required
display_namestring or nullnon-empty
subdomainstring or nullnon-empty
statusstring
Enum:activeinactivetrialother
company_numberstring or null

An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company.

currencystring or null
Enum:UNKNOWN_CURRENCYAEDAFNALL

Indicates the associated currency for an amount of money. Values correspond to ISO 4217.

addressesobjects
phone_numbersobjects
emailsobjects
websitesobjects
debtor_idstring or nullnon-empty
pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

Responses

201Companies
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Loket.nl
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "legal_name": "SpaceX",
  "display_name": "SpaceX",
  "subdomain": "company",
  "status": "active",
  "company_number": "123456-AB",
  "currency": "USD",
  "addresses": [
    {
      "id": "123",
      "type": "primary",
      "string": "25 Spring Street, Blackburn, VIC 3130",
      "name": "HQ US",
      "line1": "Main street",
      "line2": "apt #",
      "line3": "Suite #",
      "line4": "delivery instructions",
      "street_number": "25",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94104",
      "country": "US",
      "latitude": "40.759211",
      "longitude": "-73.984638",
      "county": "Santa Clara",
      "contact_name": "Elon Musk",
      "salutation": "Mr",
      "phone_number": "111-111-1111",
      "fax": "122-111-1111",
      "email": "elon@musk.com",
      "website": "https://elonmusk.com",
      "notes": "Address notes or delivery instructions.",
      "row_version": "1-12345"
    }
  ],
  "phone_numbers": [
    {
      "id": "12345",
      "country_code": "1",
      "area_code": "323",
      "number": "111-111-1111",
      "extension": "105",
      "type": "primary"
    }
  ],
  "emails": [
    {
      "id": "123",
      "email": "elon@musk.com",
      "type": "primary"
    }
  ],
  "websites": [
    {
      "id": "12345",
      "url": "http://example.com",
      "type": "primary"
    }
  ],
  "debtor_id": "12345",
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ]
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "add",
  "data": {
    "id": "12345"
  }
}

Get Company

get
https://unify.apideck.com/hris/companies/{id}

Get Company

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Company
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
AlexisHR
Breathe HR
IRIS Cascade HR
Cezanne HR
CharlieHR
Deel
Employment Hero
Folks HR
Gusto
Humaans
Loket.nl
Lucca
Visma Nmbrs
Officient
Okta
Paychex
PayFit
Rippling
SAP SuccessFactors
SD Worx
UKG Pro
Workday
Zenefits
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
Azure Active Directory
Request
BambooHR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
CIPHR
Request
Factorial
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
OneLogin
Request
Paylocity
Request
People HR
Request
Personio
Request
Sage HR
Request
Sapling
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.companiesOne({
    id: 'id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "one",
  "data": {
    "id": "12345",
    "legal_name": "SpaceX",
    "display_name": "SpaceX",
    "subdomain": "company",
    "status": "active",
    "company_number": "123456-AB",
    "currency": "USD",
    "addresses": [
      {
        "id": "123",
        "type": "primary",
        "string": "25 Spring Street, Blackburn, VIC 3130",
        "name": "HQ US",
        "line1": "Main street",
        "line2": "apt #",
        "line3": "Suite #",
        "line4": "delivery instructions",
        "street_number": "25",
        "city": "San Francisco",
        "state": "CA",
        "postal_code": "94104",
        "country": "US",
        "latitude": "40.759211",
        "longitude": "-73.984638",
        "county": "Santa Clara",
        "contact_name": "Elon Musk",
        "salutation": "Mr",
        "phone_number": "111-111-1111",
        "fax": "122-111-1111",
        "email": "elon@musk.com",
        "website": "https://elonmusk.com",
        "notes": "Address notes or delivery instructions.",
        "row_version": "1-12345"
      }
    ],
    "phone_numbers": [
      {
        "id": "12345",
        "country_code": "1",
        "area_code": "323",
        "number": "111-111-1111",
        "extension": "105",
        "type": "primary"
      }
    ],
    "emails": [
      {
        "id": "123",
        "email": "elon@musk.com",
        "type": "primary"
      }
    ],
    "websites": [
      {
        "id": "12345",
        "url": "http://example.com",
        "type": "primary"
      }
    ],
    "debtor_id": "12345",
    "custom_mappings": {},
    "deleted": false,
    "updated_by": "12345",
    "created_by": "12345",
    "updated_at": "2020-09-30T07:43:32.000Z",
    "created_at": "2020-09-30T07:43:32.000Z"
  }
}

Update Company

patch
https://unify.apideck.com/hris/companies/{id}

Update Company

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
legal_namestring or nullnon-empty
required
display_namestring or nullnon-empty
subdomainstring or nullnon-empty
statusstring
Enum:activeinactivetrialother
company_numberstring or null

An Company Number, Company ID or Company Code, is a unique number that has been assigned to each company.

currencystring or null
Enum:UNKNOWN_CURRENCYAEDAFNALL

Indicates the associated currency for an amount of money. Values correspond to ISO 4217.

addressesobjects
phone_numbersobjects
emailsobjects
websitesobjects
debtor_idstring or nullnon-empty
pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

Responses

200Companies
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Humaans
Loket.nl
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "legal_name": "SpaceX",
  "display_name": "SpaceX",
  "subdomain": "company",
  "status": "active",
  "company_number": "123456-AB",
  "currency": "USD",
  "addresses": [
    {
      "id": "123",
      "type": "primary",
      "string": "25 Spring Street, Blackburn, VIC 3130",
      "name": "HQ US",
      "line1": "Main street",
      "line2": "apt #",
      "line3": "Suite #",
      "line4": "delivery instructions",
      "street_number": "25",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94104",
      "country": "US",
      "latitude": "40.759211",
      "longitude": "-73.984638",
      "county": "Santa Clara",
      "contact_name": "Elon Musk",
      "salutation": "Mr",
      "phone_number": "111-111-1111",
      "fax": "122-111-1111",
      "email": "elon@musk.com",
      "website": "https://elonmusk.com",
      "notes": "Address notes or delivery instructions.",
      "row_version": "1-12345"
    }
  ],
  "phone_numbers": [
    {
      "id": "12345",
      "country_code": "1",
      "area_code": "323",
      "number": "111-111-1111",
      "extension": "105",
      "type": "primary"
    }
  ],
  "emails": [
    {
      "id": "123",
      "email": "elon@musk.com",
      "type": "primary"
    }
  ],
  "websites": [
    {
      "id": "12345",
      "url": "http://example.com",
      "type": "primary"
    }
  ],
  "debtor_id": "12345",
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ]
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "update",
  "data": {
    "id": "12345"
  }
}

Delete Company

delete
https://unify.apideck.com/hris/companies/{id}

Delete Company

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Responses

200Companies
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.companiesDelete({
    id: 'id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "delete",
  "data": {
    "id": "12345"
  }
}

Departments

The Departments model

idstring

A unique identifier for an object.

parent_idstring or null

Parent ID

namestring or null

Department name

codestring or null
descriptionstring or null
custom_mappingsobject or null

When custom mappings are configured on the resource, the result is included here.

Departments example
{}

List Departments

get
https://unify.apideck.com/hris/departments

List Departments

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

cursorstring or null

Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.

limitinteger[ 1 .. 200 ]
Default:20

Number of results to return. Minimum 1, Maximum 200, Default 20

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Departments
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
AFAS Software
AlexisHR
Azure Active Directory
BambooHR
Breathe HR
IRIS Cascade HR
CatalystOne
Ceridian Dayforce
Cezanne HR
CharlieHR
Deel
Employment Hero
Folks HR
Freshteam
Google Workspace
Gusto
Hibob
HR Works
Humaans
Loket.nl
Lucca
Visma Nmbrs
Officient
Paychex
Paylocity
Rippling
SAP SuccessFactors
Workday
Zenefits
Zoho People
RUN Powered by ADP
Request
ADP Workforce Now
Request
Cegid Talentsoft
Request
CIPHR
Request
Factorial
Request
Holded
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Okta
Request
OneLogin
Request
PayFit
Request
People HR
Request
Personio
Request
Sage HR
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.departmentsAll({})
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "workday",
  "resource": "Departments",
  "operation": "all",
  "data": [
    {
      "id": "12345",
      "parent_id": "22345",
      "name": "R&D",
      "code": "2",
      "description": "R&D",
      "custom_mappings": {},
      "updated_by": "12345",
      "created_by": "12345",
      "updated_at": "2020-09-30T07:43:32.000Z",
      "created_at": "2020-09-30T07:43:32.000Z"
    }
  ],
  "meta": {
    "items_on_page": 50,
    "cursors": {
      "previous": "em9oby1jcm06OnBhZ2U6OjE=",
      "current": "em9oby1jcm06OnBhZ2U6OjI=",
      "next": "em9oby1jcm06OnBhZ2U6OjM="
    }
  },
  "links": {
    "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
    "current": "https://unify.apideck.com/crm/companies",
    "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
  }
}

Create Department

post
https://unify.apideck.com/hris/departments

Create Department

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
namestring or null

Department name

codestring or null
descriptionstring or null
pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

Responses

201Departments
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

HR Works
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "name": "R&D",
  "code": "2",
  "description": "R&D",
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ]
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "workday",
  "resource": "Departments",
  "operation": "add",
  "data": {
    "id": "12345"
  }
}

Get Department

get
https://unify.apideck.com/hris/departments/{id}

Get Department

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Departments
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
AFAS Software
AlexisHR
Azure Active Directory
BambooHR
Breathe HR
IRIS Cascade HR
CatalystOne
Ceridian Dayforce
Cezanne HR
CharlieHR
Deel
Folks HR
Freshteam
Gusto
Hibob
HR Works
Loket.nl
Lucca
Visma Nmbrs
Officient
Paychex
Paylocity
Rippling
SAP SuccessFactors
Workday
Zenefits
Zoho People
RUN Powered by ADP
Request
ADP Workforce Now
Request
Cegid Talentsoft
Request
CIPHR
Request
Employment Hero
Request
Factorial
Request
Google Workspace
Request
Holded
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Okta
Request
OneLogin
Request
PayFit
Request
People HR
Request
Personio
Request
Sage HR
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.departmentsOne({
    id: 'id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "workday",
  "resource": "Departments",
  "operation": "one",
  "data": {
    "id": "12345",
    "parent_id": "22345",
    "name": "R&D",
    "code": "2",
    "description": "R&D",
    "custom_mappings": {},
    "updated_by": "12345",
    "created_by": "12345",
    "updated_at": "2020-09-30T07:43:32.000Z",
    "created_at": "2020-09-30T07:43:32.000Z"
  }
}

Update Department

patch
https://unify.apideck.com/hris/departments/{id}

Update Department

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
namestring or null

Department name

codestring or null
descriptionstring or null
pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

Responses

200Departments
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "name": "R&D",
  "code": "2",
  "description": "R&D",
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ]
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "workday",
  "resource": "Departments",
  "operation": "update",
  "data": {
    "id": "12345"
  }
}

Delete Department

delete
https://unify.apideck.com/hris/departments/{id}

Delete Department

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Responses

200Departments
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.departmentsDelete({
    id: 'id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "workday",
  "resource": "Departments",
  "operation": "delete",
  "data": {
    "id": "12345"
  }
}

Payrolls

The Payrolls model

idstring or null
required

A unique identifier for an object.

company_idstring or null

The unique identifier of the company.

processedboolean or null
required

Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated.

processed_datestring or null

The date the payroll was processed.

check_datestring or null
required

The date on which employees will be paid for the payroll.

start_datestring or null
required

The start date, inclusive, of the pay period.

Payrolls example
{}

List Payroll

get
https://unify.apideck.com/hris/payrolls

List Payroll

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

filterobjectfilter[start_date]=2022-04-08

Apply filters

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Payrolls
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Gusto
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.payrollsAll({})
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "all",
  "data": [
    {
      "id": "12345",
      "company_id": "23456",
      "processed": false,
      "processed_date": "2022-04-08",
      "check_date": "2022-04-08",
      "start_date": "2022-04-08",
      "end_date": "2022-04-21",
      "totals": {
        "company_debit": 27992.49,
        "tax_debit": 8655.32,
        "check_amount": 27966.23,
        "net_pay": 19337.17,
        "gross_pay": 27966.23,
        "employer_taxes": 2038.93,
        "employee_taxes": 6616.39,
        "employer_benefit_contributions": 0,
        "employee_benefit_deductions": 0
      },
      "compensations": [
        {
          "employee_id": "12345",
          "net_pay": 2199.93,
          "gross_pay": 3000,
          "taxes": [
            {
              "name": "CA State Income Tax",
              "employer": false,
              "amount": 1.97
            }
          ],
          "deductions": [
            {
              "name": "Company Car",
              "amount": 10.97
            }
          ],
          "benefits": [
            {
              "name": "Health Insurance",
              "employee_deduction": 142.94,
              "employer_contribution": 141.14
            }
          ]
        }
      ],
      "custom_mappings": {}
    }
  ]
}

Get Payroll

get
https://unify.apideck.com/hris/payrolls/{payroll_id}

Get Payroll

Authorizations:

Path parameters

payroll_idstring
required

ID of the payroll you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Payrolls
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Gusto
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.payrollsOne({
    payrollId: 'payroll_id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "one",
  "data": {
    "id": "12345",
    "company_id": "23456",
    "processed": false,
    "processed_date": "2022-04-08",
    "check_date": "2022-04-08",
    "start_date": "2022-04-08",
    "end_date": "2022-04-21",
    "totals": {
      "company_debit": 27992.49,
      "tax_debit": 8655.32,
      "check_amount": 27966.23,
      "net_pay": 19337.17,
      "gross_pay": 27966.23,
      "employer_taxes": 2038.93,
      "employee_taxes": 6616.39,
      "employer_benefit_contributions": 0,
      "employee_benefit_deductions": 0
    },
    "compensations": [
      {
        "employee_id": "12345",
        "net_pay": 2199.93,
        "gross_pay": 3000,
        "taxes": [
          {
            "name": "CA State Income Tax",
            "employer": false,
            "amount": 1.97
          }
        ],
        "deductions": [
          {
            "name": "Company Car",
            "amount": 10.97
          }
        ],
        "benefits": [
          {
            "name": "Health Insurance",
            "employee_deduction": 142.94,
            "employer_contribution": 141.14
          }
        ]
      }
    ],
    "custom_mappings": {}
  }
}

Employee Payrolls

The Employee Payrolls model

idstring or null
required

A unique identifier for an object.

employee_idstring or null

ID of the employee

company_idstring or null

The unique identifier of the company.

processedboolean or null
required

Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated.

processed_datestring or null

The date the payroll was processed.

check_datestring or null
required

The date on which employees will be paid for the payroll.

Employee Payrolls example
{}

List Employee Payrolls

get
https://unify.apideck.com/hris/payrolls/employees/{employee_id}

List payrolls for employee

Authorizations:

Path parameters

employee_idstring
required

ID of the employee you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

filterobjectfilter[start_date]=2022-04-08

Apply filters

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200EmployeePayrolls
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Gusto
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.employeePayrollsAll({
    employeeId: 'employee_id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "all",
  "data": [
    {
      "id": "12345",
      "employee_id": "12345",
      "company_id": "23456",
      "processed": false,
      "processed_date": "2022-04-08",
      "check_date": "2022-04-08",
      "start_date": "2022-04-08",
      "end_date": "2022-04-21",
      "totals": {
        "company_debit": 27992.49,
        "tax_debit": 8655.32,
        "check_amount": 27966.23,
        "net_pay": 19337.17,
        "gross_pay": 27966.23,
        "employer_taxes": 2038.93,
        "employee_taxes": 6616.39,
        "employer_benefit_contributions": 0,
        "employee_benefit_deductions": 0
      },
      "compensations": [
        {
          "employee_id": "12345",
          "net_pay": 2199.93,
          "gross_pay": 3000,
          "taxes": [
            {
              "name": "CA State Income Tax",
              "employer": false,
              "amount": 1.97
            }
          ],
          "deductions": [
            {
              "name": "Company Car",
              "amount": 10.97
            }
          ],
          "benefits": [
            {
              "name": "Health Insurance",
              "employee_deduction": 142.94,
              "employer_contribution": 141.14
            }
          ]
        }
      ]
    }
  ]
}

Get Employee Payroll

get
https://unify.apideck.com/hris/payrolls/employees/{employee_id}/payrolls/{payroll_id}

Get payroll for employee

Authorizations:

Path parameters

payroll_idstring
required

ID of the payroll you are acting upon.

employee_idstring
required

ID of the employee you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200Payrolls
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

Gusto
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

const params = {
  payrollId: 'payroll_id_example',
  employeeId: 'employee_id_example'
}

try {
  const { data } = await apideck.hris.employeePayrollsOne(params)
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "undefined",
  "resource": "Companies",
  "operation": "one",
  "data": {
    "id": "12345",
    "employee_id": "12345",
    "company_id": "23456",
    "processed": false,
    "processed_date": "2022-04-08",
    "check_date": "2022-04-08",
    "start_date": "2022-04-08",
    "end_date": "2022-04-21",
    "totals": {
      "company_debit": 27992.49,
      "tax_debit": 8655.32,
      "check_amount": 27966.23,
      "net_pay": 19337.17,
      "gross_pay": 27966.23,
      "employer_taxes": 2038.93,
      "employee_taxes": 6616.39,
      "employer_benefit_contributions": 0,
      "employee_benefit_deductions": 0
    },
    "compensations": [
      {
        "employee_id": "12345",
        "net_pay": 2199.93,
        "gross_pay": 3000,
        "taxes": [
          {
            "name": "CA State Income Tax",
            "employer": false,
            "amount": 1.97
          }
        ],
        "deductions": [
          {
            "name": "Company Car",
            "amount": 10.97
          }
        ],
        "benefits": [
          {
            "name": "Health Insurance",
            "employee_deduction": 142.94,
            "employer_contribution": 141.14
          }
        ]
      }
    ]
  }
}

Employee Schedules

The Employee Schedules model

employeeobject
schedulesobjects or null
Employee Schedules example
{}

List Employee Schedules

get
https://unify.apideck.com/hris/schedules/employees/{employee_id}

List schedules for employee, a schedule is a work pattern, not the actual worked hours, for an employee.

Authorizations:

Path parameters

employee_idstring
required

ID of the employee you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200EmployeeSchedules
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.employeeSchedulesAll({
    employeeId: 'employee_id_example'
  })
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "sage-hr",
  "resource": "Employees",
  "operation": "all",
  "data": {
    "employee": {
      "id": "12345",
      "first_name": "Elon",
      "last_name": "Musk",
      "middle_name": "D.",
      "display_name": "Technoking",
      "preferred_name": "Elon Musk",
      "initials": "EM",
      "salutation": "Mr",
      "title": "CEO",
      "marital_status": "married",
      "partner": {
        "id": "12345",
        "first_name": "Elon",
        "last_name": "Musk",
        "middle_name": "D.",
        "gender": "male",
        "initials": "EM",
        "birthday": "2000-08-12",
        "deceased_on": "2000-08-12",
        "custom_mappings": {}
      },
      "division": "Europe",
      "division_id": "12345",
      "department": "R&D",
      "department_id": "12345",
      "department_name": "12345",
      "team": {
        "id": "1234",
        "name": "Full Stack Engineers"
      },
      "company_id": "23456",
      "company_name": "SpaceX",
      "employment_start_date": "2021-10-26",
      "employment_end_date": "2028-10-26",
      "leaving_reason": "resigned",
      "employee_number": "123456-AB",
      "employment_status": "active",
      "employment_role": {
        "type": "contractor",
        "sub_type": "full_time"
      },
      "ethnicity": "African American",
      "manager": {
        "id": "12345",
        "name": "Elon Musk",
        "first_name": "Elon",
        "last_name": "Musk",
        "email": "elon@musk.com",
        "employment_status": "active"
      },
      "direct_reports": [
        "a0d636c6-43b3-4bde-8c70-85b707d992f4",
        "a98lfd96-43b3-4bde-8c70-85b707d992e6"
      ],
      "social_security_number": "123456789",
      "birthday": "2000-08-12",
      "deceased_on": "2000-08-12",
      "country_of_birth": "US",
      "description": "A description",
      "gender": "male",
      "pronouns": "she,her",
      "preferred_language": "EN",
      "languages": [
        "EN"
      ],
      "nationalities": [
        "US"
      ],
      "photo_url": "https://unavatar.io/elon-musk",
      "timezone": "Europe/London",
      "source": "lever",
      "source_id": "12345",
      "record_url": "https://app.intercom.io/contacts/12345",
      "jobs": [
        {
          "id": "12345",
          "employee_id": "12345",
          "title": "CEO",
          "role": "Sales",
          "start_date": "2020-08-12",
          "end_date": "2020-08-12",
          "compensation_rate": 72000,
          "currency": "USD",
          "payment_unit": "year",
          "hired_at": "2020-08-12",
          "is_primary": true,
          "is_manager": true,
          "status": "active",
          "location": {
            "id": "123",
            "type": "primary",
            "string": "25 Spring Street, Blackburn, VIC 3130",
            "name": "HQ US",
            "line1": "Main street",
            "line2": "apt #",
            "line3": "Suite #",
            "line4": "delivery instructions",
            "street_number": "25",
            "city": "San Francisco",
            "state": "CA",
            "postal_code": "94104",
            "country": "US",
            "latitude": "40.759211",
            "longitude": "-73.984638",
            "county": "Santa Clara",
            "contact_name": "Elon Musk",
            "salutation": "Mr",
            "phone_number": "111-111-1111",
            "fax": "122-111-1111",
            "email": "elon@musk.com",
            "website": "https://elonmusk.com",
            "notes": "Address notes or delivery instructions.",
            "row_version": "1-12345"
          }
        }
      ],
      "compensations": [
        {
          "id": "3404301363494309004",
          "job_id": "3490439050957906679",
          "rate": 50,
          "payment_unit": "hour",
          "flsa_status": "nonexempt",
          "effective_date": "2021-06-11"
        }
      ],
      "works_remote": true,
      "addresses": [
        {
          "id": "123",
          "type": "primary",
          "string": "25 Spring Street, Blackburn, VIC 3130",
          "name": "HQ US",
          "line1": "Main street",
          "line2": "apt #",
          "line3": "Suite #",
          "line4": "delivery instructions",
          "street_number": "25",
          "city": "San Francisco",
          "state": "CA",
          "postal_code": "94104",
          "country": "US",
          "latitude": "40.759211",
          "longitude": "-73.984638",
          "county": "Santa Clara",
          "contact_name": "Elon Musk",
          "salutation": "Mr",
          "phone_number": "111-111-1111",
          "fax": "122-111-1111",
          "email": "elon@musk.com",
          "website": "https://elonmusk.com",
          "notes": "Address notes or delivery instructions.",
          "row_version": "1-12345"
        }
      ],
      "phone_numbers": [
        {
          "id": "12345",
          "country_code": "1",
          "area_code": "323",
          "number": "111-111-1111",
          "extension": "105",
          "type": "primary"
        }
      ],
      "emails": [
        {
          "id": "123",
          "email": "elon@musk.com",
          "type": "primary"
        }
      ],
      "custom_fields": [
        {
          "id": "2389328923893298",
          "name": "employee_level",
          "description": "Employee Level",
          "value": "Uses Salesforce and Marketo"
        }
      ],
      "social_links": [
        {
          "id": "12345",
          "url": "https://www.twitter.com/apideck",
          "type": "twitter"
        }
      ],
      "bank_accounts": [
        {
          "bank_name": "Monzo",
          "account_number": "123465",
          "account_name": "SPACEX LLC",
          "account_type": "credit_card",
          "iban": "CH2989144532982975332",
          "bic": "AUDSCHGGXXX",
          "routing_number": "012345678",
          "bsb_number": "062-001",
          "branch_identifier": "001",
          "bank_code": "BNH",
          "currency": "USD"
        }
      ],
      "tax_code": "1111",
      "tax_id": "234-32-0000",
      "dietary_preference": "Veggie",
      "food_allergies": [
        "No allergies"
      ],
      "probation_period": {
        "start_date": "2021-10-01",
        "end_date": "2021-11-28"
      },
      "tags": [
        "New"
      ],
      "custom_mappings": {},
      "row_version": "1-12345",
      "deleted": true,
      "updated_by": "12345",
      "created_by": "12345",
      "updated_at": "2020-09-30T07:43:32.000Z",
      "created_at": "2020-09-30T07:43:32.000Z",
      "pass_through": [
        {
          "service_id": "string",
          "operation_id": "string",
          "extend_object": {},
          "extend_paths": [
            {
              "path": "$.nested.property",
              "value": {
                "TaxClassificationRef": {
                  "value": "EUC-99990201-V1-00020000"
                }
              }
            }
          ]
        }
      ]
    },
    "schedules": [
      {
        "id": "12345",
        "start_date": "2022-04-08",
        "end_date": "2022-04-21",
        "work_pattern": {
          "odd_weeks": {
            "hours_monday": 8,
            "hours_tuesday": 8,
            "hours_wednesday": 4,
            "hours_thursday": 7.5,
            "hours_friday": 4,
            "hours_saturday": 0,
            "hours_sunday": 0
          },
          "even_weeks": {
            "hours_monday": 8,
            "hours_tuesday": 8,
            "hours_wednesday": 4,
            "hours_thursday": 7.5,
            "hours_friday": 4,
            "hours_saturday": 0,
            "hours_sunday": 0
          }
        }
      }
    ]
  }
}

Time Off Requests

The Time Off Requests model

idstring

A unique identifier for an object.

employee_idstring or null

ID of the employee

policy_idstring or null

ID of the policy

statusstring or null
Enum:requestedapproveddeclinedcancelled

The status of the time off request.

descriptionstring or null

Description of the time off request.

start_datestring or null

The start date of the time off request.

Time Off Requests example
{}

List Time Off Requests

get
https://unify.apideck.com/hris/time-off-requests

List Time Off Requests

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

cursorstring or null

Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.

limitinteger[ 1 .. 200 ]
Default:20

Number of results to return. Minimum 1, Maximum 200, Default 20

filterobjectfilter[start_date]=2022-04-08

Apply filters

pass_throughobjectpass_through[example_downstream_property]=example_downstream_property

Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200TimeOffRequests
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
ADP Workforce Now
AlexisHR
BambooHR
Breathe HR
IRIS Cascade HR
Cezanne HR
CharlieHR
Deel
Gusto
Hibob
HR Works
Humaans
Kenjo
Lucca
PayFit
Personio
Sage HR
SAP SuccessFactors
SD Worx (Web service)
RUN Powered by ADP
Request
AFAS Software
Request
Azure Active Directory
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
CIPHR
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Holded
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Loket.nl
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
Paylocity
Request
People HR
Request
Rippling
Request
Sapling
Request
SD Worx
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

try {
  const { data } = await apideck.hris.timeOffRequestsAll({})
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "bamboohr",
  "resource": "time-off-requests",
  "operation": "all",
  "data": [
    {
      "id": "12345",
      "employee_id": "12345",
      "policy_id": "12345",
      "status": "approved",
      "description": "Enjoying some sun.",
      "start_date": "2022-04-01",
      "end_date": "2022-04-01",
      "request_date": "2022-03-21",
      "request_type": "vacation",
      "approval_date": "2022-03-21",
      "units": "hours",
      "amount": 3.5,
      "day_part": "morning",
      "notes": {
        "employee": "Relaxing on the beach for a few hours.",
        "manager": "Enjoy!"
      },
      "custom_mappings": {},
      "updated_by": "12345",
      "created_by": "12345",
      "updated_at": "2020-09-30T07:43:32.000Z",
      "created_at": "2020-09-30T07:43:32.000Z",
      "policy_type": "sick"
    }
  ],
  "meta": {
    "items_on_page": 50,
    "cursors": {
      "previous": "em9oby1jcm06OnBhZ2U6OjE=",
      "current": "em9oby1jcm06OnBhZ2U6OjI=",
      "next": "em9oby1jcm06OnBhZ2U6OjM="
    }
  },
  "links": {
    "previous": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjE%3D",
    "current": "https://unify.apideck.com/crm/companies",
    "next": "https://unify.apideck.com/crm/companies?cursor=em9oby1jcm06OnBhZ2U6OjM"
  }
}

Create Time Off Request

post
https://unify.apideck.com/hris/time-off-requests

Create Time Off Request

Authorizations:

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
employee_idstring or null

ID of the employee

policy_idstring or null

ID of the policy

statusstring or null
Enum:requestedapproveddeclinedcancelled

The status of the time off request.

descriptionstring or null

Description of the time off request.

start_datestring or null

The start date of the time off request.

end_datestring or null

The end date of the time off request.

request_datestring or null

The date the request was made.

request_typestring or null
Enum:vacationsickpersonaljury_duty

The type of request

approval_datestring or null

The date the request was approved

unitsstring or null
Enum:dayshoursother

The unit of time off requested. Possible values include: hours, days, or other.

amountnumber or null

The amount of time off requested.

day_partstring or null

The day part of the time off request.

notesobject
pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

policy_typestring

The policy type of the time off request

Responses

201TimeOffRequests
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
Hibob
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "employee_id": "12345",
  "policy_id": "12345",
  "status": "approved",
  "description": "Enjoying some sun.",
  "start_date": "2022-04-01",
  "end_date": "2022-04-01",
  "request_date": "2022-03-21",
  "request_type": "vacation",
  "approval_date": "2022-03-21",
  "units": "hours",
  "amount": 3.5,
  "day_part": "morning",
  "notes": {
    "employee": "Relaxing on the beach for a few hours.",
    "manager": "Enjoy!"
  },
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ],
  "policy_type": "sick"
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "bamboohr",
  "resource": "time-off-requests",
  "operation": "add",
  "data": {
    "id": "12345"
  }
}

Get Time Off Request

get
https://unify.apideck.com/hris/time-off-requests/employees/{employee_id}/time-off-requests/{id}

Get Time Off Request

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

employee_idstring
required

ID of the employee you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

fieldsstring or null

The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: fields=name,email,addresses.city

In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.

Responses

200TimeOffRequests
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
AlexisHR
BambooHR
Breathe HR
IRIS Cascade HR
Cezanne HR
CharlieHR
Gusto
Hibob
HR Works
Humaans
Lucca
Personio
Sage HR
SAP SuccessFactors
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
Azure Active Directory
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Holded
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Rippling
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

const params = {
  id: 'id_example',
  employeeId: 'employee_id_example'
}

try {
  const { data } = await apideck.hris.timeOffRequestsOne(params)
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "bamboohr",
  "resource": "time-off-requests",
  "operation": "one",
  "data": {
    "id": "12345",
    "employee_id": "12345",
    "policy_id": "12345",
    "status": "approved",
    "description": "Enjoying some sun.",
    "start_date": "2022-04-01",
    "end_date": "2022-04-01",
    "request_date": "2022-03-21",
    "request_type": "vacation",
    "approval_date": "2022-03-21",
    "units": "hours",
    "amount": 3.5,
    "day_part": "morning",
    "notes": {
      "employee": "Relaxing on the beach for a few hours.",
      "manager": "Enjoy!"
    },
    "custom_mappings": {},
    "updated_by": "12345",
    "created_by": "12345",
    "updated_at": "2020-09-30T07:43:32.000Z",
    "created_at": "2020-09-30T07:43:32.000Z",
    "policy_type": "sick"
  }
}

Update Time Off Request

patch
https://unify.apideck.com/hris/time-off-requests/employees/{employee_id}/time-off-requests/{id}

Update Time Off Request

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

employee_idstring
required

ID of the employee you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Request body schema

application/json
employee_idstring or null

ID of the employee

policy_idstring or null

ID of the policy

statusstring or null
Enum:requestedapproveddeclinedcancelled

The status of the time off request.

descriptionstring or null

Description of the time off request.

start_datestring or null

The start date of the time off request.

end_datestring or null

The end date of the time off request.

request_datestring or null

The date the request was made.

request_typestring or null
Enum:vacationsickpersonaljury_duty

The type of request

approval_datestring or null

The date the request was approved

unitsstring or null
Enum:dayshoursother

The unit of time off requested. Possible values include: hours, days, or other.

amountnumber or null

The amount of time off requested.

day_partstring or null

The day part of the time off request.

notesobject
pass_throughobjects

The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.

policy_typestring

The policy type of the time off request

Responses

200TimeOffRequests
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

{
  "employee_id": "12345",
  "policy_id": "12345",
  "status": "approved",
  "description": "Enjoying some sun.",
  "start_date": "2022-04-01",
  "end_date": "2022-04-01",
  "request_date": "2022-03-21",
  "request_type": "vacation",
  "approval_date": "2022-03-21",
  "units": "hours",
  "amount": 3.5,
  "day_part": "morning",
  "notes": {
    "employee": "Relaxing on the beach for a few hours.",
    "manager": "Enjoy!"
  },
  "pass_through": [
    {
      "service_id": "string",
      "operation_id": "string",
      "extend_object": {},
      "extend_paths": [
        {
          "path": "$.nested.property",
          "value": {
            "TaxClassificationRef": {
              "value": "EUC-99990201-V1-00020000"
            }
          }
        }
      ]
    }
  ],
  "policy_type": "sick"
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "bamboohr",
  "resource": "time-off-requests",
  "operation": "update",
  "data": {
    "id": "12345"
  }
}

Delete Time Off Request

delete
https://unify.apideck.com/hris/time-off-requests/employees/{employee_id}/time-off-requests/{id}

Delete Time Off Request

Authorizations:

Path parameters

idstring
required

ID of the record you are acting upon.

employee_idstring
required

ID of the employee you are acting upon.

Header parameters

x-apideck-consumer-idstring
required

ID of the consumer which you want to get or push data from

x-apideck-app-idstring
required

The ID of your Unify application

x-apideck-service-idstring

Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.

Query parameters

rawboolean
Default:false

Include raw response. Mostly used for debugging purposes

Responses

200TimeOffRequests
400Bad Request
401Unauthorized
402Payment Required
404The specified resource was not found
422Unprocessable

Mapping coverage per connector

ADP iHCM
Hibob
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Request example

Node
import { Apideck } from '@apideck/node'

const apideck = new Apideck({
  apiKey: 'REPLACE_WITH_API_KEY',
  appId: 'REPLACE_WITH_APP_ID',
  consumerId: 'REPLACE_WITH_CONSUMER_ID'
})

const params = {
  id: 'id_example',
  employeeId: 'employee_id_example'
}

try {
  const { data } = await apideck.hris.timeOffRequestsDelete(params)
  console.log('API called successfully', data)
} catch (error) {
  console.error(error)
}

Response example

{
  "status_code": 200,
  "status": "OK",
  "service": "bamboohr",
  "resource": "time-off-requests",
  "operation": "delete",
  "data": {
    "id": "12345"
  }
}

Webhook Events

Employee Created
Webhook

Event broadcast when an employee has been created.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.

Mapping coverage per connector

ADP iHCM
virtual event
RUN Powered by ADP
virtual event
ADP Workforce Now
virtual event
AFAS Software
virtual event
AlexisHR
virtual event
Azure Active Directory
virtual event
BambooHR
virtual event
Breathe HR
virtual event
IRIS Cascade HR
virtual event
CatalystOne
virtual event
Ceridian Dayforce
virtual event
CharlieHR
virtual event
Deel
virtual event
Employment Hero
virtual event
Factorial
native event
Folks HR
virtual event
Freshteam
virtual event
Google Workspace
virtual event
Gusto
virtual event
Hibob
virtual event
Holded
virtual event
Humaans
virtual event
Justworks
virtual event
Loket.nl
virtual event
Lucca
virtual event
Microsoft Dynamics 365 Human Resources
virtual event
Namely
virtual event
Visma Nmbrs
virtual event
Officient
native event
Okta
native event
OneLogin
native event
Paychex
virtual event
PayFit
virtual event
Paylocity
virtual event
People HR
virtual event
Personio
virtual event
Rippling
native event
Sage HR
virtual event
SAP SuccessFactors
virtual event
Sapling
virtual event
SD Worx
virtual event
UKG Pro
virtual event
Workday
virtual event
Zenefits
virtual event
Zoho People
virtual event
Cegid Talentsoft
Request
Cezanne HR
Request
CIPHR
Request
HR Works
Request
JumpCloud
Request
Keka HR
Request
Kenjo
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.employee.created",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/employees/123456ASDF",
    "entity_type": "employee",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}

Employee Updated
Webhook

Event broadcast when an employee has been updated.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.

Mapping coverage per connector

ADP iHCM
virtual event
RUN Powered by ADP
virtual event
ADP Workforce Now
virtual event
AFAS Software
virtual event
AlexisHR
virtual event
Azure Active Directory
virtual event
BambooHR
virtual event
Breathe HR
virtual event
IRIS Cascade HR
virtual event
CatalystOne
virtual event
CharlieHR
virtual event
Deel
virtual event
Employment Hero
virtual event
Factorial
native event
Folks HR
virtual event
Freshteam
virtual event
Google Workspace
virtual event
Gusto
virtual event
Hibob
virtual event
Holded
virtual event
Humaans
virtual event
Justworks
virtual event
Loket.nl
virtual event
Lucca
virtual event
Microsoft Dynamics 365 Human Resources
virtual event
Namely
virtual event
Visma Nmbrs
virtual event
Officient
native event
Okta
native event
OneLogin
native event
Paychex
virtual event
PayFit
virtual event
Paylocity
virtual event
People HR
virtual event
Personio
virtual event
Rippling
native event
Sage HR
virtual event
SAP SuccessFactors
virtual event
Sapling
virtual event
SD Worx
virtual event
UKG Pro
virtual event
Workday
virtual event
Zenefits
virtual event
Zoho People
virtual event
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CIPHR
Request
HR Works
Request
JumpCloud
Request
Keka HR
Request
Kenjo
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.employee.updated",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/employees/123456ASDF",
    "entity_type": "employee",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}

Employee Terminated
Webhook

Event broadcast when an employee has been terminated.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.

Mapping coverage per connector

ADP Workforce Now
virtual event
AFAS Software
virtual event
AlexisHR
virtual event
BambooHR
virtual event
Breathe HR
virtual event
IRIS Cascade HR
virtual event
CatalystOne
virtual event
Deel
virtual event
Employment Hero
virtual event
Factorial
native event
Folks HR
virtual event
Freshteam
virtual event
Gusto
virtual event
Hibob
virtual event
Humaans
virtual event
Justworks
virtual event
Lucca
virtual event
Microsoft Dynamics 365 Human Resources
virtual event
Namely
virtual event
Officient
native event
Okta
native event
PayFit
virtual event
People HR
virtual event
Personio
virtual event
Rippling
native event
Sage HR
virtual event
SAP SuccessFactors
virtual event
Sapling
virtual event
SD Worx
virtual event
Workday
virtual event
Zoho People
virtual event
ADP iHCM
Request
RUN Powered by ADP
Request
Azure Active Directory
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Google Workspace
Request
Holded
Request
HR Works
Request
JumpCloud
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Visma Nmbrs
Request
OneLogin
Request
Paychex
Request
Paylocity
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Zenefits
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.employee.terminated",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/employees/123456ASDF",
    "entity_type": "employee",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}

Employee Deleted
Webhook

Event broadcast when an employee has been deleted.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.

Mapping coverage per connector

Okta
native event
OneLogin
native event
Rippling
native event
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.employee.deleted",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/employees/123456ASDF",
    "entity_type": "employee",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}

Company Created
Webhook

Event broadcast when a company has been created.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Rippling
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.company.created",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/companies/123456ASDF",
    "entity_type": "company",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}

Company Updated
Webhook

Event broadcast when a company has been updated.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.

Mapping coverage per connector

Rippling
native event
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.company.updated",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/companies/123456ASDF",
    "entity_type": "company",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}

Company Deleted
Webhook

Event broadcast when a company has been deleted.

Header parameters

x-apideck-event-typestring
required
Enum:*hris.employee.createdhris.employee.updatedhris.employee.terminated

The type of event that was triggered

x-apideck-idempotency-keystring
required

An idempotency key is a unique value generated to recognize subsequent retries/duplicates of the same request.

Request body schema

application/json
payloadobject

Responses

200Return a 200 status to indicate that the data was received successfully.

Mapping coverage per connector

Rippling
native event
ADP iHCM
Request
RUN Powered by ADP
Request
ADP Workforce Now
Request
AFAS Software
Request
AlexisHR
Request
Azure Active Directory
Request
BambooHR
Request
Breathe HR
Request
IRIS Cascade HR
Request
CatalystOne
Request
Cegid Talentsoft
Request
Ceridian Dayforce
Request
Cezanne HR
Request
CharlieHR
Request
CIPHR
Request
Deel
Request
Employment Hero
Request
Factorial
Request
Folks HR
Request
Freshteam
Request
Google Workspace
Request
Gusto
Request
Hibob
Request
Holded
Request
HR Works
Request
Humaans
Request
JumpCloud
Request
Justworks
Request
Keka HR
Request
Kenjo
Request
Loket.nl
Request
Lucca
Request
Microsoft Dynamics 365 Human Resources
Request
Namely
Request
Visma Nmbrs
Request
Officient
Request
Okta
Request
OneLogin
Request
Paychex
Request
PayFit
Request
Paylocity
Request
People HR
Request
Personio
Request
Sage HR
Request
SAP SuccessFactors
Request
Sapling
Request
SD Worx
Request
SD Worx (Web service)
Request
Sesame HR
Request
Silae
Request
Sympa
Request
TriNet
Request
UKG Pro
Request
Workday
Request
Zenefits
Request
Zoho People
Request

Example Event

Payload
{
  "payload": {
    "event_type": "hris.company.deleted",
    "unified_api": "hris",
    "service_id": "bamboo",
    "consumer_id": "test_user_id",
    "event_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "entity_id": "123456ASDF",
    "entity_url": "https://unify.apideck.com/hris/companies/123456ASDF",
    "entity_type": "company",
    "occurred_at": "2020-01-01T00:00:00.000Z"
  }
}