Skip to content

IntegrationsAnalytics

Gainsight PX API integration

Put Gainsight PX in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1,150+ apps

01Proxy API

Call the Gainsight PX API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Gainsight PX API. You call us, we call Gainsight PX, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIGainsight PX

GEThttps://api.truto.one/proxy/users?integrated_account_id=…

  • GET/proxy/accounts
  • GET/proxy/segments
  • GET/proxy/articles
  • GET/proxy/engagements

Gainsight PX’s own response, passed back

02MCP server

Gainsight PX tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Gainsight PX tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Gainsight PX
  • UsersList, Get one, Create, Update, Delete, Delete by body, Get denylist flag, Update by body, Update denylist flag
  • AccountsList, Get one, Create, Update, Delete, Update by body
  • SegmentsList, Get one
  • Subscription detailsList
  • ArticlesList, Get one
  • Custom eventsList, Create
  • Email eventsList
  • Engagement collisionsList
  • Engagement error detailsList
  • Engagement errorsList
  • Engagement view eventsList
  • EngagementsList, Get one, Delete, List extended, Update environment, Update environments, Update state
  • External segmentsCreate, Update membership, Update metadata
  • Feature adoptionList
  • Feature match eventsList
  • FeaturesList, Get one, Update, Backfill
  • Features extendedList
  • Form submit eventsList
  • Identify eventsList
  • Integration statusesList
  • Kc botsList, Get one, Update state
  • Lead eventsList
  • Model attributesList
  • Page view eventsList
  • Segment match eventsList
  • Session eventsList
  • Subscription usersList
  • Survey engagement metadataList
  • Survey responsesList
  • User preferencesGet one, Update, Get by body, Update by body
  • User preferences v 2Get one, Update, Get by body, Update by body
  • LocalizationExport articles, Export content, Export engagements, Export kc bots, Import articles, Import content, Import engagements, Import kc bots
