---
title: "Create a location"
description: "Body: name, kind (store|event|canvass), street/city/state/zip, radius_meters (25-2000), lead_source_tag, optional pin {latitude, longitude}. A pin is PINNED; otherwise the address is geocoded and kept only at ROOFTOP precision (geocode: rooftop|needs_pin|no_address|unavailable)."
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.channelautomations.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Channel Automation API › Field Sales

`POST /api/field-sales/locations`

Body: name, kind (store|event|canvass), street/city/state/zip, radius_meters (25-2000), lead_source_tag, optional pin {latitude, longitude}. A pin is PINNED; otherwise the address is geocoded and kept only at ROOFTOP precision (geocode: rooftop|needs_pin|no_address|unavailable).

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.channelautomation.com/api/field-sales/locations
```

### TypeScript

```typescript
const url = 'https://api.channelautomation.com/api/field-sales/locations';
const options = {method: 'POST'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.channelautomation.com/api/field-sales/locations"

response = requests.post(url)

print(response.text)
```


Source: https://developer.channelautomations.com/api/post-api-field-sales-locations/index.md
