API keys
Xquik API key creation & request authentication
Create an API key for tweet, follower, profile, monitor, webhook, export, and X account requests. Xquik shows the secret once. Store it in a secret manager.
- 201
- 401
- 403
- 429
POST
Xquik API key creation & request authentication
When to create a key
Use this route only when creating a new credential.fullKey appears at creation, so store it immediately in a secret manager. List operations return inventory data and never replace this storage step.
Free. This endpoint does not consume credits.
fullKey immediately and log only id and prefix.
Headers
string
Dashboard session cookie. Format:
session_token=YOUR_SESSION_TOKEN.string
required
Must be
application/json.Body
string
Display name for the key. Defaults to
"Default" if omitted.Response
201 Created
string
Unique identifier for the API key.
string
The complete API key including the
xq_ prefix.string
First 8 characters of the key including the
xq_ prefix (for example "xq_a1b2").string
Display name of the key.
string
ISO 8601 creation timestamp.
401 Unauthenticated
403 Key limit reached
429 Rate limited
Retry-After header before retrying.
API key creation requires a same-origin dashboard session. API keys and OAuth
bearer tokens cannot create more keys.Related. List API Keys · Revoke API Key