Skip to main content

Resolve a thread

This endpoint enables you to toggle the resolution status of a thread within a specific room. Resolving a thread indicates that the discussion or issue associated with it has been addressed.

How to use

You can use the following cURL to obtain a response on the endpoint:

curl --location --request POST https://api.superviz.com/threads/{id}/resolve \
--header "client_id: ${YOUR CLIENT_ID}" \
--header "secret: ${YOUR SECRET}"

In the request, you will need to send in the path following field:

NameDescription
idRequired. The ID of the thread.

Headers

When using this endpoint, you need to provide the Client ID and Secret Key. The following headers are required:

NameDescription
client_idRequired. You need to use the Client ID to authenticate in this repository. You can retrieve your Client ID under the Dashboard > Developer > Keys.
secretRequired. You need to use the Secret Key to authenticate in this repository. You can create a new API Secret under our Dashboard > Developer > Keys.

Response

Status code 200 will indicate that the thread's resolution status was successfully toggled.