---
title: "Verify ms-chat deep-link state"
method: POST
path: "/v1/ms-chat/verify-state"
tags: ["msChat"]
---

# Verify ms-chat deep-link state

`POST /v1/ms-chat/verify-state`

## Request

- Base URL: `https://api.morningscore.io`
- URL: `https://api.morningscore.io/v1/ms-chat/verify-state`
- Auth: none required

## Request body

- object
  - `state` string, required

## Response `200`

200

- object
  - `valid` true, required
  - `state` object, required
    - `resourceId` string, required
    - `returnUrl` string, required
    - `exp` number, required
    - `nonce` string, required
    - `siteUrl` string
    - `shopDomain` string

## Other responses

- `400`: 400
- `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)
