# List Custom Statuses (/api/list-custom-statuses)

**GET** `/v1/custom-statuses`

Lists your brand's custom Pod statuses, including the ID you pass to the Update Pod endpoint.

<Callout type="info" title="Authentication">
Requires the `ReadCustomStatuses` scope. See [Authentication](/api/authentication).
</Callout>

## Query parameters [#query-parameters]

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `pod_type` | string | Optional | Filter to statuses assignable to a single Pod type, e.g. `content` or `customer`. Omit to return every custom status configured for your brand. |

<Callout type="info" title="Custom vs internal statuses">
Every custom status maps to one of four **internal** statuses (`draft`, `active`, `completed`, `lost`). Custom statuses are a display and filter layer your brand configures in **Settings → Pods & Templates → Statuses**; the internal status is what drives reporting and CRM sync.
</Callout>

## Example requests [#example-requests]

### All statuses [#all-statuses]

<CodeBlockTabs defaultValue="curl">
<CodeBlockTabsList>
<CodeBlockTabsTrigger value="curl">
cURL
</CodeBlockTabsTrigger>

<CodeBlockTabsTrigger value="javascript">
JavaScript
</CodeBlockTabsTrigger>

<CodeBlockTabsTrigger value="python">
Python
</CodeBlockTabsTrigger>
</CodeBlockTabsList>

<CodeBlockTab value="curl">
```bash
curl https://trumpet.app/api/v1/custom-statuses \
  -H "Authorization: Bearer trpt_a1b2c3_your_key_here"
```
</CodeBlockTab>

<CodeBlockTab value="javascript">
```javascript
const response = await fetch("https://trumpet.app/api/v1/custom-statuses", {
  headers: {
    Authorization: `Bearer ${process.env.TRUMPET_API_KEY}`,
  },
});

const { success, data } = await response.json();
```
</CodeBlockTab>

<CodeBlockTab value="python">
```python
import os
import requests

response = requests.get(
    "https://trumpet.app/api/v1/custom-statuses",
    headers={"Authorization": f"Bearer {os.environ['TRUMPET_API_KEY']}"},
)

data = response.json()
```
</CodeBlockTab>
</CodeBlockTabs>

### Filtered by Pod type [#filtered-by-pod-type]

<CodeBlockTabs defaultValue="curl">
<CodeBlockTabsList>
<CodeBlockTabsTrigger value="curl">
cURL
</CodeBlockTabsTrigger>

<CodeBlockTabsTrigger value="javascript">
JavaScript
</CodeBlockTabsTrigger>

<CodeBlockTabsTrigger value="python">
Python
</CodeBlockTabsTrigger>
</CodeBlockTabsList>

<CodeBlockTab value="curl">
```bash
curl "https://trumpet.app/api/v1/custom-statuses?pod_type=customer" \
  -H "Authorization: Bearer trpt_a1b2c3_your_key_here"
```
</CodeBlockTab>

<CodeBlockTab value="javascript">
```javascript
const response = await fetch(
  "https://trumpet.app/api/v1/custom-statuses?pod_type=customer",
  {
    headers: {
      Authorization: `Bearer ${process.env.TRUMPET_API_KEY}`,
    },
  },
);

const { success, data } = await response.json();
```
</CodeBlockTab>

<CodeBlockTab value="python">
```python
import os
import requests

response = requests.get(
    "https://trumpet.app/api/v1/custom-statuses",
    params={"pod_type": "customer"},
    headers={"Authorization": f"Bearer {os.environ['TRUMPET_API_KEY']}"},
)

data = response.json()
```
</CodeBlockTab>
</CodeBlockTabs>

## Success response [#success-response]

Returns `200 OK` with an array of the brand's custom statuses, ordered by pipeline position:

```json
{
  "success": true,
  "data": [
    {
      "id": "69f0bafc4cc54b506b0355e2",
      "name": "Discovery",
      "color": "#12B76A",
      "internal_status": "active",
      "pod_types": ["content"],
      "order": 0,
      "is_default": true
    }
  ]
}
```

### Response fields [#response-fields]

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | The custom status ID. Pass this as the `status` field when updating a Pod (see Update Pod). |
| `name` | string | The brand-defined display name, e.g. "Discovery", "Renewal", "Won". |
| `color` | string | Hex colour used for the status chip, e.g. `#12B76A`. |
| `internal_status` | string | The internal status this maps to — one of `draft`, `active`, `completed`, `lost`. |
| `pod_types` | string[] | The Pod types this status can be assigned to, e.g. `["content"]` or `["customer"]`. |
| `order` | number | Position of the status within your brand's pipeline (ascending). |
| `is_default` | boolean | Whether this is the default status for its internal status within its Pod-type group. |

## Error responses [#error-responses]

| Status | Error | Cause |
|--------|-------|-------|
| `401` | Invalid or revoked API key | The API key is missing, malformed, revoked, or deleted. |
| `403` | Insufficient permissions | The API key lacks the ReadCustomStatuses scope. |
| `404` | Brand not found | The brand associated with the API key has been deleted. |
| `429` | Rate limit exceeded | More than 60 requests per minute for this key. Retry after a short delay. |

<Callout type="idea" title="Next: update a Pod's status">
Use an `id` from this response as the `status` value when calling the [Update Pod](/api/update-pod) endpoint.
</Callout>

## Related [#related]

<Cards>
<Card title="Update Pod" href="/api/update-pod">
Move a Pod to a custom status or link a CRM record.
</Card>

<Card title="Authentication" href="/api/authentication">
Bearer tokens, scopes, and key management.
</Card>

<Card title="Create Pod" href="/api/create-pod">
Create Pods from a template with an optional CRM link.
</Card>
</Cards>