Outvexa

API reference

API keys

3 endpoints. All paths are relative to your installation, for example https://app.example.com.

get/api/v1/w/{workspaceId}/api-keys

List API keys (secrets never returned)

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
Request
curl -X GET "https://app.example.com/api/v1/w/$WORKSPACE_ID/api-keys" \
  -H "Authorization: Bearer $EMN_API_KEY"

post/api/v1/w/{workspaceId}/api-keys

Create an API key (shown once)

Workspace member or API keyRole admin or higherSuccess: 201

Path parameters

workspaceIdrequiredstring

Request body (JSON)

namerequiredstringLength 1–80
roleenumOne of: OWNER, ADMIN, MANAGER, MEMBER, VIEWER · Default "MEMBER"
expiresInDaysintegerRange 1–730
scopesstring[]
Request
curl -X POST "https://app.example.com/api/v1/w/$WORKSPACE_ID/api-keys" \
  -H "Authorization: Bearer $EMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "role": "MEMBER",
    "expiresInDays": 1,
    "scopes": [
      "string"
    ]
  }'

delete/api/v1/w/{workspaceId}/api-keys/{id}

Revoke an API key

Workspace member or API keyRole admin or higherSuccess: 200

Path parameters

workspaceIdrequiredstring
idrequiredstring
Request
curl -X DELETE "https://app.example.com/api/v1/w/$WORKSPACE_ID/api-keys/$ID" \
  -H "Authorization: Bearer $EMN_API_KEY"