---
title: "Test Platform Connection"
method: POST
path: "/api/v1/social/websites/{website_id}/test-connection/{platform}"
tags: ["platform_integrations"]
---

# Test Platform Connection

`POST /api/v1/social/websites/{website_id}/test-connection/{platform}`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/social/websites/{website_id}/test-connection/{platform}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize`, token URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token`)

Make a lightweight API call to verify connection health.

On success, resolves any open integration_incidents for the platform.
On failure, returns the error reason without modifying any state.

## Path parameters

- `website_id` integer, required
- `platform` string, required

## Headers

- `x-user-id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/seoproai/apis/seopro-ai.md) · [All operations](https://skmtc.dev/seoproai/apis/seopro-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/seoproai/apis/seopro-ai/revisions/5b4b6391ddc9?raw)
