Get Uploaded Templates

Get Uploaded Templates

Retrieves all templates available for enterprise API users. This endpoint is used to list templates that can be accessed and managed by users with enterprise-level API access.


HTTP Request

  • Method: GET

  • URL: {{host}}/api/v2/templates?user_type=ENTERPRISE_API


Authentication

  • Type: Bearer Token

  • Header:
    Authorization: Bearer {USER-TOKEN}

  • A valid bearer token is required to access this endpoint. Ensure your token is up to date and has the necessary permissions.


Query Parameters

NameTypeRequiredDescription
user_typestringYesMust be set to ENTERPRISE_API to retrieve enterprise templates.

Request Body

  • This does not require a request body.

Example Request

httpGET {{host}}/api/v2/templates?    user_type=ENTERPRISE_APIAuthorization: Bearer {USER-TOKEN}

Example Successful Response

json[    {        "template_id": "string",        "name": "string",        "status": "string",        "roles": [            "string"        ],        "recipients": [            {                "name": "string",                "email": "string",                "role": "string"            }        ],        "created_at": "string"    }]

Error Responses

Status CodeDescription
200Success. Returns a list of templates.
400Bad Request. Invalid or missing parameters.
401Unauthorized. Missing or invalid token.
403Forbidden. Insufficient permissions.
500Internal Server Error.

Usage Notes

  • Always set the user_type query parameter to ENTERPRISE_API.

  • Ensure you include a valid bearer token in the Authorization header.

  • This endpoint is intended for enterprise API users only.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!