Receive Slack events
POST
/api/v4/integrations/slack/events
Authorizations
Section titled “ Authorizations ”Request Body
Section titled “ Request Body ” Media type application/json
object
token
(Deprecated by Slack) The request token, unused by GitLab
string
team_id
The Slack workspace ID of where the event occurred
string
api_app_id
The Slack app ID
string
event
The event object with variable properties
object
type
The kind of event this is, usually event_callback
string
event_id
A unique identifier for this specific event
string
event_time
The epoch timestamp in seconds when this event was dispatched
integer
authed_users
(Deprecated by Slack) An array of Slack user IDs
Array<string>
Example generated
{ "token": "example", "team_id": "example", "api_app_id": "example", "event": {}, "type": "example", "event_id": "example", "event_time": 1, "authed_users": [ "example" ]}Responses
Section titled “ Responses ”Successfully processed event
Failed to process event
Bad Request
Unauthorized