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.auth.telm.ai/auth/{tenant}/apiKeys
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | String | Tenant Id |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {{token}} |
Add an API Key
POST
https://env1.auth.telm.ai/auth/{tenant}/apiKeys
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | String | Tenant Id |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer {{token}} |
Request Body
Name | Type | Description |
---|---|---|
name* | String | Name of the API Key |
Get details of an API Key
GET
https://env1.auth.telm.ai/auth/{{tenant}}/apiKeys/{{apiKeyId}}
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | String | Tenant Id |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {{token}} |
Delete an API Key
DELETE
https://env1.auth.telm.ai/auth/{{tenant}}/apiKeys/{{apiKeyId}}
Path Parameters
Name | Type | Description |
---|---|---|
tenant* | String | Tenant Id |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {{token}} |
Last updated