Get user preferences (identifyId passed via request body)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://px-apidocs.gainsight.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "gainsight-px-rest-api MCP server": {
    "url": "https://px-apidocs.gainsight.com/mcp"
  }
}

Close
POST /v1/user/preferences

If the field is not set - return null.

application/json

Body Required

User identify id

  • identifyId string Required

Responses

  • 200 */*

    Success

    Hide response attributes Show response attributes object
    • guidedTours boolean
    • onboardingBot boolean
    • productUpdates boolean
    • surveys boolean
    • trackUsage boolean
  • 400

    Bad request

  • 401

    Unauthorized or bad API Key

  • 403

    Access denied

  • 404

    User not found by id

  • 429

    Rate limit exceeded

POST /v1/user/preferences
curl \
 --request POST 'https://api.aptrinsic.com/v1/user/preferences' \
 --header "Content-Type: application/json" \
 --data '{"identifyId":"string"}'
Request examples
{
  "identifyId": "string"
}
Response examples (200)
{
  "guidedTours": true,
  "onboardingBot": true,
  "productUpdates": true,
  "surveys": true,
  "trackUsage": true
}