API Keys

Creates a revocable API key and returns its secret once.

post/api/v1/api-keys

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/api-keys
  • Auth: API key in cookie __Host-xquik_session

Request body

namestring

Up to 100 characters. An empty or missing name saves the key as Default.

Example request

{
  "name": "My API Key"
}

Response

API key created

idstring required
fullKeystring required
namestring required
prefixstring required
createdAtstring date-time required

Example response

{
  "id": "42",
  "fullKey": "xq_live_example_key",
  "name": "My API Key",
  "prefix": "xq_live_exam",
  "createdAt": "2025-01-15T12:00:00Z"
}

Changes

    • warning

      added the new topup_in_progress enum value to the ///// response property for the response status

    • warning

      added the new topup_in_progress enum value to the ////// response property for the response status

    • warning

      added the new topup_in_progress enum value to the ///// response property for the response status

    • warning

      added the new topup_in_progress enum value to the ////// response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status