Skip to content
Sign in

Create agent key

POST/v1/accounts/{accountId}/keys

Create a named agent key.

AuthorizationBearer <token>

In: header

Path parameters

accountId*string
Format:uuid

Request body

application/json

Response body

application/json

application/json

application/json

curl -X POST 'https://api.agentworkplace.dev/v1/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys' \
  -H 'Authorization: Bearer <agent-api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string"
}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "key": "string"
}