cURL
curl --request POST \ --url https://mcp.alpic.ai/v1/environments/:environmentId/deploy \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "environmentId": "<string>" } '
{ "id": "<string>", "status": "ongoing", "sourceRef": "<string>", "sourceCommitId": "<string>", "sourceCommitMessage": "<string>", "authorUsername": "<string>", "authorAvatarUrl": "<string>", "startedAt": "2023-11-07T05:31:56Z", "completedAt": "2023-11-07T05:31:56Z" }
Deploy an environment
Bearer token for authentication. Get it from the API Keys page in team settings.
The ID of the environment to deploy
The environment has been deployed successfully
ongoing
deployed
failed
canceled
Was this page helpful?