# Get template

`GET https://api.cryptohopper.com/v1/template/{template_id}`

Part of [Templates](https://www.cryptohopper.com/api-documentation/api-reference/templates.md) in the Cryptohopper API reference.

Returns one of the user's own templates.

OAuth scope: `read`

id is null for own templates. allowed_coins comes from the template's bot config.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `template_id` | string | yes | ID of the template. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/template/TEMPLATE_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "template_id": "138000",
        "type": "template",
        "id": null,
        "hidden_configuration": "0",
        "name": "My BTC bot",
        "description": "Trend following on USDT pairs",
        "logo": "https://cdn.cryptohopper.com/images/hoppers/templates/138000_2026-09-01-10-15-00.jpg",
        "exchange": "binance",
        "base_currency": "usdt",
        "currencies": "BTC,ETH",
        "created": "2026-09-01 10:15:00",
        "hasTriggers": 1,
        "hasConfigPool": 1,
        "hasSignals": 1,
        "allowed_coins": [
            "BTC",
            "ETH"
        ],
        "created_date": "2026-09-01 10:15:00"
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
