---
title: "Refresh a connection"
method: POST
path: "/connections/{id}/refresh"
tags: ["Connections"]
---

# Refresh a connection

`POST /connections/{id}/refresh`

## Request

- Base URL: `https://workflow.loopfour.ai/api/v1`
- URL: `https://workflow.loopfour.ai/api/v1/connections/{id}/refresh`
- Auth: API key in header `x-api-key`

Manually refreshes connection credentials.

## Path parameters

- `id` string, required

## Response `200`

Refreshed

- object
  - `success` unknown
  - `data` object
    - `id` string
    - `lastSyncedAt` string, date-time
    - `message` string

## Other responses

- `401`: Missing or invalid API key.
- `403`: Forbidden — insufficient permissions for this resource.
- `404`: Resource not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/loopfour/apis/loopfour-workflows-api.md) - [All operations](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopfour/apis/loopfour-workflows-api/revisions/872822a3af00?raw)
