---
title: "Create an approval"
method: POST
path: "/rest/api/v1/accounts/{accountId}/approvals"
tags: ["Account API"]
---

# Create an approval

`POST /rest/api/v1/accounts/{accountId}/approvals`

## Request

- Base URL: `https://api.metacopier.io`
- URL: `https://api.metacopier.io/rest/api/v1/accounts/{accountId}/approvals`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/metacopier/apis/metacopier-api/docs/rest/api/v1/accounts/:accountId/approvals/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountId` string, uuid, required

## Request body

- ApprovalDTO
  - `accountFromId` string, uuid, required: The account UUID
  - `ticket` integer, required: The ticket number of the position
  - `volume` number: You can override the volume (lots). If not specified, it will use the lot size specified by the copier

## Response `204`

No Content

## Changes

- **2025-06-22** `eba1636bba1f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/metacopier/apis/metacopier-api/changes/rest/api/v1/accounts/:accountId/approvals/post.md)

---

[API](https://skmtc.dev/metacopier/apis/metacopier-api.md) - [All operations](https://skmtc.dev/metacopier/apis/metacopier-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metacopier/apis/metacopier-api/revisions/2ac6d7461345?raw)
