---
title: "Retrieve the IDs of relevant default allocation templates"
method: GET
path: "/demand/accounts/{account_id}/default-allocation-templates"
tags: ["Allocation Templates Admin"]
---

# Retrieve the IDs of relevant default allocation templates

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

## Request

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

A convenience endpoint that returns the applicable default allocation templates of multiple kinds for the given account.
If `business_unit_id` and `country_code` are not provided, it returns only the account-level default template, if one exists.

## Query parameters

- `business_unit_id` string: The unique ID of the business unit, which determines the currency used for the target group.
- `country_code` string: Two-letter country code as per ISO 3166-1 alpha-2 standard.

## Response `200`

The applicable default allocation templates were retrieved successfully.

- GetDefaultAllocationTemplatesResponse
  - `default_templates` DefaultAllocationTemplate[], required: The list of applicable default allocation templates.
    - `id` string, ulid, required: A unique identifier for the template.
    - `type` 'account' | 'country', required: The type of the default allocation template.
    - `version` integer, required: The version of the allocation template.

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `404`: A requested resource isn't found.
- `429`: The request was rate limited. Please retry after the specified delay.
- `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)
