---
title: "Lists allocation templates for an account"
method: GET
path: "/demand/accounts/{account_id}/allocation-templates"
tags: ["Allocation Templates Admin"]
---

# Lists allocation templates for an account

`GET /demand/accounts/{account_id}/allocation-templates`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/demand/accounts/{account_id}/allocation-templates`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cint/apis/demand-api/docs/demand/accounts/:account_id/allocation-templates/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists a paginated set of allocation templates for an account. The response includes each template's ID, name, and last update details. Use the `page_size` parameter to control the number of results per page, and use the `start_after` and `end_before` parameters to navigate between pages.

## Query parameters

- `page_size` integer
- `start_after` string
- `end_before` string

## Response `200`

The list of allocation templates was retrieved successfully.

- ListAccountAllocationTemplatesResponse
  - `templates` AccountAllocationTemplateListItem[], required
    - `template_id` string, ulid, required: A unique identifier for the template.
    - `name` string, required: The name of the account allocation template.
    - `last_modified_at` string, datetime, required: The last time the template was modified
    - `last_modified_by` string, uuid, required: A unique identifier for the user.
  - `has_more` boolean, required: A boolean that's true if there are more results available.
  - `next_cursor` string, required: The cursor to use in the start_after parameter to fetch the next page of results.

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `500`: A request failed due to an internal error.

---

[API](https://skmtc.dev/cint/apis/demand-api.md) - [All operations](https://skmtc.dev/cint/apis/demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cint/apis/demand-api/revisions/077a4bdda5cb?raw)
