Skip to main content
POST
Create API key

Headers

Authorization
enum<string>
default:NONE
required

Reserved for PCX-managed applications. External API integrations must always send the literal string NONE — this is the only accepted value.

Available options:
NONE
Example:

"NONE"

X-Api-Key
string
default:NONE
required

Your API key. This is the only supported credential.

Example:

"pcx_abc123_xxxx"

Body

application/json
name
string
required

Human-readable label for this key (e.g. "Production Integration").

Example:

"Production Integration"

status
enum<string>
Available options:
active,
inactive,
revoked
Example:

"active"

Response

API key created

status
enum<string>
Available options:
success,
error
Example:

"success"

message
string
data
object