List available templates
Lists the names of all available templates for communicating with users.
Template names can be used to retrieve the template body for your organization.
Header Parameters
- SlashID-OrgID string required
The organization ID
Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
meta object
errors object[]
- result string[]
Possible values: [
email_authn_challenge
,email_otp_message
,text_authn_challenge
,text_otp_message
,email_password_reset
,email_password_change_notify
,text_password_reset
,text_password_change_notify
]
{
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total_count": 0
}
},
"errors": [
{
"httpcode": 0,
"message": "string"
}
],
"result": [
"email_authn_challenge"
]
}
GET /organizations/config/templates
https://api.slashid.com
Authorization
type: apiKeyname: SlashID-API-Keyin: header
Request
Request
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'
curl -L -X GET 'https://api.slashid.com/organizations/config/templates' \
-H 'Accept: application/json' \
-H 'SlashID-OrgID: <SLASHID_ORG_ID_VALUE>' \
-H 'SlashID-API-Key: <API_KEY_VALUE>'