Deployments
Deployments let the user schedule a job to deploy the contents of their workspace repository to their workspace in Meltano Cloud.
This can be done manually or via a GitHub repository webhook:
- Payload URL:
https://app.meltano.com/api/workspaces/<workspace_id>/deployments/github-webhook - Content type:
application/json - Secret: "Deployment Secret" from workspace settings in Meltano Cloud
Requests
Deploy your workspace repository
POST /api/workspaces/{workspaces-id}/deployments
Deploys the workspace {workspace-id}.
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/b61ff3eb-72ec-4714-a49f-ceabd9470833/deployments' -i -X POST \
-H 'Content-Type: application/json'
import requests
url = "https://app.meltano.com:443/api/workspaces/b61ff3eb-72ec-4714-a49f-ceabd9470833/deployments"
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers)
print(response.text.encode('utf8'))
Response
202 Accepted
Job with HAL links.
{
"id" : "cfb06479-195e-41d9-ba3a-e8a5507bbf76",
"created" : "2026-08-07T13:21:25.250507",
"type" : "WORKSPACE_DEPLOY",
"maxAttempts" : 0,
"attempt" : 0,
"status" : "QUEUED",
"_embedded" : {
"profile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod",
"email" : "sit+prod@meltano.com",
"workingAccount" : {
"company" : "SIT Account - DO NOT CHANGE",
"id" : "auth0|6a21dc7aa1db2e036a222942"
}
}
},
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/jobs/cfb06479-195e-41d9-ba3a-e8a5507bbf76"
},
"delete job" : {
"href" : "https://app.meltano.com/api/jobs/cfb06479-195e-41d9-ba3a-e8a5507bbf76",
"type" : "DELETE"
},
"logs" : {
"href" : "https://app.meltano.com/api/jobs/cfb06479-195e-41d9-ba3a-e8a5507bbf76/logs?sequence=0",
"type" : "GET"
},
"withdraw job" : {
"href" : "https://app.meltano.com/api/jobs/cfb06479-195e-41d9-ba3a-e8a5507bbf76/stopped",
"type" : "PUT"
}
}
}
GitHub webhook workspace deployment
POST /api/workspaces/{workspaces-id}/deployments/github-webhook
Receives POST requests from GitHub and starts a workspace deploy job.
Examples
- cURL
- Python (requests)
curl -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/b61ff3eb-72ec-4714-a49f-ceabd9470833/deployments/github-webhook' -i -X POST \
-H 'X-Hub-Signature: sha1=cf0e934915fb28b6169d44a615c4280a4e25bcbc' \
-H 'Content-Type: application/json' \
-d '{ }'
import requests
url = "https://app.meltano.com:443/api/workspaces/b61ff3eb-72ec-4714-a49f-ceabd9470833/deployments/github-webhook"
data = { }
headers = {
'Authorization': ACCESS_TOKEN
}
response = requests.request("POST", url, headers=headers, data=data)
print(response.text.encode('utf8'))
Response
202 Accepted
Job with HAL links.
{
"id" : "3190d822-b2c7-418d-8ad4-77cabf3168a7",
"created" : "2026-08-07T13:21:37.558423",
"type" : "WORKSPACE_DEPLOY",
"maxAttempts" : 0,
"attempt" : 0,
"status" : "QUEUED",
"_embedded" : {
"profile" : {
"id" : "auth0|6a21dc7aa1db2e036a222942",
"name" : "sit+prod@meltano.com",
"handle" : "@sit+prod",
"email" : "sit+prod@meltano.com",
"workingAccount" : {
"company" : "SIT Account - DO NOT CHANGE",
"id" : "auth0|6a21dc7aa1db2e036a222942"
}
}
},
"_links" : {
"self" : {
"href" : "https://app.meltano.com/api/jobs/3190d822-b2c7-418d-8ad4-77cabf3168a7"
},
"delete job" : {
"href" : "https://app.meltano.com/api/jobs/3190d822-b2c7-418d-8ad4-77cabf3168a7",
"type" : "DELETE"
},
"logs" : {
"href" : "https://app.meltano.com/api/jobs/3190d822-b2c7-418d-8ad4-77cabf3168a7/logs?sequence=0",
"type" : "GET"
},
"withdraw job" : {
"href" : "https://app.meltano.com/api/jobs/3190d822-b2c7-418d-8ad4-77cabf3168a7/stopped",
"type" : "PUT"
}
}
}