Skip to main content
The Nateq API authenticates with API keys passed as a Bearer token:
Authorization: Bearer tg_live_your_key_here
Every key belongs to one organization, and every request is automatically scoped to that organization.

Environments

PrefixEnvironmentNotes
tg_live_ProductionActs on real data
tg_test_SandboxIsolated test environment

Scopes

Keys are granted scopes that gate what they can do. A request to an endpoint whose scope the key lacks returns 403 INSUFFICIENT_SCOPE. Grant the minimum a key needs.
ScopeGrants
conversations:read / conversations:writeConversations, messages, categories, and CRM (contacts, companies, leads)
tickets:read / tickets:writeSupport tickets and replies
tags:read / tags:writeTags
teams:readTeams
templates:read / templates:writeMessage templates and attributes
broadcasts:read / broadcasts:writeBroadcasts
faqs:read / faqs:writeFAQs and help center content
files:read / files:writeFile attachments
overview_stats:readAnalytics and statistics
webhooks:manageOutgoing webhook subscriptions
Account, billing, user-management, RBAC, and AI-builder endpoints can’t be reached with an API key at all — calling one returns 403 ENDPOINT_NOT_PUBLIC. Use the dashboard for those.

Keeping keys safe

Treat keys like passwords. Never commit them or expose them in client-side code — the API is meant to be called from your server.
  • Restrict a key to known IPs (allow-list) where possible.
  • Rotate keys periodically; revoke any that leak from the dashboard.
  • Use a sandbox (tg_test_) key for development.