Docs

API Authentication

Secure API access with Bearer tokens

The 5chat API uses Bearer Token authentication for secure access to all protected endpoints. API tokens are website-scoped, meaning each token is tied to a specific website and can only access data for that website.

Base URL

All API requests should be made to:

https://api.5chat.io

Getting Started

1Access the API Configuration Dashboard

Navigate to /dashboard/configuration/api in your 5chat dashboard to manage your API tokens.

API Configuration Dashboard

API Configuration Dashboard showing token management interface
Click to enlarge

2Create an API Token

Click the "Create Token" button and fill in the token details:

  • Name: A descriptive name for your token (e.g., "My App Integration")
  • Permissions: Choose the appropriate permission level

Create Token Modal

Create API Token modal with name and permission fields
Click to enlarge

3Save Your Token

⚠️ Important Security Notice

Your API token will only be displayed once immediately after creation. Make sure to copy and store it securely as you won't be able to see it again.

Permission Levels

READ

Read-only access to API resources

Use cases: Analytics dashboards, reporting tools, data export

WRITE

Create and modify resources (no read access)

Use cases: Webhook handlers, data import tools

READ_WRITE

Full access to all API operations

Use cases: Complete integrations, management tools