GetSecrets

View as Markdown

Gets the list of an application’s secrets.

Example request: Get secrets of application 1.

Authentication

AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

application_idintegerOptional

Application ID. Required unless application_name is provided.

application_namestringOptional

Application name. Required unless application_id is provided.

secret_name_partstringOptional
Filter by the secret name part
countintegerOptionalDefaults to 20
Maximum returning record number
offsetintegerOptionalDefaults to 0

First N records to be skipped in the output

Response

Successful response
resultlist of objects
Secrets list
countinteger
Returned secrets number
total_countinteger
Total found secrets number