RealComposer

Zendesk Safe & Unsafe Practices

Direct Answer

Zendesk API tokens act with full agent permissions and are server-only. Prefer scoped OAuth clients, call Zendesk from a server or edge proxy, and filter out private comments and internal fields before returning tickets to customer portals.

Credentials & Where They Belong

Server only
API token (email/token)

Authenticates as an agent with that agent permissions.

Server only
OAuth access token

Scoped access such as tickets:read.

Safe Practices

  • Return only public comments

    Filter comments where public is false so internal notes never reach customers.

  • Look up tickets by the authenticated requester

    Never accept a ticket or user ID from the client without checking ownership.

Unsafe Practices

  • Building a portal that proxies raw ticket objects

    Internal notes, tags, and custom fields leak to customers.

  • Using an admin token for portal reads

    A leak exposes every ticket and user in the account.

The RealComposer Pattern

Store Zendesk credentials in the vault and map ticket responses to public-safe fields only, cached briefly at the edge.

START BUILDING FREE

Frequently Asked Questions

Q:Can I call the Zendesk API from my help center theme?

Theme code is public. Use the Help Center APIs designed for end users, or a proxy for agent-level data.

Security & Secret Vault

Call zendesk api from retool without exposing api token

Internal tools query tickets without embedding subdomain API tokens in queries. For "call zendesk api from retool without exposing api token", store ZENDESK_API_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/call-zendesk-from-retool-securely with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Merge zendesk with stripe customer support view

Zendesk requester and Stripe customer charges for support macros. For "merge zendesk with stripe customer support view", store ZENDESK_API_TOKEN, STRIPE_SECRET_KEY in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/merge-zendesk-with-stripe-support with an rc_live_ client token.

Sub-10ms edgeView Recipe
Security & Secret Vault

Zendesk api secure proxy for customer portal

Scoped edge pipeline returns only public-safe ticket fields. For "zendesk api secure proxy for customer portal", store ZENDESK_API_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/zendesk-api-customer-portal-proxy with an rc_live_ client token.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Aggregate zendesk tickets with hubspot deals

Zendesk open tickets and related HubSpot deal stage in one Retool query. For "aggregate zendesk tickets with hubspot deals", store ZENDESK_API_TOKEN, HUBSPOT_ACCESS_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Retool hit only https://realcomposer.com/v1/workspace/aggregate-zendesk-with-hubspot-deals with an rc_live_ client token.

Sub-10ms edgeView Recipe
Payload Slimmer

Zendesk ticket api response slim for widgets

Expose ticket id subject and status only for embeddable widgets. For "zendesk ticket api response slim for widgets", store ZENDESK_API_TOKEN in Secret Vault, call https://{{secrets.ZENDESK_SUBDOMAIN}}.zendesk.com/api/v2/tickets.json from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/slim-zendesk-ticket-json-widgets with an rc_live_ client token.

Sub-10ms edgeView Recipe

Related Concepts