API Keys
An alternate way to access Telmai APIs using API Key.
All Telmai APIs can be executed either with OAuth access token or API keys. Use apis listed below to create a key. Use this key in the header of the Telmai APIs instead of the Authorization bearer token like this:
Execute Authenticate API to retrieve access token for Authorization header used below
Tenant Id can be retrieved from the UI as listed here.
Retrieve API Keys for this tenant
GET
https://env1.telm.ai/api/auth/auth/{tenant}/apiKeys
Path Parameters
tenant*
String
Tenant Id
Headers
Authorization*
String
Bearer {{token}}
Add an API Key
POST
https://env1.telm.ai/api/auth/auth/{tenant}/apiKeys
Path Parameters
tenant*
String
Tenant Id
Headers
Authorization
String
Bearer {{token}}
Request Body
name*
String
Name of the API Key
Get details of an API Key
GET
https://env1.telm.ai/api/auth/auth/{{tenant}}/apiKeys/{{apiKeyId}}
Path Parameters
tenant*
String
Tenant Id
Headers
Authorization*
String
Bearer {{token}}
Delete an API Key
DELETE
https://env1.telm.ai/api/auth/auth/{{tenant}}/apiKeys/{{apiKeyId}}
Path Parameters
tenant*
String
Tenant Id
Headers
Authorization*
String
Bearer {{token}}
Last updated