Get all auth templates(admin)
Auth Templates
GET auth templates(admin)
Endpoint
GET /api/v1/auth_templates
Request
Route
GET /api/v1/auth_templates
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMSIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE2NiwiZXhwIjoxNzU1ODU4MTY2LCJqdGkiOiIxZTJhZjA5My0xNjg3LTQzMmItYjliMy0wZjA5YWQ2ZDdkMWIifQ.v4-Juyan2KKpHi5j0Ep3UHnZp9kJh2WEhAaOQNqil9s
Host: example.org
Cookie:
Query Parameters
{}=
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 2
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"573890b46b5c9b49a86d184c730c43de"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4f07fbcf-0693-4961-b6d4-1c86879b82cc
x-runtime: 0.025575
content-length: 1002
Body
{
"auth_templates": [
{
"id": 2,
"content": "Eos quasi qui. Vero quo quasi. Sunt officia voluptas.",
"image": {
"id": 4,
"signed_id": "eyJfcmFpbHMiOnsiZGF0YSI6NCwicHVyIjoiYmxvYl9pZCJ9fQ==--745bafd8dea88b0b96e57d6da140b413db0f781e",
"byte_size": 596,
"filename": "test_image.png",
"url": "http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6NCwicHVyIjoiYmxvYl9pZCJ9fQ==--745bafd8dea88b0b96e57d6da140b413db0f781e/test_image.png"
},
"name": "ut",
"usage": [
[
"create_account",
"create_password"
]
]
},
{
"id": 1,
"content": "Totam explicabo voluptatem. Molestiae ea eum. Voluptatem quas voluptatem.",
"image": {
"id": 2,
"signed_id": "eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--c86e00a049b056b0cc1373fe7edd0e51b3c88c9f",
"byte_size": 596,
"filename": "test_image.png",
"url": "http://localhost:3000/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MiwicHVyIjoiYmxvYl9pZCJ9fQ==--c86e00a049b056b0cc1373fe7edd0e51b3c88c9f/test_image.png"
},
"name": "unde",
"usage": [
[
"company_details",
"create_account"
]
]
}
]
}