Skip to main content

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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/720b1985-d350-4916-930f-bc05c5ffd56a/deployments' -i -X POST \
-H 'Content-Type: application/json'

Response

202 Accepted

Job with HAL links.

{
"id" : "0f0e6f40-f6ab-4209-9c7f-72b96ce10471",
"created" : "2026-09-18T06:47:54.385255",
"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/0f0e6f40-f6ab-4209-9c7f-72b96ce10471"
},
"delete job" : {
"href" : "https://app.meltano.com/api/jobs/0f0e6f40-f6ab-4209-9c7f-72b96ce10471",
"type" : "DELETE"
},
"logs" : {
"href" : "https://app.meltano.com/api/jobs/0f0e6f40-f6ab-4209-9c7f-72b96ce10471/logs?sequence=0",
"type" : "GET"
},
"withdraw job" : {
"href" : "https://app.meltano.com/api/jobs/0f0e6f40-f6ab-4209-9c7f-72b96ce10471/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 -H "Authorization: Bearer $ACCESS_TOKEN" 'https://app.meltano.com:443/api/workspaces/720b1985-d350-4916-930f-bc05c5ffd56a/deployments/github-webhook' -i -X POST \
-H 'X-Hub-Signature: sha1=ee566dc8ef17f2995bcae78d87457bbe5d0a061c' \
-H 'Content-Type: application/json' \
-d '{ }'

Response

202 Accepted

Job with HAL links.

{
"id" : "88461a87-89fe-468b-a871-0383b48de178",
"created" : "2026-09-18T06:47:55.204926",
"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/88461a87-89fe-468b-a871-0383b48de178"
},
"delete job" : {
"href" : "https://app.meltano.com/api/jobs/88461a87-89fe-468b-a871-0383b48de178",
"type" : "DELETE"
},
"logs" : {
"href" : "https://app.meltano.com/api/jobs/88461a87-89fe-468b-a871-0383b48de178/logs?sequence=0",
"type" : "GET"
},
"withdraw job" : {
"href" : "https://app.meltano.com/api/jobs/88461a87-89fe-468b-a871-0383b48de178/stopped",
"type" : "PUT"
}
}
}