Show tool names74 tools, for developers
  • list_all_gainsight_px_usersGet users. Retrieves users. Supports filtering, sorting and paging. Paged with scrollId: pass the scrollId from the previous response to get the next page.
  • get_single_gainsight_px_user_by_idGet user. Retrieves the user with the given id The id is the identifyId.
  • update_a_gainsight_px_user_by_idUpdate user. Updates an user with the given data The id is the identifyId.
  • delete_a_gainsight_px_user_by_idDelete user. Deletes a user The id is the identifyId.
  • create_a_gainsight_px_userCreate user. Creates a new user with the given data
  • gainsight_px_users_delete_by_bodyDelete user (identifyId passed via request body). Deletes a user with identifyId specified in delete body This delete method is useful when the identify ID contains special characters that make it impossible to use the delete method with the identifyId in the request path.
  • gainsight_px_users_get_denylist_flagGet user Denylist flag. Returns true if the user is marked as denied
  • gainsight_px_users_update_by_bodyUpdate user (identifyId passed via request body). Updates a user with identifyId specified in the request body. This update method is useful when the identify ID contains special characters that make it impossible to use the update method with the identifyId in the request path.
  • gainsight_px_users_update_denylist_flagUpdate user Denylist flag. Setting the Denylist flag to true will make Gainsight PX to ignore all of the user's events.
  • list_all_gainsight_px_accountsGet accounts. Retrieves accounts. Supports filtering, sorting and paging. Paged with scrollId: pass the scrollId from the previous response to get the next page.
  • create_a_gainsight_px_accountCreate account. Creates a new account with the given data
  • delete_a_gainsight_px_account_by_idDelete account. Deletes Account Note: Performs a cascading delete of all users associated with the account The id is the accountId.
  • get_single_gainsight_px_account_by_idGet account. Retrieves the account with the given id The id is the accountId.
  • update_a_gainsight_px_account_by_idUpdate account. Updates an account with the given data The id is the accountId.
  • gainsight_px_accounts_update_by_bodyUpdate account (accountId passed via request body). Updates an account with accountId specified in the request body. This update method is useful when the account ID contains special characters that make it impossible to use the update method with the accountId in the request path.
  • list_all_gainsight_px_segmentsGet segments. Retrieves segments. Supports paging. Examples: Pages are zero-based (pageNumber).
  • get_single_gainsight_px_segment_by_idGet segment. Retrieves the segment with the given id The id is the segmentId.
  • list_all_gainsight_px_subscription_detailsGet Subscription detail. Retrieves Subscription detail for the current sub
  • get_single_gainsight_px_article_by_idGet Article. Retrieves article with the given article Id Examples: The id is the articleId.
  • list_all_gainsight_px_articlesGet Articles. Fetch metadata for Articles from your PX Subscription. The API provides you with the summary of basic information of each article that makes it easy to work with specific data. Examples: Paged automatically: use limit for the page size and next_cursor for the next page.
  • create_a_gainsight_px_custom_eventCreate custom event. Creates custom event with the given data
  • list_all_gainsight_px_custom_eventsGet Custom events. Retrieves custom events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_email_eventsGet Email events. Retrieves Email events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_engagement_collisionsGet engagement collisions. Retrieves engagement collision events. Will return one row for each engagement collision in the given date range. Supports filtering and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_engagement_error_detailsGet engagement error details. Retrieves engagement error details. Will return one row for each engagement error. Examples:
  • list_all_gainsight_px_engagement_errorsGet engagement errors summary. Retrieves engagement error summary. Will return one row for each engagement that has errors in the given date range. Supports filtering and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_engagement_view_eventsGet Engagement View events. Retrieves Engagement View events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • delete_a_gainsight_px_engagement_by_iddeleteEngagement. The id is the engagementId. Gainsight may answer with HTTP 500 even though the engagement is deleted; confirm with engagements.get (404).
  • get_single_gainsight_px_engagement_by_idGet engagement. Retrieves the engagement with the given id The id is the engagementId.
  • list_all_gainsight_px_engagementsGet engagements. Retrieves engagements. Supports paging. Examples: Paged automatically: use limit for the page size and next_cursor for the next page.
  • gainsight_px_engagements_list_extendedGet engagements with list of custom events from rules. Retrieves engagements with list of custom events that are used in the audience rule, either directly or indirectly via a feature match. Supports paging. Examples:
  • gainsight_px_engagements_update_environmentSet engagement environment. Move engagement between environments.
  • gainsight_px_engagements_update_environmentsSet engagement environments. Move engagement between environments.
  • gainsight_px_engagements_update_stateSet engagement state. Pauses or starts an engagement. Only launched engagements can be started or paused (a never-launched draft returns 500); START also needs the API key's Production Launch permission.
  • create_a_gainsight_px_external_segmentcreateExternalSegment.
  • gainsight_px_external_segments_update_membershipUpdate External Segment membership. Updates External Segment membership Each add/remove item's segmentId must be the external segment's externalId (as passed to external_segments.create), not its Gainsight id; identities are identifyIds when identityType is IDENTIFY_ID. Verified live 2026-11-18.
  • gainsight_px_external_segments_update_metadataupdateExternalSegment.
  • list_all_gainsight_px_feature_adoptionGet feature adoption statistics. Retrieves the feature adoption numbers for a specific feature and date range. If dateRangeEnd is not specified, defaults to the current time. Max date range is 7 days. The date range can be at most 7 days.
  • list_all_gainsight_px_feature_match_eventsGet feature match events. Retrieves feature match events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • gainsight_px_features_backfillRequest backfill for feature. Requests that PX begin a backfill operation for the feature with the given ID
  • get_single_gainsight_px_feature_by_idGet feature. Retrieves the feature with the given id The id is the featureId.
  • list_all_gainsight_px_featuresGet features. Retrieves features. Supports paging. Examples: Paged automatically: use limit for the page size and next_cursor for the next page.
  • update_a_gainsight_px_feature_by_idUpdate feature. Updates a feature with the given data Does not support editing labels Supported Fields: The id is the featureId. Updates name, type, parent and labels; setting status to DELETED is ignored (delete features in the Product Mapper UI).
  • list_all_gainsight_px_features_extendedgetFeaturesExtended. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_form_submit_eventsGet formSubmit events. Retrieves Form Submit events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_identify_eventsGet Identify events. Retrieves Identify events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_integration_statusesGet integration statuses. Retrieves the current statuses for the configured integrations. Will return one row for each integration. Example:
  • get_single_gainsight_px_kc_bot_by_idGet KC Bot. Retrieves a KC Bot with the given Id Examples: The id is the kcId.
  • list_all_gainsight_px_kc_botsGet KC Bots. Fetch metadata for KC Bots from your PX Subscription. The API provides you with the summary of basic information of each KC Bot that makes it easy to work with specific data. Examples: Paged automatically: use limit for the page size and next_cursor for the next page.
  • gainsight_px_kc_bots_update_stateSet KC state. Pauses or starts a KC.
  • list_all_gainsight_px_lead_eventsGet Lead events. Retrieves Lead events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • gainsight_px_localization_export_articlesexport XLIFF for articles. retrieve the xliff file by filters in zip
  • gainsight_px_localization_export_contentexport XLIFF. retrieve Content Library Entry xliff file by filters in zip
  • gainsight_px_localization_export_engagementsexport XLIFF. retrieve the engagement xliff file by filters in zip
  • gainsight_px_localization_export_kc_botsexport XLIFF. retrieve the kcbot xliff file by filters in zip
  • gainsight_px_localization_import_articlesimport XLIFF. import XLIFF content into article translation
  • gainsight_px_localization_import_contentimport XLIFF. import XLIFF content into Content Library Entry translation
  • gainsight_px_localization_import_engagementsimport XLIFF. import XLIFF content into engagement translation
  • gainsight_px_localization_import_kc_botsimport XLIFF. import XLIFF content into kc translation
  • list_all_gainsight_px_model_attributesGet Attributes. Retrieves the model attributes for a given type
  • list_all_gainsight_px_page_view_eventsGet Page View events. Retrieves Page View events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_segment_match_eventsGet segment match events. Retrieves segment match events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_session_eventsGet Session events. Retrieves Session Initialized events. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_subscription_usersGet Subscription users. Retrieves Subscription users Paged automatically: use limit for the page size and next_cursor for the next page.
  • list_all_gainsight_px_survey_engagement_metadatagetEngagementViewEvents. Only survey engagements are supported.
  • list_all_gainsight_px_survey_responsesGet Survey responses. Retrieves Survey responses. Supports filtering, sorting and paging. Paged automatically: use limit for the page size and next_cursor for the next page.
  • get_single_gainsight_px_user_preference_by_idGet user preferences. If the field is not set - return null. The id is the identifyId.
  • gainsight_px_user_preferences_get_by_bodyGet user preferences (identifyId passed via request body). If the field is not set - return null.
  • update_a_gainsight_px_user_preference_by_idUpdate user preferences. The fields are optional so it’s possible to provide only those that need to be updated. If the user had preferences - override only the provided fields. Valid field values: true, false, null. Note: null value won’t override any other. The id is the identifyId.
  • gainsight_px_user_preferences_update_by_bodyUpdate user preferences (identifyId passed via request body). The fields are optional so it’s possible to provide only those that need to be updated. If the user had preferences - override only the provided fields. Valid field values: true, false, null. Note: null value won’t override any other.
  • get_single_gainsight_px_user_preferences_v_2_by_idGet user preferences. This version of API includes extra property 'trackEmailAnalytics' in the response. If the field is not set - return null. The id is the identifyId.
  • gainsight_px_user_preferences_v_2_get_by_bodyGet user preferences. This version of API includes extra property 'trackEmailAnalytics' in the response. (identifyId passed via request body). If the field is not set - return null.
  • update_a_gainsight_px_user_preferences_v_2_by_idUpdate user preferences, this version of API can take 'trackEmailAnalytics' property in the payload. The fields are optional so it’s possible to provide only those that need to be updated. If the user had preferences - override only the provided fields. Valid field values: true, false, null. Note: null value won’t override any other. The id is the identifyId.
  • gainsight_px_user_preferences_v_2_update_by_bodyUpdate user preferences, this version of API can take 'trackEmailAnalytics' and 'identifyId' property in the payload. The fields are optional so it’s possible to provide only those that need to be updated. If the user had preferences - override only the provided fields. Valid field values: true, false, null. Note: null value won’t override any other.

