Skip to main content
POST
  • Account management user API (CLI / headless login)
  • Code request and token poll need no auth; approve/deny need a logged-in browser session
  • The returned access_token is for https://omnimux.ai user APIs (with New-Api-User)

Identity

Endpoints

Base URL: https://omnimux.ai

Authorization

AI gateway and social-data APIs still use sk- tokens on https://api.omnimux.ai — a different credential surface. See Connection & usage.

Body / parameters

POST /api/user/device/code

POST /api/user/device/token

Poll at the response interval (default ~5s); polling faster returns slow_down.

Response

Step 1 · 200 (code issued)

Step 3 · success (approved)

Step 3 · pending / errors (often HTTP 200 with success: false)

More error semantics: Connection & usage.