Admin
Create an API Key
Create a new API Key with specified permissions.
post/admin/api-keys
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
- Auth: HTTP bearer
Request body
Example request
{
"description": "Order sync for the n8n workflow",
"token_type": "read_only",
"level": "team",
"permissions": [
{
"action": "orders.lists"
}
]
}Response
API Key created successfully
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",
"access_key": "pc_e364_iE8En1p_WyNa5sVQ_XDcDYMQq"
}Changes
No recorded changes to this operation across all 3 revisions of this API.