---
title: "Download policy template file"
method: GET
path: "/v1/projects/{projectId}/policies/{policyId}/attachments/{attachmentId}/template"
tags: ["policies"]
---

# Download policy template file

`GET /v1/projects/{projectId}/policies/{policyId}/attachments/{attachmentId}/template`

## Request

- Base URL: `https://senderid.registrations.api.sinch.com`
- URL: `https://senderid.registrations.api.sinch.com/v1/projects/{projectId}/policies/{policyId}/attachments/{attachmentId}/template`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://auth.sinch.com/oauth2/token` scopes: `read`

Download a policy template. Use this enpdoint to download the template for those policy attachments which template value is true.

## Path parameters

- `projectId` string, required
- `policyId` string, required
- `attachmentId` string, required

## Response `200`

Request Successful with binary file returned in octet stream

## Other responses

- `404`: Policy/template not found

---

[API](https://skmtc.dev/sinch/apis/sinch-sender-id-registrations-api.md) - [All operations](https://skmtc.dev/sinch/apis/sinch-sender-id-registrations-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sinch/apis/sinch-sender-id-registrations-api/revisions/fe69a3ac7d43?raw)
