Skip to content

Sync Slack Release

POST
/api/agents/slack/sync-release
curl --request POST \
--url https://example.com/api/agents/slack/sync-release \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "agent_name": "example", "version": "example", "environment": "example", "action": "example", "workflow_run_id": "example", "workflow_name": "example", "workflow_run_url": "example" }'
Media typeapplication/json
SlackReleaseSyncRequest
object
agent_name
required
Agent Name

Logical agent name

string
version
required
Version

Concrete version such as v4

string
environment
required
Environment

Target environment, such as dev, test, or prod

string
action
required
Action

Slack lifecycle action: activate or delete

string
workflow_run_id
Any of:
string
workflow_name
Any of:
string
workflow_run_url
Any of:
string
Examplegenerated
{
"agent_name": "example",
"version": "example",
"environment": "example",
"action": "example",
"workflow_run_id": "example",
"workflow_name": "example",
"workflow_run_url": "example"
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}