# List subprocessor templates

URL: /en/docs/api/v1/subprocessors/templates/get
Last Updated: 2026-07-30T21:15:30.318Z

## Description
No description available.

## Available Actions
- Execute GET request
- View request parameters
- View response schema
- Get code examples
- Navigate to related topics
- View step-by-step instructions
- Get best practices

## Content
### GET /api/v1/subprocessors/templates

**List subprocessor templates**

Return all templates that can be used during subprocessor creation.

**Authentication:** Bearer token (`Authorization: Bearer <token>`)

**Responses:**

- `200` - List of templates for the current tenant
  - `templates` (array of SubprocessorTemplate (object))
    - `id` (string)
    - `title` (string)
    - `description` (string)
    - `description_markdown` (string)
    - `badge` (string)

  Example (success):
  
  ```json
  {
  "templates": [
    {
      "id": "template-aws",
      "title": "AWS Global Infrastructure",
      "description": "Default template for AWS hosting workloads.",
      "description_markdown": "- Regions: eu-west-1, us-east-1\n- Data classes: Logs, metrics\n- Certifications: ISO 27001, SOC 2 Type II\n",
      "badge": "https://directus.example.com/assets/aws-badge"
    }
  ]
}
  ```
- `401` - Unauthorized

  Example (unauthorized):
  
  ```json
  {
  "error": "unauthorized",
  "details": "Missing or invalid bearer token"
}
  ```
- `500` - Internal server error

  Example (server_error):
  
  ```json
  {
  "error": "server_error",
  "details": "Unexpected error occurred"
}
  ```

**Code samples:**

JS (fetch):

```javascript
const res = await fetch("https://app.orbiqhq.com/api/v1/subprocessors/templates", {
  headers: { Authorization: `Bearer ${apiKey}` }
});
const { templates } = await res.json();

```

