AgentStack Docs
AgentStack Docs
AgentStack documentation
Get started
Build your agent
Actions
Analytics
Channels
Help Desk
Help Center
Developers
Embed the widgetControl the widgetListen for widget eventsBrowser integration boundariesClient-side formsREST API authenticationPagination and errorsRate limitsREST API: agent sign-upREST API: agentsREST API: sources and ingestionREST API: actionsREST API: channelsREST API: analytics and activityREST API: topicsREST API: contactsREST API: conversations and notesREST API: inbox and teamsREST API: chatREST API: roles and membersREST API: organizationREST API: API keysREST API: audit logsREST API: billingREST API: custom domainsREST API: domainsREST API: Help CenterREST API: Help PageREST API: Notion connectionREST API: voice callsIdentity verificationWebhooksMCP serverMCP scopesMCP toolsMCP clientsllms.txt
Workspace
    Developers

    REST API: Notion connection

    Check organization Notion connectivity and manage which pages an agent indexes.

    Notion connects at the organization level, not per agent. Use GET /notion/connection to check whether your organization has an active Notion connection before you attempt any per-agent Notion work; the connection itself is established from the dashboard, not through this API.

    Once connected, GET /agents/{id}/notion/pages lists the Notion pages available to a given agent, including which ones are already enabled as sources. Use POST /agents/{id}/notion/pages/toggle to enable or disable a specific page as a source for that agent. Enabling a page creates a Notion source; the agent then needs to retrain before content from that page reaches its knowledge.

    For the source records this creates, and for deleting or re-syncing an already-enabled Notion source, see REST API: sources and ingestion. That page's /agents/{id}/sources/notion endpoints and POST /agents/{id}/sources/notion/{notionSourceId}/sync operate on already-enabled Notion sources; the endpoints on this page manage the connection and which pages are eligible in the first place.

    Notion page availability can change outside your integration, for example when someone edits sharing settings inside Notion. Re-list available pages rather than caching the list indefinitely.

    REST API: Help Page

    Read and update an agent's standalone Help Page configuration.

    REST API: voice calls

    List voice call records and fetch call recording playback URLs.