---
title: "Add Project Placeholder"
method: POST
path: "/projects/{projectId}/placeholders"
tags: ["Placeholders"]
---

# Add Project Placeholder

`POST /projects/{projectId}/placeholders`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/placeholders`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/projects/:projectId/placeholders/post.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.placeholder` (Read and Write).

Assigns a custom placeholder of the organization to the project, so Crowdin starts recognizing it in this project. `type`, `index`, `isBlocking` and `formats` apply to this project only — the placeholder definition they belong to is shared.

## Path parameters

- `projectId` integer, required

## Request body

- ProjectPlaceholderCreateForm: Assigns a custom placeholder of the organization to the project
  - `customPlaceholderId` integer, required: ID of the custom placeholder your organization defined
  - `type` 'high' | 'low': Priority the placeholder is matched with. One of: `high`, `low`
  - `index` integer: Position of the placeholder among the ones assigned to the project
  - `isBlocking` boolean: If `true`, a mismatch of the placeholder blocks the translation from being saved
  - `formats` string[]: File formats the placeholder is applied to; an empty array means every format

## Response `201`

Project Placeholder was successfully assigned

- ProjectPlaceholderResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` ProjectPlaceholderResponse, required: A custom placeholder of the organization, with the settings it has in this project
    - `id` integer, nullable: Identifier of the placeholder in this project. Address the placeholder by this value
    - `customPlaceholderId` integer, nullable: Custom placeholder of the organization this row assigns
    - `type` string, nullable: Priority the placeholder is matched with. One of: `high`, `low`
    - `index` integer, nullable: Position of the placeholder among the ones assigned to the project
    - `isBlocking` boolean, nullable: If `true`, a mismatch of the placeholder blocks the translation from being saved
    - `formats` string[]: File formats the placeholder is applied to; an empty array means every format

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `405`: Method Not Allowed

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
