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 |
{
"id" : "6aa9e70f-172c-43d3-8795-91b4fec6f00c",
"created" : "2026-09-04T12:45:57.789362",
"lastModified" : "2026-09-04T12:45:57.789363",
"name" : "SIT-generated api key (2026-09-04T12:45:57.705978658)",
"clientId" : "0CohqDsXvHHyVQsLVmbN8wCy5kyVFD3k",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}
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.
{
"_embedded" : {
"apikeys" : [ {
"id" : "52ce663f-e633-4c23-b21e-beb0c4e6089c",
"created" : "2026-09-04T12:45:56.396214",
"lastModified" : "2026-09-04T12:45:56.396217",
"name" : "default",
"clientId" : "AOv2tHvN2AZP67RbtlIe5FIo0bnlsmho",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"accessToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlJFRkNRamczTlRRMk16QTROalpHT0RjNFFUWkJOemMyTkRGR1FUSkVOVEEyUkRkR1JrSkRPQSJ9.eyJpc3MiOiJodHRwczovL2lkZW50aXR5Lm1hdGF0aWthLmNvbS8iLCJzdWIiOiJBT3YydEh2TjJBWlA2N1JidGxJZTVGSW8wYm5sc21ob0BjbGllbnRzIiwiYXVkIjoiaHR0cHM6Ly9hcHAubWF0YXRpa2EuY29tL2FwaSIsImlhdCI6MTc4ODUyNTk1NywiZXhwIjoxNzg4NjEyMzU3LCJndHkiOiJjbGllbnQtY3JlZGVudGlhbHMiLCJhenAiOiJBT3YydEh2TjJBWlA2N1JidGxJZTVGSW8wYm5sc21obyJ9.SmqU7yb5zZvC3hJ_Z7nV8ehltF6g1CrlTCzgachMFbx_9K1-nxu-FG-cP2g5QN7QlY0bIOGNfg44swTrfGwtvQvqRi1lk45nxlGX2fByqMOPOoLZvbO_V1wZt60sCHbnRW9cbbDI2TfO0QwMzETnRR8SsemYaAbb_LZp5xdetP0rbomLC6GmNSmloRszsqKg1x3BxfopF2FUmC52DAu-6319YaXIxwbpzi0vaKsyM0daj39xXd5X0NF2A23pY361o7qM22B9no1mpgkFKkz6OLHoPQhR7dv9YuxwGcevAPQ-i2wwTmpjK482DKS2E_ssNIaO0hwrBoa-A8DvgGfY7w",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/52ce663f-e633-4c23-b21e-beb0c4e6089c"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/52ce663f-e633-4c23-b21e-beb0c4e6089c"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/52ce663f-e633-4c23-b21e-beb0c4e6089c"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}, {
"id" : "6aa9e70f-172c-43d3-8795-91b4fec6f00c",
"created" : "2026-09-04T12:45:57.789362",
"lastModified" : "2026-09-04T12:45:57.789363",
"name" : "SIT-generated api key (2026-09-04T12:45:57.705978658)",
"clientId" : "0CohqDsXvHHyVQsLVmbN8wCy5kyVFD3k",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys?page=0&size=20"
}
},
"page" : {
"size" : 20,
"totalElements" : 2,
"totalPages" : 1,
"number" : 0
}
}
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/6aa9e70f-172c-43d3-8795-91b4fec6f00c' -i -X GET
import requests
url = "https://app.meltano.com:443/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("GET", url, headers=headers)
print(response.text.encode('utf8'))
Response
200 OK
API key with HAL links.
{
"id" : "6aa9e70f-172c-43d3-8795-91b4fec6f00c",
"created" : "2026-09-04T12:45:57.789362",
"lastModified" : "2026-09-04T12:45:57.789363",
"name" : "SIT-generated api key (2026-09-04T12:45:57.705978658)",
"clientId" : "0CohqDsXvHHyVQsLVmbN8wCy5kyVFD3k",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}
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 'Accept: application/json, application/javascript, text/javascript, text/json' \
-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.
{
"id" : "d706eab3-0c7b-43db-90c4-706e1b7452b4",
"created" : "2026-09-14T06:24:50.273574465",
"lastModified" : "2026-09-14T06:24:50.273575689",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"create apikey" : {
"href" : "https://app.meltano.com/api/apikeys/d706eab3-0c7b-43db-90c4-706e1b7452b4"
}
}
}
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-09-14T06:24:50.288310235)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/d706eab3-0c7b-43db-90c4-706e1b7452b4' -i -X PUT \
-H 'Accept: application/json, application/javascript, text/javascript, text/json' \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-09-14T06:24:50.288310235)"
}'
import requests
url = "https://app.meltano.com:443/api/apikeys/d706eab3-0c7b-43db-90c4-706e1b7452b4"
data = {
"name" : "SIT-generated api key (2026-09-14T06:24:50.288310235)"
}
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.
{
"timestamp" : "2026-09-14T06:24:50.654+00:00",
"status" : 500,
"error" : "Internal Server Error",
"message" : "Request failed with status code 403: You reached the limit of entities of this type for this tenant.",
"path" : "/api/apikeys/d706eab3-0c7b-43db-90c4-706e1b7452b4"
}
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-09-04T12:45:57.705978658) (updated)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-09-04T12:45:57.705978658) (updated)"
}'
import requests
url = "https://app.meltano.com:443/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
data = {
"name" : "SIT-generated api key (2026-09-04T12:45:57.705978658) (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.
{
"id" : "6aa9e70f-172c-43d3-8795-91b4fec6f00c",
"created" : "2026-09-04T12:45:57.789362",
"lastModified" : "2026-09-04T12:45:59.134628588",
"name" : "SIT-generated api key (2026-09-04T12:45:57.705978658) (updated)",
"clientId" : "0CohqDsXvHHyVQsLVmbN8wCy5kyVFD3k",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}
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/6aa9e70f-172c-43d3-8795-91b4fec6f00c' -i -X DELETE
import requests
url = "https://app.meltano.com:443/api/apikeys/6aa9e70f-172c-43d3-8795-91b4fec6f00c"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.