Skip to main content

Documentation Index

Fetch the complete documentation index at: https://4cx.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Exchange your username and password for a session token. Paste the returned user.auth value into your client before calling other requests. This call does not send an Authorization header.

Request

POST https://api.4cx.io/user/login POST
Headers: Content-Type: application/json only (no Authorization)
{
  "username": "sample_user",
  "password": "REPLACE_WITH_PASSWORD"
}
Use data.user.auth as the raw Authorization header value on subsequent requests (no Bearer prefix).