cURL
curl -H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/projects/{projectId}/slack/connections"{
"data": [
{
"id": "<string>",
"installed_at": "2023-11-07T05:31:56Z",
"project_id": "<string>",
"scope": "<string>",
"slack_app_id": "<string>",
"slack_team_id": "<string>",
"slack_team_name": "<string>",
"surface": "PLATFORM",
"created_by": {
"id": "<string>",
"name": "<string>"
},
"revoked_at": "2023-11-07T05:31:56Z"
}
]
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Slack Connections
List Slack connections for a project
Returns the active (non-revoked, non-deleted) Slack workspace installs for the project, whichever surface installed them. Each connection reports its own surface so callers can label provenance; an alert may deliver through a workspace installed from the other app.
GET
/
v1
/
projects
/
{projectId}
/
slack
/
connections
cURL
curl -H "X-API-Key: $PARTICLE_API_KEY" \
"https://api.particle.pro/v1/projects/{projectId}/slack/connections"{
"data": [
{
"id": "<string>",
"installed_at": "2023-11-07T05:31:56Z",
"project_id": "<string>",
"scope": "<string>",
"slack_app_id": "<string>",
"slack_team_id": "<string>",
"slack_team_name": "<string>",
"surface": "PLATFORM",
"created_by": {
"id": "<string>",
"name": "<string>"
},
"revoked_at": "2023-11-07T05:31:56Z"
}
]
}{
"detail": "Property foo is required but is missing.",
"error_code": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"resolve": {
"message": "<string>",
"action": "<string>",
"endpoint": "<string>",
"method": "<string>",
"url": "<string>"
},
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Was this page helpful?