POST
https://api.passinstance.com/api/v1/api-keysBearer
Generate API Key
Generate a scoped API key (pi_live_ or pi_test_) for secure server-to-server integration.
CreateApiKeyDto configuration for key name, environment (test/live), and permissions scopes.
Request Body1 required • 3 optional
namestring
RequiredHuman-readable label for this key (max 100 chars).
example: Mobile App Integration KeyResponse Status Codes
201Created
ApiResponseDto containing the raw secret key (displayed only once).