API Keys
API keys offer an alternate method of authentication to the Meltano Cloud API using a client ID and secret.
Objects
API Key
| Path | JSON Type | Format | Description |
|---|---|---|---|
id | string | Version 4 UUID | The API key ID |
created | string | ISO 8601 timestamp | The instant when the API key was created |
lastModified | string | ISO 8601 timestamp | The instant when the API key was last modified |
name | string | The API key name | |
clientId | string | The API key client ID | |
profileId | string | The API key owner profile ID |
Example response body
Requests
View all API keys
GET /api/apikeys
Returns all API keys owned by the authenticated user profile.
Prerequisites
- The authenticated user must own a Meltano Cloud account
- The API key
{apikey-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys' -i -X GET
import requests
url = "https://app.meltano.com:443/api/apikeys"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
API key collection with HAL links.
Example response body
View an API key
GET /api/apikeys/{apikey-id}
Returns the API key {apikey-id}.
Prerequisites
- The authenticated user must own a Meltano Cloud account
- The API key
{apikey-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50' -i -X GET
import requests
url = "https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
API key with HAL links.
Example response body
Initialise an API key
POST /api/apikeys
Initialises a new API key.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.meltano.com:443/api/apikeys"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
API key with HAL links.
Example response body
Create an API key
PUT /api/apikeys/{apikey-id}
Creates the API key {apikey-id}.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Body
API key resource.
{
"name" : "SIT-generated api key (2026-12-04T06:41:11.810747771)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-12-04T06:41:11.810747771)"
}'
import requests
url = "https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50"
data = {
"name" : "SIT-generated api key (2026-12-04T06:41:11.810747771)"
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
201 Created
API key with HAL links.
Example response body
Update an API key
PUT /api/apikeys/{apikey-id}
Updates the API key {apikey-id}.
Prerequisites
- The authenticated user must own a Meltano Cloud account
Body
API key resource.
{
"name" : "SIT-generated api key (2026-12-04T06:41:11.810747771) (updated)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-12-04T06:41:11.810747771) (updated)"
}'
import requests
url = "https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50"
data = {
"name" : "SIT-generated api key (2026-12-04T06:41:11.810747771) (updated)"
}
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("PUT", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
200 OK
API key with HAL links.
Example response body
Delete an API key
DELETE /api/apikeys/{apikey-id}
Deletes the API key {apikey-id}.
Prerequisites
- The authenticated user must own a Meltano Cloud account
- The API key
{apikey-id}must exist
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50' -i -X DELETE
import requests
url = "https://app.meltano.com:443/api/apikeys/d7bd2d75-3f69-4bae-8b6b-815de5768a50"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.