Introist Knowledge Base
  • 👋Welcome
  • ▶️Start
    • Getting started
      • Prepare your Workspace
      • Invite users
      • Connect accounts
      • Build your first Workflow
      • Add your first Employee
      • Create your first Automation
      • Manage your first Automation
      • Activate Notifications
    • Automate your automations
      • Sync Employee data automatically
      • Start Automations automatically
    • What next
  • 📚Learn
    • Comprehensive Automation
    • Key Concepts
      • Employees
      • Workflows
      • Automations
      • Triggers
      • Data Sources
    • Deep Dive
      • Understanding Target Dates in Workflows
      • Understanding Timezones in Workflows
  • 🏗️Build
    • Employees
      • Employee Fields
        • Create Employee Field
        • Modify Employee Field
        • Categorise Employee Fields
        • Archive Employee Field
        • Linked Employee Field
      • Create Employee
      • Modify Employee
      • Employee Groups
        • Create Employee Group
        • Modify Employee Group
        • Archive Employee Group
    • Workflows
      • Create Workflow
      • Add Workflow Step
      • Workflow Settings
      • Archive Workflow
      • Organizing Workflows
        • Create Folder
        • How to Move Workflows into a Folder
        • Delete Folder
    • Workflow steps
      • Email message
      • Slack messages
        • Slack Channel Message
          • Adding Introist App to a Private Channel
        • Slack Direct Message
          • Add an Attachment to Slack Direct Message
        • Slack Question Message
      • Meetings
        • Create a Meeting step
        • Set up automatic time finding
        • Set up selecting meeting room
        • Meeting settings
        • Managing scheduled meetings
      • Workflow trigger
      • Step settings
        • Step cut-off time
    • Automations
      • Create Automation (manually)
      • Reschedule Automation
      • Reschedule Step
      • Execute Step
      • Cancel Step
      • Cancel Automation
    • Triggers
      • Create Trigger
      • Manage Trigger
      • Trigger Settings
      • Archive Trigger
    • Data Sources
      • Setting Up Automatic Sync
      • Severa
      • Push API
      • Teamtailor
      • Excel Sheet in Sharepoint
    • Workspace
      • Workspace Members
      • Timezone & Date Format
      • Linked Accounts
        • Connect Linked Account
        • Reconnect Linked Account
        • Archive Linked Account
        • Using Quick-Connect Link for Easy Account Linking
        • Using Shared Google Calendars
    • Notifications
    • Introist AI
      • Setting up Introist AI
        • Setting up OpenAI account
        • AI settings
        • Analyse writing style
      • Write message with AI
      • Draft step with AI
      • Revoke AI access
    • Settings
      • Meeting rooms
    • Tips & Tricks
  • ⚙️Admin
    • Setting up SSO
    • Security Auditing
    • Responsible Disclosure
    • Deleting Workspace
Powered by GitBook
On this page
  • Overview
  • Creating Push API Data source
  • Batch endpoint
  • Authentication
  • Request Body
  • Example Request
  • Common Issues and Troubleshooting

Was this helpful?

  1. Build
  2. Data Sources

Push API

Overview

The Introist Push API allows you to push employee related data into Introist. This guide explains how to use the API endpoint, including the required authentication and JSON body format.

Creating Push API Data source

To create a Push API data source, navigate to Data ⇒ Data Sources.

Click "Connect Data Source" and select "Push API".

In the creation form, you may give a more descriptive name for the source as well as set an API key of your choosing. Make sure you have the API key stored in some secure password management solution as you will not see it again.

Click "Connect" and a new data source is created. You are ready to start pushing data!

Batch endpoint

  • Method: POST

  • URL: https://api.introist.com/ds/push/<datasource-id>/batch

  • Replace <datasource-id> with the unique identifier for your data source that you can find from data source listing ⇒ Click more (three dots) for your Push API data source and then "Show params".

Authentication

To access this endpoint, you need an API key. Include the following header in your request:

Authorization: Bearer <api-key>
  • Replace <api-key> with your actual API key.

  • You have set your API key while creating the Push API data source.

Request Body

The request body must be a valid JSON array of objects. Currently there is no limit how many individual entries you may include in a single request. It is advisable to be mindful as the request time will increase if you include a large number of entries.

Below is an example format:

[{
  "id": "unique-identifier",
  "field1": "value1",
  "field2": "value2",
  ...
}]

Every entry must include the field id which uniquely identifies the employee in question.

Replace field1, field2, etc., with the fields and values specific to your use case. For detailed field requirements, consult the documentation or your account representative.

Example Request

Here is an example of a cURL request:

curl -X POST "https://api.introist.com/ds/push/1234/batch" \
-H "Authorization: Bearer 1234abcd" \
-H "Content-Type: application/json" \
-d '[{
  "id": "12345",
  "firstname": "John",
  "lastname": "Doe"
}]'

Common Issues and Troubleshooting

  1. 401 Unauthorized Ensure your API key is valid and included in the request headers.

  2. 404 Not Found Confirm the datasource-id is correct and exists in your account.

  3. 400 Bad Request Verify the JSON body format.

PreviousSeveraNextTeamtailor

Last updated 3 months ago

Was this helpful?

🏗️