Everything an AI agent can do with the Pendo API.

A reference guide for building AI agents: every method, how to authenticate, and the permissions each one needs.

Endpoints17
API versionv1
Last updated23 June 2026
Orientation

How the Pendo API works.

The Pendo API is how an app or AI agent works with a Pendo subscription: querying product usage across visitors and accounts, reading and writing visitor and account metadata, and listing the features, pages, and guides being tracked. Access is granted through an integration key created at the subscription level, and that key carries a single read-only or read-write level rather than per-area permissions. Most reads run through one flexible aggregation query engine instead of many endpoints, and the API has no event push, so an app polls it for changes.

17Endpoints
6Capability groups
13Read
4Write
2Permissions
Authentication
Pendo authenticates every call with a static integration key sent in the x-pendo-integration-key header, not OAuth. The key is created on the Integration Keys page and only a Pendo admin can view it. It is not tied to one application and reaches every application in the subscription. Integration keys do not expire on their own, so rotation is a manual discipline.
Permissions
An integration key is designated read-only or read-write when it is created, at the subscription level. There are no finer per-endpoint or per-resource scopes beyond that single level. A read-only key can run aggregation queries and list features, pages, and guides; a read-write key can additionally set visitor and account metadata. Writes are limited to custom metadata fields.
Querying
Most data comes from one method, the aggregation pipeline, a JSON query language modeled on MongoDB-style stages. A request names a source, like visitors, accounts, events, or feature, page, and guide usage, then applies operators to filter and shape rows. There is no simple paginated list of visitors; the aggregation pipeline is the supported way to pull them at scale.
Events
Pendo's API does not send webhooks or push notifications. An app or AI agent learns about new activity by running aggregation queries on a schedule and comparing results, rather than receiving callbacks when something changes.
Connect & authenticate

Connection & authentication methods.

How an app or AI agent connects to Pendo determines what it can reach. There is a route for querying and updating product data with a static key, and a hosted server that exposes Pendo data to AI agents, and each is governed by the credential behind it and the level it carries.

Ways to connect

REST API

The REST API takes JSON requests and returns JSON, authenticated with a static integration key in the x-pendo-integration-key header. US subscriptions call the host app.pendo.io and EU subscriptions call app.eu.pendo.io, both under the /api/v1 path. Most reads run through one aggregation method rather than many list endpoints, and writes are limited to setting custom visitor and account metadata.

Best forConnecting an app or AI agent to Pendo.
Governed byThe integration key and its read-only or read-write level.
Docs ↗

MCP server

Pendo runs a first-party, hosted Model Context Protocol server that exposes Pendo product data to AI clients like Claude, ChatGPT, Cursor, Gemini CLI, and Windsurf. It authenticates with OAuth and respects the connecting user's existing Pendo permissions, so an agent only reaches data that user is already authorized to see. It surfaces visitor and account metadata, product usage and analytics, page, feature, and track event data, and aggregation-style queries.

Best forConnecting an AI agent to Pendo through MCP.
Governed byThe OAuth grant and the connecting user's Pendo permissions.
Docs ↗
Authentication

Integration key

Pendo's REST API authenticates with a static integration key, created on the Integration Keys page by a Pendo admin and sent in the x-pendo-integration-key header. The key is designated read-only or read-write at creation, at the subscription level, with no finer per-endpoint scopes. It is not tied to one application and reaches every application in the subscription, and it does not expire on its own.

TokenStatic integration key (x-pendo-integration-key header)
Best forServer-side calls to query and update Pendo data.
Docs ↗

MCP OAuth

The first-party Pendo MCP server uses OAuth to connect an AI client to a user's Pendo account. The resulting access respects that user's existing Pendo permissions rather than carrying a separate scope, so an agent reaches only what the user can already see.

TokenOAuth grant tied to the connecting Pendo user
Best forConnecting AI clients to Pendo with per-user permissions.
Docs ↗
Capability map

What an AI agent can do in Pendo.

The Pendo API is split into areas an agent can act on, like querying product usage, reading and writing visitor and account metadata, and listing the features, pages, and guides being tracked. Most reads run through one query engine, and writes are limited to custom metadata fields.

Endpoint reference

Every Pendo API method.

Filter by method, access, or permission, or search any path. Select a row for version detail, rate limits, the related webhook event, and the source.

MethodEndpointWhat it doesAccessPermissionVersion

