Skip to content
Inkbox

Inkbox

ContactDocs

Jump to

Authentication

All Inkbox API endpoints require authentication using service tokens via Bearer token authentication.

Getting a service token

To use the Inkbox API, you need a service token. Create an account and generate a service token from the Inkbox console.

Get service token

Once you have an account, you can create and manage service tokens from the Inkbox console.

Overview

The Inkbox API uses service token authentication. Include your service token in the X-Service-Token header with every request.

Making authenticated requests

Header format

X-Service-Token: YOUR_SERVICE_TOKEN

Example

Error responses

401 Unauthorized

Returned when the service token is missing, invalid, expired, or revoked.

JSONJSON

Common issues:

  • Missing X-Service-Token header
  • Expired or revoked service token
  • Invalid service token format
  • Service token not generated from https://console.inkbox.ai

Security best practices

  1. Keep service tokens secret: Never commit service tokens to version control. Use environment variables or secure secret management systems.
  2. Use environment variables:
    export INKBOX_SERVICE_TOKEN="your-service-token-here"
  3. Server-side only: Never use service tokens in client-side JavaScript. Service tokens should only be used in secure server environments.
  4. Rotate tokens regularly: Regularly rotate service tokens for security. Generate a new token from the console, update integrations, then revoke the old token.

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website