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" : "46388be4-49fd-4084-8f80-a1f940e76ddf",
"created" : "2026-07-15T11:32:41.704666",
"lastModified" : "2026-07-15T11:32:41.704666",
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667)",
"clientId" : "7ShKZz16rGkwWYIvVmWLoPVQAmkXKBW0",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"update apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"delete apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"profile" : {
"href" : "https://app.matatika.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.matatika.com/api/apikeys' -i -X GET
import requests
url = "https://app.matatika.com/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" : "938d3814-bcb7-4b80-a29f-b91559d6e732",
"created" : "2026-07-15T11:32:40.610724",
"lastModified" : "2026-07-15T11:32:40.610724",
"name" : "default",
"clientId" : "vMM9w1zBEX3N8Y31XMKfte2tx0mFzW4U",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"accessToken" : "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IlJFRkNRamczTlRRMk16QTROalpHT0RjNFFUWkJOemMyTkRGR1FUSkVOVEEyUkRkR1JrSkRPQSJ9.eyJpc3MiOiJodHRwczovL2lkZW50aXR5Lm1hdGF0aWthLmNvbS8iLCJzdWIiOiJ2TU05dzF6QkVYM044WTMxWE1LZnRlMnR4MG1Gelc0VUBjbGllbnRzIiwiYXVkIjoiaHR0cHM6Ly9hcHAubWF0YXRpa2EuY29tL2FwaSIsImlhdCI6MTc4NDExNTE2MSwiZXhwIjoxNzg0MjAxNTYxLCJndHkiOiJjbGllbnQtY3JlZGVudGlhbHMiLCJhenAiOiJ2TU05dzF6QkVYM044WTMxWE1LZnRlMnR4MG1Gelc0VSJ9.UEPKSKC5fK3IIxPoX8J3wqwu9sm4C9uEzHg-wguFGqjqMwj3isN0XXqiY0ZyMKYBBvd5h0T4RlM2-w3nbUje2PTvw2cXdzmnDYhwjQNrezx1NJ0cyKXKKhS3f8nx8nxfItXHM3JlG2r8VBzHjy5WZHk3SztSZxz-xQgxkATo7r-jaJkAgP-Qj2d6hxMaAu1x2hbzIA_jSGUGZ79kNBTwv_omcrRGIiD4XFw1TAZRooVdokweAyqQvX7x0etg4knC-xeLTYQsayNJAFwDNX64y5zghvXz396JzoD47GxeD42t9pqF_XecWf8xyIrMFHXYomud3x0RGkeGA70pEn-TmA",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/apikeys/938d3814-bcb7-4b80-a29f-b91559d6e732"
},
"update apikey" : {
"href" : "https://app.matatika.com/api/apikeys/938d3814-bcb7-4b80-a29f-b91559d6e732"
},
"delete apikey" : {
"href" : "https://app.matatika.com/api/apikeys/938d3814-bcb7-4b80-a29f-b91559d6e732"
},
"profile" : {
"href" : "https://app.matatika.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
}, {
"id" : "46388be4-49fd-4084-8f80-a1f940e76ddf",
"created" : "2026-07-15T11:32:41.704666",
"lastModified" : "2026-07-15T11:32:41.704666",
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667)",
"clientId" : "7ShKZz16rGkwWYIvVmWLoPVQAmkXKBW0",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"update apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"delete apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"profile" : {
"href" : "https://app.matatika.com/api/profiles/auth0%7C6a21dc7aa1db2e036a222942"
}
}
} ]
},
"_links" : {
"self" : {
"href" : "https://app.matatika.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.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf' -i -X GET
import requests
url = "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
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" : "46388be4-49fd-4084-8f80-a1f940e76ddf",
"created" : "2026-07-15T11:32:41.704666",
"lastModified" : "2026-07-15T11:32:41.704666",
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667)",
"clientId" : "7ShKZz16rGkwWYIvVmWLoPVQAmkXKBW0",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"update apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"delete apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"profile" : {
"href" : "https://app.matatika.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.matatika.com/api/apikeys' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.matatika.com/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" : "46388be4-49fd-4084-8f80-a1f940e76ddf",
"created" : "2026-07-15T11:32:41.62905735",
"lastModified" : "2026-07-15T11:32:41.629057828",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"create apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
}
}
}
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-07-15T11:32:41.665185667)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667)"
}'
import requests
url = "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
data = {
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667)"
}
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" : "46388be4-49fd-4084-8f80-a1f940e76ddf",
"created" : "2026-07-15T11:32:41.704665894",
"lastModified" : "2026-07-15T11:32:41.704666457",
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667)",
"clientId" : "7ShKZz16rGkwWYIvVmWLoPVQAmkXKBW0",
"clientSecret" : "d4y3koQRr97oV1ittnRyK-h9ayfMmd2fQLHVYl68W8nRzF39DpQcFJSkJnZGig6f",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"update apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"delete apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"profile" : {
"href" : "https://app.matatika.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-07-15T11:32:41.665185667) (updated)"
}
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf' -i -X PUT \
-H 'Content-Type: application/json' \
-d '{
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667) (updated)"
}'
import requests
url = "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
data = {
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667) (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" : "46388be4-49fd-4084-8f80-a1f940e76ddf",
"created" : "2026-07-15T11:32:41.704666",
"lastModified" : "2026-07-15T11:32:42.919723506",
"name" : "SIT-generated api key (2026-07-15T11:32:41.665185667) (updated)",
"clientId" : "7ShKZz16rGkwWYIvVmWLoPVQAmkXKBW0",
"profileId" : "auth0|6a21dc7aa1db2e036a222942",
"_links" : {
"self" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"update apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"delete apikey" : {
"href" : "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
},
"profile" : {
"href" : "https://app.matatika.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.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf' -i -X DELETE
import requests
url = "https://app.matatika.com/api/apikeys/46388be4-49fd-4084-8f80-a1f940e76ddf"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("DELETE", url, headers=headers)
print(response.text.encode('utf8'))
Response
204 No Content
No response body provided.