VoiceGateway

Read a project's API keys

GET
/api/v1/org/{orgId}/project/{projectId}/keys

Authorization

consoleSession
cookievg_session<token>

The console's session cookie, set when you sign in. Every operation accepts it, at the role the operation names.

Path Parameters

orgId*string

Authorised orgId; the server must verify organisation/project ownership before any read.

Length1 <= length
projectId*string

Authorised projectId; the server must verify organisation/project ownership before any read.

Length1 <= length

Response Body

The project's keys.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://example.com/api/v1/org/string/project/string/keys'
Example Response
{  "items": [    {      "keyId": "string",      "name": "string",      "prefix": "string",      "createdAt": "2019-08-24T14:15:22Z",      "createdBy": "string",      "lastUsedAt": "2019-08-24T14:15:22Z",      "revokedAt": "2019-08-24T14:15:22Z"    }  ]}

Was this page helpful?