---
title: "New Endpoint"
method: POST
path: "/v1/photo_avatar/template/create"
---

# New Endpoint

`POST /v1/photo_avatar/template/create`

This is your first endpoint! Edit this page to start documenting your API.

## Headers

- `Topview-Uid` string, required
- `Authorization` string, required

## Request body

- object
  - `templateImageFileId` string, required — Upload local file to S3. **[How to upload file to s3 and get fileId](https://docs.topview.ai/reference/upload-api-usage#/)**

## Response `200`

Successful response

---

[API](https://skmtc.net/topview/apis/image-character-swap-apis-editable-in-readme.md) · [All operations](https://skmtc.net/topview/apis/image-character-swap-apis-editable-in-readme/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topview/image-character-swap-apis-editable-in-readme/revisions/83cd46ca7859/schema)
