---
title: "Trigger a refresh of the custom fields cache for the account"
method: POST
path: "/v2/journeys/refresh-custom-fields"
tags: ["journeys-v2"]
---

# Trigger a refresh of the custom fields cache for the account

`POST /v2/journeys/refresh-custom-fields`

## Request

- Base URL: `https://api.tracklysms.com/api`
- URL: `https://api.tracklysms.com/api/v2/journeys/refresh-custom-fields`
- Auth: API key in header `X-Api-Key`

## Response `200`

Custom field refresh result

- JourneyRefreshResponse
  - `fields` string[]: Present when the scan completes
  - `message` string
  - `status` 'idle' | 'running'
  - `success` boolean: False when a refresh is already running, with HTTP 200

## Other responses

- `400`: Invalid request
- `401`: Authentication error
- `403`: Insufficient authority
- `429`: Rate limit exceeded
- `500`: Refresh failed

---

[API](https://skmtc.dev/tracklysms/apis/trackly-sms-api.md) · [All operations](https://skmtc.dev/tracklysms/apis/trackly-sms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tracklysms/apis/trackly-sms-api/revisions/ac1ad22cb2a9?raw)
