Skip to content

Receive Slack events

POST
/api/v4/integrations/slack/events
Media type application/json
object
token

(Deprecated by Slack) The request token, unused by GitLab

string
nullable
team_id

The Slack workspace ID of where the event occurred

string
nullable
api_app_id

The Slack app ID

string
nullable
event

The event object with variable properties

object
type

The kind of event this is, usually event_callback

string
nullable
event_id

A unique identifier for this specific event

string
nullable
event_time

The epoch timestamp in seconds when this event was dispatched

integer
nullable
authed_users

(Deprecated by Slack) An array of Slack user IDs

Array<string>
nullable
Example generated
{
"token": "example",
"team_id": "example",
"api_app_id": "example",
"event": {},
"type": "example",
"event_id": "example",
"event_time": 1,
"authed_users": [
"example"
]
}

Successfully processed event

Failed to process event

Bad Request

Unauthorized