Gainsight Users API

Manage Gainsight users

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /users List Gainsight users · Gainsight List users #
Ask an LLM
“Who are the users in my Gainsight instance?”
“Can I page through users by page number?”
Tell an agent
List users, page {pageNumber}.
Show all Gainsight users, {pageSize} per page.
POST /users Create or update a product user · Gainsight Create or update a user #
Ask an LLM
“How do I add an end user to Gainsight PX, or overwrite them if they exist?”
“Can I link a new PX user to an account when creating them?”
Tell an agent
Upsert PX user {identifyId} with email {email}.
Create or update user {identifyId} on account {accountId} with role {role}.
GET /users/{userId} Get a Gainsight user · Gainsight Get a user #
Ask an LLM
“Where can I look up a Gainsight user by user ID?”
“What details are stored for one user?”
Tell an agent
Get user {userId}.
Show the Gainsight user record {userId}.
PUT /users/{userId} Change a user's license or role · Gainsight Update a user #
Ask an LLM
“Can I change a Gainsight user's license type or user type?”
“Is it possible to update a user's role and email in Gainsight?”
Tell an agent
Set license type {LicenseType} for user {userId}.
Change user {userId}'s role to {Role} and user type to {UserType}.
PATCH /users/{userId} Partially update a product user · Gainsight Update a user #
Ask an LLM
“Can I patch just a PX user's title or phone?”
“Can a PX user be moved to a different account?”
Tell an agent
Patch user {userId} ({identifyId}) with title {title}.
Move PX user {userId} ({identifyId}) to account {accountId}.
DELETE /users/{userId} Delete a product user · Gainsight Delete a user #
Ask an LLM
“Can I delete a user from Gainsight PX by user ID?”
“How is a PX user removed?”
Tell an agent destructive · confirm first
Delete user {userId}.
Remove user {userId} from Gainsight PX.
POST /users/{userId}/deactivate Deactivate a user · Gainsight Deactivate a user #
Ask an LLM
“Is there a way to deactivate a user without deleting them?”
“Can I disable a Gainsight user account?”
Tell an agent destructive · confirm first
Deactivate user {userId}.
Disable the account of user {userId}.
GET /v1/users Filter users with the v1 API · Get users #
Ask an LLM
“Which users match a filter such as role or last seen date?”
“Does the v1 user listing support sorting and scroll paging?”
Tell an agent
Get v1 users matching {filter}.
List v1 users sorted by {sort}.
POST /v1/users Create a user with product tag keys · Create user #
Ask an LLM
“What does the v1 endpoint require to create a user?”
“Can I set a Salesforce contact ID when creating a v1 user?”
Tell an agent
Create v1 user {identifyId} under product key {propertyKeys}.
Add v1 user {identifyId} ({propertyKeys}) with email {email} and account {accountId}.
DELETE /v1/users/delete Delete a user whose ID has special characters · Delete user (identifyId passed via request body) #
Ask an LLM
“How do I delete a user whose identify ID can't go in the URL?”
“Is there a delete that takes the user ID in the request body?”
Tell an agent destructive · confirm first
Delete user {identifyId}, passing the ID in the body.
Hard-delete ({hardDelete}) body-identified user {identifyId}.
GET /v1/users/denylist/{identifyId} Check whether a user is denylisted · Get user Denylist flag #
Ask an LLM
“Is a given user on the denylist?”
“Are a user's events being ignored by PX?”
Tell an agent
Check the denylist flag for user {identifyId}.
Tell me if user {identifyId} is denied.
PUT /v1/users/denylist/{identifyId} Denylist a user · Update user Denylist flag #
Ask an LLM
“Can I make PX ignore all events from a test user?”
“Can I take a user off the denylist?”
Tell an agent
Set the denylist flag for user {identifyId} to {denied}.
Stop recording events from user {identifyId} by setting denied to {denied}.
PUT /v1/users/update Update a user whose ID has special characters · Update user (identifyId passed via request body) #
Ask an LLM
“How do I update a user whose identify ID can't go in the URL path?”
“Is there a v1 update that takes the user ID in the body?”
Tell an agent
Update user {identifyId} (ID in body) with product key {propertyKeys}.
Change the email of body-identified user {identifyId} to {email}, key {propertyKeys}.
GET /v1/users/{identifyId} Get a user with the v1 API · Get user #
Ask an LLM
“What does a user's full v1 profile contain when fetched by identify ID?”
“Can I see a user's number of visits and last seen date?”
Tell an agent
Retrieve v1 user {identifyId}.
Show visits and last seen date for user {identifyId}.
PUT /v1/users/{identifyId} Replace a user's data by identify ID · Update user #
Ask an LLM
“Can I overwrite a v1 user's record using the identify ID in the URL?”
“Can I update a user's title through the v1 API?”
Tell an agent
Replace v1 user {identifyId} with body ID {bodyIdentifyId} and product key {propertyKeys}.
Set v1 user {identifyId}'s title to {title} (body ID {bodyIdentifyId}, key {propertyKeys}).
DELETE /v1/users/{identifyId} Delete a user by identify ID · Delete user #
Ask an LLM
“If I delete a user and they come back within 7 days, is their history revived?”
“How do I permanently delete a user so they can't be revived?”
Tell an agent destructive · confirm first
Delete v1 user {identifyId}.
Hard-delete user {identifyId} with hardDelete {hardDelete}.

Documentation

📖
Documentation
https://support.gainsight.com/PX/API_for_Developers
📖
Authentication
https://support.gainsight.com/PX/API_for_Developers/02About/Authentication
📖
Documentation
https://support.gainsight.com/PX/API_for_Developers/APIs_for_Developers/PX_API
📖
Documentation
https://gainsightpx.docs.apiary.io/
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Company_and_Relationship_API/Company_API_Documentation
📖
Authentication
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Generate_REST_API/Generate_REST_API_Key
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Person_API/People_API_Documentation
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Custom_Object_API/Gainsight_Custom_Object_API_Documentation
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Cockpit_API/Call_To_Action_(CTA)_API_Documentation
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Timeline_API/Timeline_APIs
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Success_Plan_APIs/Success_Plan_APIs
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Data_Management_APIs/Data_Management_APIs
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Bulk_API/Gainsight_Bulk_REST_APIs
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Bulk_API/Gainsight_Bulk_API
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Events_API/Events_API
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/User_Management_APIs/User_Management_APIs
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/User_Management_APIs/SCIM_API
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/User_Management_APIs/API_for_Company_Team_Record
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Customer_Goals_API/Customer_Goals_APIs
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Renewal_Center_API/Renewal_Center_API
📖
Documentation
https://support.gainsight.com/gainsight_nxt/API_and_Developer_Docs/Cockpit_API/Task_APIs

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gainsight:gainsight-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gainsight-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gainsight Users API
  version: '1.0'
  description: 'Operations tagged Users across 3 of this provider''s published API definitions: gainsight-cs-user-management-api-openapi.yml, gainsight-px-api-openapi.yml, gainsight-users-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{domain}.gainsightcloud.com/v1
  description: Gainsight CS Production
  variables:
    domain:
      default: customer
      description: Customer-specific domain prefix
- url: https://api.aptrinsic.com/v1
  description: Gainsight PX Production API
- url: https://api.aptrinsic.com/
tags:


# --- truncated at 32 KB (33 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/gainsight/refs/heads/main/openapi/gainsight-users-api-openapi.yml