AMCP serverno code

For any MCP client

One URL per connected Gainsight PX account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Gainsight PX tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call Gainsight PX the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. Gainsight PX is not in one yet. Build your own model, or ask us.

Gainsight PXon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the Gainsight PX data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync Gainsight PX data on a schedule. Sent to your webhook.

A sync job reads Gainsight PX records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Gainsight PX endpoint. With the Truto CLI.

Need a Gainsight PX endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Gainsight PX path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Gainsight PX in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Gainsight PX in the product you build. To use Gainsight PX yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Gainsight PX tools in your product

Give the AI in your product access to each customer’s own Gainsight PX account, with one MCP server per connected account.

Start free with Gainsight PX

Rather talk it through? Book a demo

Elaichi

For your own team

Use Gainsight PX in your own AI

Connect your company’s Gainsight PX once, then ask in the AI you already use, with exactly your own access.

Works in

Gainsight PX on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Gainsight PX.

  1. Enrich CRM accounts with real product usage data

    Revenue and Customer Success platforms can pull account-level feature adoption, login frequency, and custom event data from Gainsight PX to surface product health scores directly on account records — enabling data-driven upsell and churn prevention workflows.

  2. Sync helpdesk content into the in-app Knowledge Center

    Helpdesk and knowledge base vendors can push their articles and documentation into Gainsight PX's KC Bot, letting joint customers serve contextual self-service content inside their product without manual duplication.

  3. Trigger outbound campaigns from in-app behavior signals

    Marketing automation platforms can ingest PX engagement and survey data — like dismissed onboarding guides or low NPS responses — to automatically enroll users in targeted email sequences as a fallback engagement channel.

  4. Push external segments and user attributes into PX for targeted engagements

    Data platforms and CDPs can sync cohorts, subscription tiers, or billing attributes into Gainsight PX so product teams can target in-app walkthroughs and tooltips based on data that lives outside PX.

  5. Route in-app feedback to support and alerting tools

    Ticketing and internal communication platforms can listen for PX NPS/CSAT survey responses and behavioral drop-off events, automatically creating support tickets or notifying account owners in real time.

