Skip to main content
Navigate to Settings → Developer for your API credentials and integration options. Everything here is what you need to call the Seyaha Reseller API from your platform.

Your API token

Your reseller API token authenticates all calls to the Reseller API.

Viewing your token

  1. Go to Settings → Developer
  2. The token is masked by default — click the eye icon to reveal it
  3. Click Copy to copy it to your clipboard
Your API token has full access to your reseller account including creating bookings and viewing customer data. Never embed it in client-side JavaScript, mobile apps, or public repositories. Treat it like a password.

Token format

Use your test token during development. Switch to the live token only when you are ready to process real bookings.

Rotating your token

Tokens do not expire, but rotate them if you suspect a compromise:
  1. Click Rotate token
  2. Read the warning — the old token is immediately invalidated on confirmation
  3. Click Confirm rotation
  4. Copy the new token before closing the modal
Rotation is immediate and irreversible. Any service still using the old token will receive 401 Unauthorized. Update all your servers before confirming.

API base URL

Store this alongside your token in your environment configuration.

Allowed origins (CORS)

If your integration calls the Reseller API from a browser (not recommended for production — your token would be exposed), add your domain to the allowed origins list:
  1. Click Add origin
  2. Enter your full domain with protocol (e.g. https://yourplatform.com)
  3. Click Save
For server-side integrations this section does not apply.

Testing your connection

Use the Test connection button on the Developer Settings page to verify your token:
  • Green checkmark — token is valid and the API is reachable
  • Red error — shows the HTTP status and error message returned
Or run a manual test via cURL:
A 200 OK with a data array confirms your token is active.

Account information

The top of the Developer Settings page also shows:

Next steps