Oppulence Voice

Create API key

Creates an Oppulence-owned scoped key and returns its secret once.

post/api/v1/keys/create

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/keys/create
  • Auth: HTTP bearer

Request body

expires_in_daysinteger nullable

Optional lifetime in days (1-3650).

namestring required

Display name.

scopesstring[]

Granted scopes.

Example request

{
  "expires_in_days": 30,
  "name": "Local automation",
  "scopes": [
    "notes:read"
  ]
}

Response

Created key.

object required

Data-wrapped VoiceAPIKey.

Changes

No recorded changes to this operation across all 50 revisions of this API.