Aggregation (query engine)

The single query method for pulling product data: visitors, accounts, events, and feature, page, and guide usage.1

The primary read method; a JSON pipeline names a source and applies operators to filter and shape rows. Reachable with a read-only key.

Acts onaggregation
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Visitors

Methods for reading a visitor record and setting its custom metadata.3

Read-only. There is no paginated list of visitors; use the aggregation pipeline to pull many at once.

Acts onvisitor
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Needs a read-write key. Only custom metadata fields can be written; auto and agent fields are managed by the install snippet. Append ?create=true to create records.

Acts onvisitor
Permission (capability)write
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Needs a read-write key. Pendo recommends batching writes here rather than one record at a time, with batches kept under 1,000 records.

Acts onvisitor
Permission (capability)write
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Accounts

Methods for reading an account record and setting its custom metadata.3

Read-only.

Acts onaccount
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Needs a read-write key. Only custom metadata fields can be written. Append ?create=true to create records.

Acts onaccount
Permission (capability)write
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Needs a read-write key. Pendo recommends batching account metadata writes here, with batches kept under 1,000 records.

Acts onaccount
Permission (capability)write
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Features, Pages & Guides

Methods for listing and retrieving the features, pages, and guides being tracked in a subscription.6

Read-only. Add ?appId={id} to scope to one application, or ?expand=* to cover every application in the subscription.

Acts onfeature
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only.

Acts onfeature
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only. Add ?appId={id} to scope to one application, or ?expand=* to cover every application.

Acts onpage
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only.

Acts onpage
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only. Add ?appId={id} to scope to one application, or ?expand=* to cover every application.

Acts onguide
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only.

Acts onguide
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Metadata schema

Methods for reading the schema of visitor and account metadata fields.2

Read-only. Returns the configured visitor fields and their data types (text, number, boolean, date).

Acts onmetadata_schema
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only. Returns the configured account fields and their data types.

Acts onmetadata_schema
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Reports

Methods for running a saved visitor or account report and pulling its results.2

Read-only. Works with saved visitor or account reports; Paths, Funnels, and Data Explorer reports are not available through the API.

Acts onreport
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply

Read-only. An older report may need to be re-saved in the interface before it can be run through the API.

Acts onreport
Permission (capability)read
VersionAvailable since the API’s base version
Webhook eventNone
Rate limitStandard limits apply
No endpoints match those filters.
Webhooks

Webhook events.

Pendo's API does not push events to a subscriber. An app or AI agent learns about activity by running aggregation queries against the API, rather than receiving callbacks.

EventWhat it signalsTriggered by
No events match that search.
Rate limits & pagination

Rate limits, pagination & request size.

Pendo throttles how fast an app can call, returning a standard too-many-requests response when a caller goes over, and recommends batching metadata writes through the bulk methods rather than one record at a time.

Request rate

Pendo does not publish exact request-rate thresholds for its public API; the documented behavior is that a caller going over the limit receives an HTTP 429 too-many-requests response. Pendo's guidance is to batch metadata writes through the bulk methods rather than sending one record per request, and to retry a 429 with exponential backoff. Rate-limit response headers are not documented.

Pagination

Most data is read through the aggregation pipeline, where the caller controls volume by adding filter and limit operators to the JSON request rather than following page cursors. Aggregation also drives pulling visitors, since there is no simple paginated list-visitors endpoint. The feature, page, and guide list methods return the full set for an application, or for every application when expanded.

Request size

Pendo recommends keeping bulk metadata batches under 1,000 records per request. Reports return their full contents in one response, as JSON or CSV. Aggregation response size is bounded by the operators in the request rather than a fixed page size.

Errors

Status codes & error handling.

The status codes an agent should handle, and what to do about each.

StatusCodeMeaningWhat to do
401unauthorizedNo valid integration key was provided, or the key is wrong for the subscription.Confirm a valid integration key is sent in the x-pendo-integration-key header, and rotate it if it may be compromised.
403forbiddenThe integration key lacks the level the request needs, for example a read-only key attempting a metadata write.Use a read-write key for write methods, or restrict the agent to read methods.
404not_foundThe requested object does not exist or is not visible to this key, for example an unknown visitor, account, or report id.Verify the id and confirm the object exists in this subscription.
429too_many_requestsThe caller exceeded Pendo's request rate.Back off and retry with exponential backoff, and batch metadata writes through the bulk methods.
Versioning & freshness

