---
title: "Create Area-Template Relation"
method: POST
path: "/v3/gfw/arearelations/templates"
tags: ["Area-Template Relations"]
---

# Create Area-Template Relation

`POST /v3/gfw/arearelations/templates`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/v3/gfw/arearelations/templates`
- Auth: HTTP bearer

Creates an area-template relation

## Request body

- object[]
  - `areaId` string, required
  - `templateId` string, required

## Response `201`

Example response

- object
  - `_id` string
  - `templateId` string
  - `areaId` string

## Other responses

- `401`: Error Response
- `404`: Error Response

---

[API](https://skmtc.dev/wri/apis/fw-core.md) - [All operations](https://skmtc.dev/wri/apis/fw-core/llms.txt) - [OpenAPI document](https://skmtc.dev/wri/apis/fw-core/revisions/400d22a78fbd?raw)
