Skip to content
Skip to Content
Coder Docs

Get custom notification templates

GET
/api/v2/notifications/templates/custom

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
[index: integer]?

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/notifications/templates/custom" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response
[  {    "actions": "string",    "body_template": "string",    "enabled_by_default": true,    "group": "string",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "kind": "string",    "method": "string",    "name": "string",    "title_template": "string"  }]