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" : "6fd476f7-76c0-4636-9963-56bd5f8bc433",
"created" : "2026-09-02T09:58:46.222886",
"lastModified" : "2026-09-02T09:58:46.222887",
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983)",
"clientId" : "LlDOYTbXR7vRvj3550g74lUnvVwIHMqa",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"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" : "6381a237-774b-444c-94bb-2d12cae3101f",
"created" : "2026-09-02T09:58:44.813198",
"lastModified" : "2026-09-02T09:58:44.813199",
"name" : "default",
"clientId" : "BsydlZVgFtL1p4Nt241VA4BuzvRLTkH5",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"accessToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlJFRkNRamczTlRRMk16QTROalpHT0RjNFFUWkJOemMyTkRGR1FUSkVOVEEyUkRkR1JrSkRPQSJ9.eyJpc3MiOiJodHRwczovL2lkZW50aXR5Lm1hdGF0aWthLmNvbS8iLCJzdWIiOiJCc3lkbFpWZ0Z0TDFwNE50MjQxVkE0QnV6dlJMVGtINUBjbGllbnRzIiwiYXVkIjoiaHR0cHM6Ly9hcHAubWF0YXRpa2EuY29tL2FwaSIsImlhdCI6MTc4ODM0MzEyNSwiZXhwIjoxNzg4NDI5NTI1LCJndHkiOiJjbGllbnQtY3JlZGVudGlhbHMiLCJhenAiOiJCc3lkbFpWZ0Z0TDFwNE50MjQxVkE0QnV6dlJMVGtINSJ9.5CQ0TgO0BnAfY4nJ2w93y6oFwpg9FrSv2RhjNkm2V8JHkRLTb2yfVAlDedFxYZ8l2dtwT_eKiYmrUeqf8z_1jYgv2_eaS1oHpFF_t09KD4FvAypVvoGwDVlauEFqh7v3SSU-edTCljNimUW7LnuzqvIanKFmxXLwKjmifAjC7f7mcVwXGOW9P14ZcrCWOoFSXyfeis64yOmqrV9A0z56fIj7l_EhiZ7m6uR4XiL3c8zcVrfda-oE1p94kED03aMptFuagFBd4bPC6uwI439ilADmznR0095MlE7lDumxlVbZktfxgiEeHYj6srbV3DvgZIoYxVJLkpCdMGiuRsCjUw",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6381a237-774b-444c-94bb-2d12cae3101f"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6381a237-774b-444c-94bb-2d12cae3101f"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6381a237-774b-444c-94bb-2d12cae3101f"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}, {
"id" : "6fd476f7-76c0-4636-9963-56bd5f8bc433",
"created" : "2026-09-02T09:58:46.222886",
"lastModified" : "2026-09-02T09:58:46.222887",
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983)",
"clientId" : "LlDOYTbXR7vRvj3550g74lUnvVwIHMqa",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"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/6fd476f7-76c0-4636-9963-56bd5f8bc433' -i -X GET
import requests
url = "https://app.meltano.com:443/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
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" : "6fd476f7-76c0-4636-9963-56bd5f8bc433",
"created" : "2026-09-02T09:58:46.222886",
"lastModified" : "2026-09-02T09:58:46.222887",
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983)",
"clientId" : "LlDOYTbXR7vRvj3550g74lUnvVwIHMqa",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"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 '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" : "6fd476f7-76c0-4636-9963-56bd5f8bc433",
"created" : "2026-09-02T09:58:46.090085492",
"lastModified" : "2026-09-02T09:58:46.090086607",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"create apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
}
}
}
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-02T09:58:46.129465983)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983)"
}'
import requests
url = "https://app.meltano.com:443/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
data = {
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983)"
}
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.
{
"id" : "6fd476f7-76c0-4636-9963-56bd5f8bc433",
"created" : "2026-09-02T09:58:46.222885887",
"lastModified" : "2026-09-02T09:58:46.222886799",
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983)",
"clientId" : "LlDOYTbXR7vRvj3550g74lUnvVwIHMqa",
"clientSecret" : "WbA3_lh0zCQFT9qLYFVWn76e3ram1U0LA8WokGDPRqxhJ0Jt1_fTSnl3VKqLDPzr",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"profile" : {
"href" : "https://app.meltano.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}
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-02T09:58:46.129465983) (updated)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983) (updated)"
}'
import requests
url = "https://app.meltano.com:443/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
data = {
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983) (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" : "6fd476f7-76c0-4636-9963-56bd5f8bc433",
"created" : "2026-09-02T09:58:46.222886",
"lastModified" : "2026-09-02T09:58:48.108214099",
"name" : "SIT-generated api key (2026-09-02T09:58:46.129465983) (updated)",
"clientId" : "LlDOYTbXR7vRvj3550g74lUnvVwIHMqa",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"update apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"delete apikey" : {
"href" : "https://app.meltano.com/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
},
"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/6fd476f7-76c0-4636-9963-56bd5f8bc433' -i -X DELETE
import requests
url = "https://app.meltano.com:443/api/apikeys/6fd476f7-76c0-4636-9963-56bd5f8bc433"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.