Create a secret
Create a new secret with an associated identifier that can be used to securely integrate with other services.
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The unique identifier of the secret.
The type of secret.
Available options:
bearer, basic The token for the secret. Required for bearer type secrets, ignored otherwise.
The username for the secret. Required for basic type secrets, ignored otherwise.
The password for the secret. Required for basic type secrets, ignored otherwise.
Response
Successful Response
JavaScript