Supercheck LogoSupercheck
Trigger Keys

Create a trigger key

Create a new API trigger key for a job. The plain key is returned only once — store it securely.

POST
/api/jobs/{id}/api-keys

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Path Parameters

id*string

Job ID

Formatuuid

Request Body

application/json
  1. body
name*string

Human-readable name for the trigger key

expiresIn?integer

Optional expiration duration in seconds

Response Body

Trigger key created. Store the key value securely — it cannot be retrieved again.

application/json
  1. response
success?boolean
apiKey?
Example Request
curl -X POST 'https://demo.supercheck.dev/api/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/api-keys' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "success": true,  "apiKey": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "key": "string",    "start": "string",    "enabled": true,    "expiresAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z"  }}