Version history.

Pendo serves a single version of its public API, addressed under a v1 path, and ships changes through dated release notes rather than minting new version strings.

Version history

What changed, and when

Latest versionv1
v1Current version
Public REST API (v1)

Pendo serves a single public API version, addressed under the /api/v1 path and authenticated with an integration key. It centers on the aggregation query engine for reads, plus methods to set custom visitor and account metadata, list features, pages, and guides, read metadata schemas, and pull saved reports. Pendo ships changes through dated product release notes rather than minting new API version strings.

What changed
  • Aggregation pipeline for querying visitors, accounts, events, and feature, page, and guide usage.
  • Visitor and account custom metadata writes, single and bulk.
  • Feature, page, and guide list and detail methods.
  • Saved report results available as JSON or CSV.
2025-mcp
First-party MCP server (generally available)

Pendo released an external, hosted Model Context Protocol server, making live Pendo product and customer data accessible to MCP-compatible AI clients like Claude, ChatGPT, Cursor, Gemini CLI, and Windsurf. It authenticates with OAuth and respects the connecting user's existing Pendo permissions. This is a new connection method for AI agents alongside the integration-key REST API, not a change to the v1 API itself.

What changed
  • Hosted MCP server connecting Pendo data to AI clients.
  • OAuth authentication that respects existing Pendo permissions.
  • Exposes metadata, product usage, analytics, and aggregation-style queries.

There is one public API version; track the release notes for additive changes.

Pendo release notes ↗
Questions

Pendo API, answered.

How does authentication work?+
Every API call carries a static integration key in the x-pendo-integration-key header. The key is created on the Integration Keys page in subscription settings and only a Pendo admin can view it. It is not tied to one application, so it reaches every application in the subscription, and it does not expire on its own, which makes manual rotation important.
Are there read-only and read-write keys?+
Yes. An integration key is designated read-only or read-write when it is created, at the subscription level. That single level is the whole permission model, there are no finer per-endpoint or per-resource scopes. A read-only key can run aggregation queries and list features, pages, and guides; a read-write key can additionally set custom visitor and account metadata.
How do I read product usage data?+
Through the aggregation method, a JSON query language modeled on MongoDB-style pipeline stages. A request names a source, like visitors, accounts, events, or feature, page, and guide usage, then applies operators to filter, group, and shape the rows. There is no simple list-visitors endpoint; the aggregation pipeline is the supported way to pull visitors and accounts at scale.
Can the API create or change visitors and accounts?+
It can write custom metadata onto visitor and account records, and can create records when the request includes the create flag, but only custom metadata fields are writable. Auto and agent metadata, like fields set by the install snippet, are managed by Pendo and cannot be set through these methods. The metadata write methods need a read-write key.
Does Pendo send webhooks?+
No. Pendo's public API does not push events or send webhooks. An app or AI agent learns about new activity by running aggregation queries on a schedule and comparing results, rather than receiving callbacks when something changes.
Does Pendo have an MCP server for AI agents?+
Yes. Pendo runs a first-party, hosted Model Context Protocol server that brings live Pendo product and customer data into MCP-compatible clients like Claude, ChatGPT, Cursor, Gemini CLI, and Windsurf. It authenticates with OAuth and respects the connecting user's existing Pendo permissions, so an agent only reaches data that user is already authorized to see.
Does the API differ for EU subscriptions?+
The methods are the same, but the host differs. US subscriptions call app.pendo.io and EU subscriptions call app.eu.pendo.io, both under the /api/v1 path. A request sent to the wrong regional host for a subscription will not return that subscription's data.
Related

More analytics API guides for agents

What is Bollard AI?

Control what every AI agent can do in Pendo.

Bollard AI sits between a team's AI agents and Pendo. Grant each agent exactly the access it needs, read or write, area by area, and every call is checked and logged.

  • Set read or write access per agent, never a shared Pendo integration key.
  • Denied by default, so an agent reaches only what has been explicitly allowed.
  • Every call recorded in plain English: who, what, where, and the decision.
Pendo
Product Insights Agent
Query product usage ActionOffReadFull use
Visitor metadata ResourceOffReadFull use
Write account metadata ActionOffReadFull use
Per-agent access, set in Bollard AI, not in Pendo