What you can build

Ship these with Truto and Gainsight PX.

  • Product adoption scorecard on account records

    Pull account usage data and custom events from Gainsight PX to compute and display a live product adoption score inside your CRM or CS platform.

  • Automated Knowledge Center content sync

    Push newly published help articles or training courses from your platform into the Gainsight PX KC Bot so they're instantly searchable in-app.

  • Behavioral segment import pipeline

    Programmatically create and update External Segments in Gainsight PX based on cohorts, subscription data, or scoring models managed in your platform.

  • NPS response webhook and ticket creation

    Ingest PX survey responses and automatically generate support tickets or Slack alerts when a user submits a low NPS or CES score.

  • User attribute enrichment from CRM or billing data

    Upsert custom attributes like MRR, plan tier, or renewal date onto Gainsight PX User and Account objects so product teams can personalize in-app engagements.

  • Consent and preference management bridge

    Sync opt-in/opt-out decisions from your consent management platform to the Gainsight PX UserPreferences API to ensure GDPR/CCPA-compliant analytics tracking.

Security

Your customers’ Gainsight PX data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Gainsight PX account

    Use Truto’s frontend SDK to connect your customer’s Gainsight PX account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Gainsight PX

    Truto’s Proxy API is a 1-to-1 mapping of the Gainsight PX API. You call us, we call Gainsight PX, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Gainsight PX’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Gainsight PX on Truto.

What authentication method does Gainsight PX use?

Gainsight PX uses API key-based authentication. Each PX workspace provides a unique API key that must be passed in request headers. Truto handles storing and injecting these credentials so your end users just authorize once.

Does Gainsight PX support custom attributes on Users and Accounts?

Yes. The PX API supports upserting arbitrary custom attributes on both User and Account objects via PUT endpoints. This is commonly used to tag records with external data like subscription tier, MRR, or CRM IDs.

Is there a Unified API available for Gainsight PX through Truto?

Not yet. Gainsight PX integrations are built on request. Truto will handle auth, pagination, and API-specific quirks, but there is no pre-built Unified API model for it today. Reach out to discuss your specific use case.

What are the rate limits on the Gainsight PX API?

Gainsight PX enforces rate limits on its REST API that vary by endpoint and plan tier. Truto manages retry logic and request throttling automatically so your integration stays within safe limits without custom backoff code.

Can I push server-side events into Gainsight PX?

Yes. The PX Custom Events API accepts server-side events like 'Payment Failed' or 'Subscription Upgraded,' which can then be used inside PX to trigger in-app engagements or segment users by behavior.

How fresh is the data when reading from the Gainsight PX API?

User and Account attribute data is available in near-real-time after upserts. Aggregated analytics and usage metrics may have a processing delay of a few hours depending on the PX workspace configuration and data volume.

Gainsight PX

Get Gainsight PX integrated into your app

Sign up free, connect a test Gainsight PX account and make your first call today. No card and no sales call.