Auto Responses entities can be interacted using a RESTful interface through a multitude of routes, including ones for viewing, modifying, and deleting entities.
Restful endpoints for viewing and modifying auto responses.
Get Responses for a Guild
v1 Rest API
GET/responses/{guild.id}
Requires authenticationReturns a list of auto response objects.
Create a New Auto Response
v1 Rest API
POST/responses/{guild.id}
Requires authenticationReturns an auto response object on success. Will fire some type of gateway event.
Json Params
Field | Type | Description |
---|---|---|
trigger | string | Trigger portion of the auto response |
response | string | Response portion of the auto response |
Delete an Auto Response
v1 Rest API
DELETE/responses/{guild.id}/{auto_response.id}
Requires authenticationReturns 204 No Content
on success. Requires ownership or admin. Will fire some type of gateway event.
Modify an Existing Auto Response
v1 Rest API
PATCH/responses/{guild.id}/{auto_response.id}
Requires authenticationModify the given auto response. Requires ownership or an admin. Returns the updated auto response object on success. Will fire some type of gateway event.
Json Params
Field | Type | Description |
---|---|---|
trigger | string | New trigger portion of the auto response |
response | string | New response portion of the auto response |
Last modified 4 years ago Edit this page on GitHub