---
title: "Confirm ms-chat WordPress agent link"
method: POST
path: "/v1/ms-chat/confirm"
tags: ["msChat"]
---

# Confirm ms-chat WordPress agent link

`POST /v1/ms-chat/confirm`

## Request

- Base URL: `https://api.morningscore.io`
- URL: `https://api.morningscore.io/v1/ms-chat/confirm`
- Auth: HTTP bearer

## Request body

- object
  - `resource_id` string, required
  - `site_url` string, required
  - `agent_token` string, required
  - `agent_token_hash` string
  - `ms_chat_state` string, required

## Response `200`

200

- object
  - `success` true, required
  - `return_url` string
  - `site_url` string, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500

---

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