---
title: "Get Template"
method: GET
path: "/2022-06-09/collections/{collectionId}/templates/{templateId}"
tags: ["NFT Templates"]
---

# Get Template

`GET /2022-06-09/collections/{collectionId}/templates/{templateId}`

## Request

- Base URL: `https://staging.crossmint.com/api`
- URL: `https://staging.crossmint.com/api/2022-06-09/collections/{collectionId}/templates/{templateId}`
- Auth: none required
- TypeScript: <https://skmtc.dev/crossmint/apis/onramp/docs/2022-06-09/collections/:collectionId/templates/:templateId/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the contents of a token template.

**API scope required**: `nfts.read`

## Path parameters

- `collectionId` string, required
- `templateId` string, required

## Response `200`

Success

- TemplateResponse
  - `templateId` string, uuid
  - `metadata` object
    - `name` string
    - `image` string
    - `description` string
    - `symbol` string
  - `onChain` union
    - object
      - `tokenId` integer: TokenId for the token
    - object
      - `mintHash` string: (SFTs Only) Mint hash for SFT if one has been minted already
  - `supply` object
    - `limit` integer
    - `minted` integer

## Other responses

- `400`: Invalid arguments, please make sure you're following the api specification.
- `403`: Forbidden error, please ensure the credentials are correct.
- `404`: Not found error.
- `503`: Service unavailable

---

[API](https://skmtc.dev/crossmint/apis/onramp.md) - [All operations](https://skmtc.dev/crossmint/apis/onramp/llms.txt) - [OpenAPI document](https://skmtc.dev/crossmint/apis/onramp/revisions/e2143d192130?raw)
