---
title: "Create access token template"
method: POST
path: "/api/v2/user/accesstokentemplate"
tags: ["User"]
---

# Create access token template

`POST /api/v2/user/accesstokentemplate`

Creates a reusable access token template for the authenticated user.

## Request body

- object — Request body for creating an access token template. Defines a reusable configuration including spending limits and optional enterprise scope that can be applied when creating access tokens.
  - `name` string, required — Display name for the template (must be unique per user)
  - `enterpriseId` string — Scope the template to a specific enterprise; user must be a member of the enterprise
  - `tokenScopes` string[]
  - `allowedIPs` string[]
  - `tokenLimits` object — Spending limits to apply when tokens are created from this template
    - `allErc20TokensLimit` AllErc20TokensTemplateLimit
      - `enabled` boolean
      - `txValueLimit` string
      - `maxLimit` boolean
    - `spendingLimits` object[]
      - `coin` string, required
      - `maxLimit` boolean
      - `txValueLimit` string
  - `permittedEnterprises` string[]
  - `permittedWallets` string[]

## Response `200`

OK

- AccessTokenTemplateResponse
  - `id` string, required
  - `name` string, required
  - `userId` string, required
  - `enterpriseId` string
  - `tokenScopes` string[]
  - `allowedIPs` string[]
  - `tokenLimits` TokenLimits
    - `spendingLimits` object[]
      - `coin` string, required
      - `txValueLimit` string
      - `maxLimit` boolean
    - `allErc20TokensLimit` AllErc20TokensTemplateLimit
      - `enabled` boolean
      - `txValueLimit` string
      - `maxLimit` boolean
  - `permittedEnterprises` string[]
  - `permittedWallets` string[]
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `409` — Conflict

---

[API](https://skmtc.net/bitgo/apis/bitgo-api.md) · [All operations](https://skmtc.net/bitgo/apis/bitgo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitgo/bitgo-api/revisions/e445c15e5bee/schema)
