openapi: 3.0.2
info:
title: Holistics API
version: '2.0'
description: >
# Introduction
Using these APIs, you are able to programmatically work with Holistics. For
example:
- You can programmatically retrieve CSV, XLSX, etc. data from any Holistics
report.
- You can use our API to trigger execution of an data schedule, transform or
data import.
etc...
This is useful especially if you need to pass live data to your other
applications.
For example, you may want to feed a live CSV endpoint of your user
segmentation list into your email marketing application so that you can
always get fresh data upon retrieving them.
**NOTE**: Please note that Holistics **API version** does not correlate with
Holistics **feature version**.
For example, Holistics API v2 can support operations on all Holistics 2.0,
2.7 and 3.0.
# Data center regions
API data is limited to specific regions. For example, if your want to access
data from the US region, you need to use the subdomain
https://us.holistics.io.
Below is the API subdomain corresponding with data center's region.
|Region | URL |
|----------------------|------------------------------------|
|Asia-Pacific (APAC) | https://secure.holistics.io/api/v2 |
|Europe (EU) | https://eu.holistics.io/api/v2 |
|United States (US) | https://us.holistics.io/api/v2 |
If you do not know which data center your Holistics' account is currently
on, check out this
[docs](https://docs.holistics.io/docs/data-centers#how-do-i-know-which-data-center-im-on).
# Authentication
API V1 | \nAPI V2 | \nChanges | \n
[User] Get all users in a tenant with full information | \nGET - List users | \n\n
| \n
[User] Invite a new user to Holistics | \nPOST - Invite Multiple Users | \nV2 allows inviting multiple emails with additional user settings, including API usage, group IDs, and data export permissions | \n
[User] Resend invitation to user | \nPOST - Resend invitation to user | \n\n
| \n
[User] Soft-delete a user | \nDEL - Delete a user | \n\n |
[User] Restore a deleted user | \nPOST - Restore a deleted user | \n\n |
[User] Allow/ Revoke a user's API access | \nPUT - Update user | \nBy setting attribute: allow_authentication_token: boolean | \n
[User] Revoke Authentication Token from a user | \nPUT - Update user (Upcoming) \n | \n \n |
[User] Check whether email address is already used for a user in Holistics | \nGET - Check whether an email address is already used for a user in your Holistics workspace | \n\n |
[User] Change user role in Holistics | \nPUT - Update user | \nBy setting attribute: “role”: enum remove_groups: passing empty group_ids | \n
[Group] Get all groups in a tenant | \nGET - List Groups | \n\n
| \n
[Group] Create a new group | \nPOST - Create Group | \nResponse’s structure change | \n
[Group] Update information of an existing group | \nPUT - Update a Group | \nNow included user_ids in groups | \n
[Group] Delete an existing group | \nDEL - Delete a Group | \n\n |
[Group] Add a user into a group | \nPOST - Add User to Group | \n\n |
[Group] Remove a user from a group | \nPOST - Remove User from Group | \n\n |