Skip to main content
POST
Block visitor

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

conversations:write

Path Parameters

chatbotId
string
required

Chatbot ID.

threadId
string
required

Conversation thread ID.

Body

application/json
kinds
enum<string>[]
required

What to block: the conversation's visitor, their email, or the IP address of a website chat (an API or chat-app conversation has no visitor IP).

Required array length: 1 - 3 elements
Available options:
chatUser,
email,
ip

Response

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required