---
title: "Read the refresh state of an ad account"
method: GET
path: "/v1/workspaces/{workspaceId}/ads/accounts/{accountId}/refresh"
tags: ["Ads"]
---

# Read the refresh state of an ad account

`GET /v1/workspaces/{workspaceId}/ads/accounts/{accountId}/refresh`

## Request

- Base URL: `https://api.maevesocial.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maevesocial.com/v1/workspaces/{workspaceId}/ads/accounts/{accountId}/refresh`
- Auth: HTTP bearer

Read the refresh state of one Meta, TikTok or LinkedIn ad account: whether an import is running, when the saved data last refreshed, and when the next manual refresh is allowed. The dashboard's Refresh button shows the same.

## Path parameters

- `accountId` string, required
- `workspaceId` string, uuid, required

## Response `200`

Read the refresh state of an ad account

- object
  - `data` object, required
    - `account` object, required
      - `id` string, required
      - `platform` 'meta' | 'tiktok' | 'linkedin' | 'google' | 'pinterest', required
      - `providerAccountId` string, required: The account ID the platform uses.
      - `name` string, nullable, required
      - `currency` string, nullable, required
      - `timezone` string, nullable, required: IANA timezone the platform reports this account in.
      - `isEnabled` boolean, required
      - `credentialStatus` 'active' | 'revoked', required
    - `money` object, required
      - `unit` 'micros', required
      - `microsPerCurrencyUnit` 1000000, required
      - `currency` string, nullable, required: ISO currency of the ad account.
    - `refresh` object, required: state (idle, queued, running, unavailable or reconnect), lastCompletedAt, lastAttemptAt, nextAllowedRefreshAt and any error, with provider-specific fields.
  - `meta` unknown, required

---

[API](https://skmtc.dev/maevesocial/apis/maeve-social-api.md) · [All operations](https://skmtc.dev/maevesocial/apis/maeve-social-api/llms.txt) · [OpenAPI document](https://skmtc.dev/maevesocial/apis/maeve-social-api/revisions/1b00fd7e4b15?raw)
