API keys
Xquik API key creation & request authentication
Create an API key for tweet, follower, profile, monitor, webhook, export, and X account requests. Copy the secret once and store it safely. See costs.
- 201
- 401
- 403
- 429
POST
Xquik API key creation & request authentication
Choose credential creation
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 - 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 (e.g. "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 additional keys.Related. List API Keys · Revoke API Key
- 201
- 401
- 403
- 429
Xquik API key creation & request authentication