Source: https://atomicwork-preview.docs-staging.pageloop.ai/api-reference/workflows/getapi-v-1-workspaces-workspace-id-request-automations-request-entity-type-placeholders

# Get placeholder fields

GET `https://{tenant}.atomicwork.com/api/v1/workspaces/{workspaceId}/request-automations/{request_entity_type}/placeholders`

## Authorization

#### X-Api-Key (header, string, required)

## Headers

#### X-Workspace-Id (header, string)

## Path Parameters

#### workspaceId (path, integer, required)

Workspace ID (numeric). Find yours under Settings → Workspace.

#### request\_entity\_type (path, enum (string), required)

Automation entity type (see allowed values in the enum schema).

## Query Parameters

#### search\_key (query, string)

#### automation\_id (query, string)

#### current\_action\_id (query, string)

#### previous\_action\_id (query, string)

#### entity\_id (query, integer)

Overloaded parameter by QueryContext. For REQUEST/CHANGE: service item/change template ID. For CUSTOM\_OBJECT: use entity\_type\_id instead (new parameter).

#### entity\_type\_id (query, integer)

Entity type ID for typed entity automations (CUSTOM\_OBJECT today, ASSET in future). Preferred over entity\_id for these types.

#### context (query, enum (string))

#### field\_id (query, integer)

#### trigger\_type (query, enum (string))

## Response

#### 200

Successful response

#### Request

```bash cURL
curl -X GET 'https://{tenant}.atomicwork.com/api/v1/workspaces/{workspaceId}/request-automations/{request_entity_type}/placeholders' \
  -H 'X-Api-Key: <api-key>'
```

```javascript JavaScript
const res = await fetch('https://{tenant}.atomicwork.com/api/v1/workspaces/{workspaceId}/request-automations/{request_entity_type}/placeholders', {
  method: 'GET',
  headers: {
    'X-Api-Key': '<api-key>',
  },
});
const data = await res.json();
```

```python Python
import requests

res = requests.get(
    'https://{tenant}.atomicwork.com/api/v1/workspaces/{workspaceId}/request-automations/{request_entity_type}/placeholders',
    headers={'X-Api-Key': '<api-key>'}
)
data = res.json()
```
