Admin

Get an API Key

Retrieve a single API Key by ID

get/admin/api-keys/{key_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/admin/api-keys/{key_id}
  • Auth: HTTP bearer

Path parameters

key_idstring uuid required
Example:abbb958d-033e-4bc3-8cdb-5c85ad0c290f

Response

API Key retrieved successfully

idstring uuid required
access_key_prefixstring nullable required
access_key_last4string nullable required
token_type'read_only' | 'full_access' | 'custom' required
descriptionstring nullable required
lifespannumber nullable required
level'team' | 'admin' required
created_by_idstring uuid required
updated_by_idstring uuid nullable required
team_idstring uuid nullable required

Example response

{
  "access_key_prefix": "pc_e364",
  "access_key_last4": "YMQq",
  "token_type": "read_only",
  "description": "Order sync for the n8n workflow",
  "lifespan": 2592000,
  "level": "team"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.