REST API Reference (Internal)

Updated on August 26, 2024

This reference documents internal Crisp API routes.

☢️ Those routes are solely used by Crisp apps to perform eg. account management and other tasks. This may not be shared to public users, although routes are still available for them to access through the same API endpoint than the public one.

Subscriptionin Email

Get Subscription Status

GET
/v1/email/{email_hash}/subscription/{key}{?website_id}

Resolves current subscription status (subscribed or unsubscribed).

URI Parameters
email_hash
stringRequired

Email secure hash

key
stringRequired

Private security for given email

website_id
stringOptional

Website identifier for email

Response Data
error
boolean
reason
string
data
object
subscribed
boolean

Whether email is subscribed or not

  • GEThttps://api.crisp.chat/v1/email/email_hash/subscription/key
HTTP
Request
(loading)
Response
(loading)

Update Subscription Status

PATCH
/v1/email/{email_hash}/subscription/{key}{?website_id}{&campaign_id}

Updates current subscription status (subscribe or unsubscribe).

URI Parameters
email_hash
stringRequired

Email secure hash

key
stringRequired

Private security for given email

website_id
stringOptional

Website identifier for email

campaign_id
stringOptional

Campaign identifier to use to track the unsubscription origin (unsubscribe only)

Request Body
subscribed
booleanRequired

Whether to subscribe email or not

  • PATCHhttps://api.crisp.chat/v1/email/email_hash/subscription/key
HTTP
Request
(loading)
Response
(loading)

Availabilityin User

Get User Availability

GET
/v1/user/availability

Resolves the current user availability. Useful to check if a Crisp app is currently connected to the account.

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

type
enum[string]

Availability type

Values

  • online
  • away
  • offline
time
object
for
number

Seconds for which the availability is valid

since
number

Timestamp since when the availability has been updated

  • GEThttps://api.crisp.chat/v1/user/availability
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update User Availability

PATCH
/v1/user/availability

Updates the advertised user availability, for a defined period of time after which to automatically expire.

Request Body
type
enum[string]Required

Availability type

Values

  • online
  • away
  • offline
time
objectRequired
for
numberRequired

Seconds for which the availability is valid

  • PATCHhttps://api.crisp.chat/v1/user/availability
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get User Availability Status

GET
/v1/user/availability/status

Resolves the current user availability status. It differs from the raw user availability (the raw availability only tells if the user is connected on a Crisp app).

The availability status, however, tells whether the user is seen as online or offline by visitors (given his schedule and presence options).

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

status
enum[string]

Availability status

Values

  • online
  • away
  • offline
  • GEThttps://api.crisp.chat/v1/user/availability/status
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Account Basein User

Get User Account

GET
/v1/user/account

Resolves the current user account information.

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

  • GEThttps://api.crisp.chat/v1/user/account
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Create User Account

POST
/v1/user/account

Creates a new Crisp user account (operator account).

Request Body
email
stringRequired

User email

password
stringRequired

User password (at least 4 characters)

first_name
stringRequired

User first name

last_name
stringRequired

User last name

signature
stringRequired

Registration unique signature

affiliates_id
stringOptional

Affiliates tracking identifier (if any)

locale
stringOptional

User locale (if any)

  • POSThttps://api.crisp.chat/v1/user/account
HTTP
Request
(loading)
Response
(loading)

Delete User Account

DELETE
/v1/user/account

Deletes user account.

Request Body
verify
stringRequired

User password (used to double-authenticate deletion)

  • DELETEhttps://api.crisp.chat/v1/user/account
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Account Billingin User

List All Billing Methods

GET
/v1/user/account/billing

Resolves the saved billing details (payment methods).

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

cards
array[object]

Active payment methods

card_id
string

Card identifier

name_on_card
string

Name on card

address
string

Address for cardholder

country
string

Country code for cardholder

information
string

Information on cardholder

tax_identifier
string

Tax identification number for cardholder (eg. European VAT number)

invoice_email
string

Email to send invoices to (eg. accountant email address, if any)

currency
string

Currency in use for billing for cardholder

card_number_preview
string

Secure preview of card number (the Crisp Platform only retains this mangled number)

card_country
string

Country code for card

card_provider
enum[string]

Provider for card

Values

  • default
  • mastercard
  • visa
  • amex
  • dinersclub
  • discover
  • unionpay
  • jcb
  • visaelectron
  • maestro
  • forbrugsforeningen
  • dankort
  • paypal
  • wire
expiration_date
string

Date when the card expires

added_date
string

Date when the card was added

is_valid
boolean

Whether card is valid or not

is_expired
boolean

Whether card is expired or not

linked_websites
array[object]

Websites using this card as payment method

website_id
string

Website identifier

name
string

Name of website

domain
string

Domain of website

  • GEThttps://api.crisp.chat/v1/user/account/billing
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add New Billing Method

POST
/v1/user/account/billing

Adds a payment method (credit card) to the user account.

The card added acknowledgement is sent back asynchronously on the RTM Events channel, using event namespace billing:card:added. In case an error occurs when adding the card, event namespace billing:card:error will be fired. As the systems may need to submit the card to an external service for safe storage, the card may not be fully added and active when the API response is sent back; hence that asynchronous event.

Request Body
name_on_card
stringRequired

Name on card

address
stringRequired

Address for cardholder

country
stringRequired

Country code for cardholder

information
stringOptional

Information on cardholder

tax_identifier
stringOptional

Tax identification number for cardholder (eg. European VAT number)

invoice_email
stringOptional

Email to send invoices to (eg. accountant email address, if any)

card_number
stringRequired

Card number

security_code
stringRequired

Card CVC

expiration_date
objectRequired

Date when the card expires

month
stringRequired

Month of expiration (if 1 digit, prepend it with a zero)

year
stringRequired

Year of expiration

  • POSThttps://api.crisp.chat/v1/user/account/billing
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get A Billing Method

GET
/v1/user/account/billing/{card_id}

Acquires information about a saved billing method (eg: credit card).

URI Parameters
card_id
stringRequired

The card identifier

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

card_id
string

Card identifier

name_on_card
string

Name on card

address
string

Address for cardholder

country
string

Country code for cardholder

information
string

Information on cardholder

tax_identifier
string

Tax identification number for cardholder (eg. European VAT number)

invoice_email
string

Email to send invoices to (eg. accountant email address, if any)

currency
string

Currency in use for billing for cardholder

card_number_preview
string

Secure preview of card number (the Crisp Platform only retains this mangled number)

card_country
string

Country code for card

card_provider
enum[string]

Provider for card

Values

  • default
  • mastercard
  • visa
  • amex
  • dinersclub
  • discover
  • unionpay
  • jcb
  • visaelectron
  • maestro
  • forbrugsforeningen
  • dankort
  • paypal
  • wire
expiration_date
string

Date when the card expires

added_date
string

Date when the card was added

is_valid
boolean

Whether card is valid or not

is_expired
boolean

Whether card is expired or not

linked_websites
array[object]

Websites using this card as payment method

website_id
string

Website identifier

name
string

Name of website

domain
string

Domain of website

  • GEThttps://api.crisp.chat/v1/user/account/billing/card_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update A Billing Method

PATCH
/v1/user/account/billing/{card_id}

Updates billing method information (eg: credit card).

URI Parameters
card_id
stringRequired

The card identifier

Request Body
name_on_card
stringOptional

Name on card

address
stringOptional

Address for cardholder

country
stringOptional

Country code for cardholder

information
stringOptional

Information on cardholder

tax_identifier
stringOptional

Tax identification number for cardholder (eg. European VAT number)

invoice_email
stringOptional

Email to send invoices to (eg. accountant email address, if any)

  • PATCHhttps://api.crisp.chat/v1/user/account/billing/card_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Remove A Billing Method

DELETE
/v1/user/account/billing/{card_id}

Deletes a saved billing method.

URI Parameters
card_id
stringRequired

The card identifier

  • DELETEhttps://api.crisp.chat/v1/user/account/billing/card_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Invoices For Billing Method

GET
/v1/user/account/billing/{card_id}/invoices/{page_number}

Lists saved invoices for billing method.

URI Parameters
card_id
stringRequired

The card identifier (set value to all to get all invoices)

page_number
stringOptional

The page number (paging if many invoices)

Response Data
error
boolean
reason
string
data
object
results
array[object]

List of invoices

invoice_id
string

Invoice identifier (reference invoice number)

bill_id
string

Bill identifier (lawful invoice number)

date
string

Date at which invoice was emitted

payment
object
is_paid
boolean

Whether invoice is paid or not

number_retries
number

Number of times payment was retried (if failed)

invoice
object
id
string

Invoice identifier

currency
string

Invoice currency

due
object

Due amount details

total
number

Total due as part of this invoice (in specified currency)

parts
array[object]

Contents of the invoice (per-website)

id
string

Website identifier

name
string

Name of the website

domain
string

Domain of the website

plugins
array[object]

Plugins paid for the website

id
string

Plugin identifier

name
string

Plugin name

price
number

Plugin individual price

months
number

Number of months paid for

limits
array[object]

Limits paid for the website

id
string

Limit identifier

name
string

Limit name

price
number

Limit individual price

months
number

Number of months paid for

receipt
string

Invoice payment receipt document URL (can be blank)

paging
object

Paging details

range
array[number]

Range of items returned

per_page
number

Number of items per page

total
number

Total number of items

  • GEThttps://api.crisp.chat/v1/user/account/billing/card_id/invoices/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get An Invoice For Billing Method

GET
/v1/user/account/billing/{card_id}/invoice/{invoice_id}

Gets given saved invoice for billing method.

URI Parameters
card_id
stringRequired

The card identifier (set value to all to get on all cards)

invoice_id
stringRequired

The invoice identifier

Response Data
error
boolean
reason
string
data
object
invoice_id
string

Invoice identifier (reference invoice number)

bill_id
string

Bill identifier (lawful invoice number)

date
string

Date at which invoice was emitted

payment
object
is_paid
boolean

Whether invoice is paid or not

number_retries
number

Number of times payment was retried (if failed)

invoice
object
id
string

Invoice identifier

currency
string

Invoice currency

due
object

Due amount details

total
number

Total due as part of this invoice (in specified currency)

parts
array[object]

Contents of the invoice (per-website)

id
string

Website identifier

name
string

Name of the website

domain
string

Domain of the website

plugins
array[object]

Plugins paid for the website

id
string

Plugin identifier

name
string

Plugin name

price
number

Plugin individual price

months
number

Number of months paid for

limits
array[object]

Limits paid for the website

id
string

Limit identifier

name
string

Limit name

price
number

Limit individual price

months
number

Number of months paid for

receipt
string

Invoice payment receipt document URL (can be blank)

  • GEThttps://api.crisp.chat/v1/user/account/billing/card_id/invoice/invoice_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)
POST
/v1/user/account/billing/link

Links to an authorized billing method. Used to for services which need an external approval (eg: PayPal), and that cannot be added directly via a simple form submit. This is also used to finalize payment card setup after it gets created (and thus mark the card as valid), as the user may need to authorize the card via eg. 3D Secure.

A link to open to continue linking to the service will be dispatched to the user via the realtime socket interface (the response is asynchronous, as Crisp needs to request data to external APIs, eg: PayPal API). The response uses the event namespace billing:link:redirect

Request Body
service
enum[string]Required

Service to be linked

Values

  • stripe
  • paypal
  • POSThttps://api.crisp.chat/v1/user/account/billing/link
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Finish Linking Authorized Billing Method

POST
/v1/user/account/billing/link/{card_id}

Finishes the link process to an authorized billing method. Used to mark the card link as valid.

This is used after the card link redirect, to validate card authorization, eg: with PayPal pre-approved payments.

URI Parameters
card_id
stringRequired

The card identifier

  • POSThttps://api.crisp.chat/v1/user/account/billing/link/card_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Finish Unlinking Authorized Billing Method

DELETE
/v1/user/account/billing/link/{card_id}

Finishes the unlink process to an authorized billing method. Used to cancel the link process and remove the card.

This is used after the card link redirect, to mark card authorization as rejected, eg: with PayPal pre-approved payments.

URI Parameters
card_id
stringRequired

The card identifier

  • DELETEhttps://api.crisp.chat/v1/user/account/billing/link/card_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Account Notificationin User

Get Notification Settings

GET
/v1/user/account/notification

Resolves the user notification settings.

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

disabled
boolean

Whether notifications are disabled or not

messages_online
boolean

Whether to notify of incoming messages when user is online (in-app notifications)

messages_offline
boolean

Whether to notify of incoming messages when user is offline (push notifications)

messages_unread
boolean

Whether to notify of unread messages for conversations (email notifications)

messages_transcript
boolean

Whether to notify of transcript records for conversations (email notifications)

messages_rating
boolean

Whether to notify of user ratings for conversations (email notifications)

billing_invoice
boolean

Whether to notify of invoice payments (email notifications)

visitor_browsing
boolean

Whether to notify of new visitors on website (push notifications)

sounds
boolean

Whether to play sounds for incoming events (in-app)

  • GEThttps://api.crisp.chat/v1/user/account/notification
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Notification Settings

PATCH
/v1/user/account/notification

Updates the user notification settings.

Request Body
disabled
booleanOptional

Whether notifications are disabled or not

messages_online
booleanOptional

Whether to notify of incoming messages when user is online (in-app notifications)

messages_offline
booleanOptional

Whether to notify of incoming messages when user is offline (push notifications)

messages_unread
booleanOptional

Whether to notify of unread messages for conversations (email notifications)

messages_transcript
booleanOptional

Whether to notify of transcript records for conversations (email notifications)

messages_rating
booleanOptional

Whether to notify of user ratings for conversations (email notifications)

billing_invoice
booleanOptional

Whether to notify of invoice payments (email notifications)

visitor_browsing
booleanOptional

Whether to notify of new visitors on website (push notifications)

sounds
booleanOptional

Whether to play sounds for incoming events (in-app)

  • PATCHhttps://api.crisp.chat/v1/user/account/notification
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add A Notification Provider

POST
/v1/user/account/notification/provider

Adds a notification provider. Used to subscribe to push notifications from Crisp for authenticated account (eg: Google Cloud Messaging, Apple Push Notification and more).

Request Body
notification_id
stringRequired

Notification identifier (key from GCM, APN or other service)

  • POSThttps://api.crisp.chat/v1/user/account/notification/provider
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete A Notification Provider

DELETE
/v1/user/account/notification/provider/{notification_id}

Deletes a notification provider. Used to invalidate an existing notification provider (eg. a Crisp mobile app unsubscribes from notifications).

URI Parameters
notification_id
stringRequired

The notification provider identifier

  • DELETEhttps://api.crisp.chat/v1/user/account/notification/provider/notification_id
HTTP
Request
(loading)
Response
(loading)

Account Websitesin User

List Websites

GET
/v1/user/account/websites

Lists the websites linked to user.

Response Data
error
boolean
reason
string
data
array[object]
id
string

Website identifier

name
string

Website name

domain
string

Website domain

logo
string

Website custom logo image URL (can be blank)

members
array[string]

Website operators (user identifiers)

count
number

Number of unread messages for website

assigned
number

Number of pending assigned messages for website

inboxes
object

Number of unread messages for inboxes

count
number

Number of unread messages for website (on inbox)

assigned
number

Number of pending assigned messages for website (on inbox)

expunge
object

Scheduled website deletion request (if any)

timestamp
number

When scheduled website deletion will be executed

  • GEThttps://api.crisp.chat/v1/user/account/websites
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Account Profilein User

Get Profile

GET
/v1/user/account/profile

Resolves user profile data.

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

avatar
string

Custom avatar image URL (can be blank)

email
string

User email

phone
string

User phone number (if any)

first_name
string

User first name

last_name
string

User last name

locale
string

User locale (ISO 639-1)

verification
string

Email verification HMAC (signed with server private key, if any)

  • GEThttps://api.crisp.chat/v1/user/account/profile
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Profile

PATCH
/v1/user/account/profile

Updates user profile data.

Request Body
first_name
stringOptional

User first name

last_name
stringOptional

User last name

email
stringOptional

User email

phone
stringOptional

User phone number

password
stringOptional

User password (do not set it if you don't need to update password)

avatar
stringOptional

Custom avatar image URL

locale
stringOptional

User locale (ISO 639-1)

verify
stringRequired

User password (used to double-authenticate email or password change)

  • PATCHhttps://api.crisp.chat/v1/user/account/profile
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Account Tokenin User

Check If Account Token Is Configured

HEAD
/v1/user/account/token

Checks if account token is configured.

  • HEADhttps://api.crisp.chat/v1/user/account/token
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Configure Account Token

PUT
/v1/user/account/token

Configures account token, with the provided token secret key.

Request Body
secret
stringRequired

Secret key for token (Base32-encoded)

  • PUThttps://api.crisp.chat/v1/user/account/token
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Unconfigure Account Token

DELETE
/v1/user/account/token

Unconfigures account token.

Request Body
verify
stringRequired

User password (used to double-authenticate unconfiguration)

  • DELETEhttps://api.crisp.chat/v1/user/account/token
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Generate Account Token

POST
/v1/user/account/token/generate

Generates a new account token secret key, to be sent upon configuration.

  • POSThttps://api.crisp.chat/v1/user/account/token/generate
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Verify Account Token

HEAD
/v1/user/account/token/verify{?token}{&secret}

Verifies provided token against provided secret key. This can be used in TOTP configuration flows to validate the secret key before configuring it.

URI Parameters
token
stringRequired

The token to be verified

secret
stringRequired

The secret key to verify against

  • HEADhttps://api.crisp.chat/v1/user/account/token/verify
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Account Recoverin User

Get Recovery Details

GET
/v1/user/{user_id}/account/recover/{recover_identifier}/{recover_key}

Gets details on a recovery keypair. Useful to check validity of recovery keypair.

URI Parameters
user_id
stringRequired

The user identifier

recover_identifier
stringRequired

The recovery identifier

recover_key
stringRequired

The recovery key

Response Data
error
boolean
reason
string
data
object
  • GEThttps://api.crisp.chat/v1/user/user_id/account/recover/recover_identifier/recover_key
HTTP
Request
(loading)
Response
(loading)

Send Recovery Password

PUT
/v1/user/{user_id}/account/recover/{recover_identifier}/{recover_key}

Submits new password and recover account.

URI Parameters
user_id
stringRequired

The user identifier

recover_identifier
stringRequired

The recovery identifier

recover_key
stringRequired

The recovery key

Request Body
password
stringRequired

User password (at least 4 characters)

  • PUThttps://api.crisp.chat/v1/user/user_id/account/recover/recover_identifier/recover_key
HTTP
Request
(loading)
Response
(loading)

Delete Recovery Keypair

DELETE
/v1/user/{user_id}/account/recover/{recover_identifier}/{recover_key}

Deletes a recovery keypair. Useful to invalidate keys if you ignore recovery and never use the keys to recover password.

URI Parameters
user_id
stringRequired

The user identifier

recover_identifier
stringRequired

The recovery identifier

recover_key
stringRequired

The recovery key

  • DELETEhttps://api.crisp.chat/v1/user/user_id/account/recover/recover_identifier/recover_key
HTTP
Request
(loading)
Response
(loading)

Account Schedulein User

Get Schedule Settings

GET
/v1/user/account/schedule

Gets user schedule settings. Those settings are used by Crisp to automatically schedule when user will be seen online or offline by website visitors.

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

enabled
boolean

Whether schedule is enabled or not

presence
boolean

Whether to consider user online if using an app

stealth
boolean

Whether stealth mode is enabled or not (offline mode forced)

offset
number

User timezone offset in seconds (UTC+2 is -120)

days
object

Schedule days

monday
boolean

Consider Monday on schedule

tuesday
boolean

Consider Tuesday on schedule

wednesday
boolean

Consider Wednesday on schedule

thursday
boolean

Consider Thursday on schedule

friday
boolean

Consider Friday on schedule

saturday
boolean

Consider Saturday on schedule

sunday
boolean

Consider Sunday on schedule

hours
array[object]

Schedule hours

from
string

Hour from which to consider on schedule (24:00 format)

to
string

Hour up to which to consider on schedule (24:00 format)

  • GEThttps://api.crisp.chat/v1/user/account/schedule
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Schedule Settings

PATCH
/v1/user/account/schedule

Updates user schedule settings.

Request Body
enabled
booleanOptional

Whether schedule is enabled or not

presence
booleanOptional

Whether to consider user online if using an app

stealth
booleanOptional

Whether stealth mode is enabled or not (offline mode forced)

offset
numberOptional

User timezone offset in seconds (UTC+2 is -120)

days
objectOptional

Schedule days

monday
booleanOptional

Consider Monday on schedule

tuesday
booleanOptional

Consider Tuesday on schedule

wednesday
booleanOptional

Consider Wednesday on schedule

thursday
booleanOptional

Consider Thursday on schedule

friday
booleanOptional

Consider Friday on schedule

saturday
booleanOptional

Consider Saturday on schedule

sunday
booleanOptional

Consider Sunday on schedule

hours
array[object]Optional

Schedule hours

from
stringOptional

Hour from which to consider on schedule (24:00 format)

to
stringOptional

Hour up to which to consider on schedule (24:00 format)

  • PATCHhttps://api.crisp.chat/v1/user/account/schedule
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Sessionin User

Check Session Validity

HEAD
/v1/user/session

Checks whether the user is logged in or not, and whether his session is valid or not.

  • HEADhttps://api.crisp.chat/v1/user/session
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Create A New Session

POST
/v1/user/session/login

Logins to user account and create a new session.

Request Body
email
stringRequired

User email

password
stringRequired

User password

extend
enum[string]Optional

Where to extend login to (eg. send TOTP code as SMS by extending on phone)

Values

  • phone
token
stringOptional

User token (6 digits TOTP, if any required)

ephemeral
booleanOptional

Whether to open an ephemeral session or not (expires after a few hours)

  • POSThttps://api.crisp.chat/v1/user/session/login
HTTP
Request
(loading)
Response
(loading)

Destroy A Session

POST
/v1/user/session/logout

Logouts from user account and destroys current session.

  • POSThttps://api.crisp.chat/v1/user/session/logout
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Recover A Session

POST
/v1/user/session/recover

Recovers a user account from which we are locked out. A password recovery email is sent.

Request Body
email
stringRequired

User email

  • POSThttps://api.crisp.chat/v1/user/session/recover
HTTP
Request
(loading)
Response
(loading)

List Authorized Sessions

GET
/v1/user/session/authorized

Lists all authorized sessions. Those sessions currently exist, and can be used by an app to access the connected Crisp account.

Response Data
error
boolean
reason
string
data
array[object]
identifier
string

Session identifier

device
object

Session device details (the device that was used to login)

useragent
string

User agent from which login occured (if any detected)

ip
string

IP address from which login occured (if any detected)

country
string

Country from which login occured (if any resolved from IP address)

created_at
number

Session creation timestamp

  • GEThttps://api.crisp.chat/v1/user/session/authorized
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Authorized Session Exists

HEAD
/v1/user/session/authorized/{identifier}

Checks if authorized session exists.

URI Parameters
identifier
stringRequired

The session identifier

  • HEADhttps://api.crisp.chat/v1/user/session/authorized/identifier
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Authorized Session

GET
/v1/user/session/authorized/{identifier}

Resolves authorized session details.

URI Parameters
identifier
stringRequired

The session identifier

Response Data
error
boolean
reason
string
data
object
identifier
string

Session identifier

device
object

Session device details (the device that was used to login)

useragent
string

User agent from which login occured (if any detected)

ip
string

IP address from which login occured (if any detected)

country
string

Country from which login occured (if any resolved from IP address)

created_at
number

Session creation timestamp

  • GEThttps://api.crisp.chat/v1/user/session/authorized/identifier
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Close An Authorized Session

DELETE
/v1/user/session/authorized/{identifier}

Closes an authorized session. This will prevent the connected app to access the underlying Crisp account.

URI Parameters
identifier
stringRequired

The session identifier

  • DELETEhttps://api.crisp.chat/v1/user/session/authorized/identifier
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Session History

GET
/v1/user/session/history

Lists session history. This shows login history (ie. new sessions created); those sessions may still be authorized, or may be closed (ie. logged out).

Response Data
error
boolean
reason
string
data
array[object]
state
enum[string]

Current session state

Values

  • authorized
  • closed
device
object

Session device details (the device that was used to login)

useragent
string

User agent from which login occured (if any detected)

ip
string

IP address from which login occured (if any detected)

country
string

Country from which login occured (if any resolved from IP address)

created_at
number

Session creation timestamp

  • GEThttps://api.crisp.chat/v1/user/session/history
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Session Confirm Details

GET
/v1/user/{user_id}/session/confirm/{confirm_identifier}/{confirm_key}

Gets details on a session confirm keypair. Useful to check validity of session confirm keypair.

URI Parameters
user_id
stringRequired

The user identifier

confirm_identifier
stringRequired

The session confirm identifier

confirm_key
stringRequired

The session confirm key

Response Data
error
boolean
reason
string
data
object
  • GEThttps://api.crisp.chat/v1/user/user_id/session/confirm/confirm_identifier/confirm_key
HTTP
Request
(loading)
Response
(loading)

Accept Session Confirm

PUT
/v1/user/{user_id}/session/confirm/{confirm_identifier}/{confirm_key}

Accept session login confirm request. The request origin country will be accepted.

URI Parameters
user_id
stringRequired

The user identifier

confirm_identifier
stringRequired

The session confirm identifier

confirm_key
stringRequired

The session confirm key

Request Body
ip
stringRequired

IP address to be confirmed

country
stringOptional

Country code to be confirmed (if any)

  • PUThttps://api.crisp.chat/v1/user/user_id/session/confirm/confirm_identifier/confirm_key
HTTP
Request
(loading)
Response
(loading)

Delete Session Confirm Keypair

DELETE
/v1/user/{user_id}/session/confirm/{confirm_identifier}/{confirm_key}

Deletes a session confirm keypair. Useful to invalidate keys if you ignore session confirm.

URI Parameters
user_id
stringRequired

The user identifier

confirm_identifier
stringRequired

The session confirm identifier

confirm_key
stringRequired

The session confirm key

  • DELETEhttps://api.crisp.chat/v1/user/user_id/session/confirm/confirm_identifier/confirm_key
HTTP
Request
(loading)
Response
(loading)

Alertsin User

Count Unread Alerts

GET
/v1/user/alerts/count

Counts the unread alerts, whether they are coming from feed or updates.

Response Data
error
boolean
reason
string
data
object
feed
number

Number of unread feed alerts

updates
number

Number of unread update alerts

  • GEThttps://api.crisp.chat/v1/user/alerts/count
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Clear All Feed Alerts

DELETE
/v1/user/alerts/feed

Clears off all pending alerts in the feed.

  • DELETEhttps://api.crisp.chat/v1/user/alerts/feed
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Feed Alerts

GET
/v1/user/alerts/feed/list/{page_number}

Lists all pending alerts in the feed.

URI Parameters
page_number
stringOptional

Page number for alerts paging

Response Data
error
boolean
reason
string
data
array[object]
id
string

Unique identifier of the feed alert

level
enum[string]

Importance level of the feed alert

Values

  • notice
  • important
  • critical
namespace
enum[string]

Namespace of the feed alert

Values

  • website:agent_limit_reached
  • billing:payment_method_expire
  • billing:payment_action
  • billing:payment_error
  • message:reminder
  • website:export_complete
  • helpdesk:import_complete
  • website:subscriptions_deactivated
  • website:plan_trial_ended
  • website:agent_purged
data
object

Dynamic data associated to the feed alert (if any)

action_url
string

Action URL for the feed alert (if any)

pushed_at
number

Timestamp at which the feed alert was pushed

  • GEThttps://api.crisp.chat/v1/user/alerts/feed/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Feed Alert Exists

HEAD
/v1/user/alerts/feed/entry/{feed_entry_id}

Checks if a pending alert exists in the feed.

URI Parameters
feed_entry_id
stringRequired

The feed entry identifier

  • HEADhttps://api.crisp.chat/v1/user/alerts/feed/entry/feed_entry_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get A Feed Alert

GET
/v1/user/alerts/feed/entry/{feed_entry_id}

Gets a pending alert in the feed.

URI Parameters
feed_entry_id
stringRequired

The feed entry identifier

Response Data
error
boolean
reason
string
data
object
id
string

Unique identifier of the feed alert

level
enum[string]

Importance level of the feed alert

Values

  • notice
  • important
  • critical
namespace
enum[string]

Namespace of the feed alert

Values

  • website:agent_limit_reached
  • billing:payment_method_expire
  • billing:payment_action
  • billing:payment_error
  • message:reminder
  • website:export_complete
  • helpdesk:import_complete
  • website:subscriptions_deactivated
  • website:plan_trial_ended
  • website:agent_purged
data
object

Dynamic data associated to the feed alert (if any)

action_url
string

Action URL for the feed alert (if any)

pushed_at
number

Timestamp at which the feed alert was pushed

  • GEThttps://api.crisp.chat/v1/user/alerts/feed/entry/feed_entry_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Clear A Feed Alert

DELETE
/v1/user/alerts/feed/entry/{feed_entry_id}

Clears off a pending alert from the feed.

URI Parameters
feed_entry_id
stringRequired

The feed entry identifier

  • DELETEhttps://api.crisp.chat/v1/user/alerts/feed/entry/feed_entry_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Update Alerts

GET
/v1/user/alerts/updates/list/{page_number}

Lists all updates in the feed (unread and read).

URI Parameters
page_number
stringOptional

Page number for alerts paging

Response Data
error
boolean
reason
string
data
array[object]
id
string

Unique identifier of the update alert

level
enum[string]

Importance level of the update alert

Values

  • notice
  • important
  • critical
title
string

Title for the update alert

description
string

Description for the update alert

action_url
string

Action URL for the update alert (if any)

icon_url
string

Icon URL for the update alert (if any)

is_read
boolean

Whether the update alert has already been read or not

created_at
number

Timestamp at which the update alert was created

  • GEThttps://api.crisp.chat/v1/user/alerts/updates/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Latest Update Alert

GET
/v1/user/alerts/updates/latest

Resolves latest update from the feed (the most recent update).

Response Data
error
boolean
reason
string
data
object
id
string

Unique identifier of the update alert

level
enum[string]

Importance level of the update alert

Values

  • notice
  • important
  • critical
title
string

Title for the update alert

description
string

Description for the update alert

action_url
string

Action URL for the update alert (if any)

icon_url
string

Icon URL for the update alert (if any)

is_read
boolean

Whether the update alert has already been read or not

created_at
number

Timestamp at which the update alert was created

  • GEThttps://api.crisp.chat/v1/user/alerts/updates/latest
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get An Update Alert Content

GET
/v1/user/alerts/updates/entry/{updates_entry_id}/content

Gets an update alert content data in the feed (if any; this can be quite large).

URI Parameters
updates_entry_id
stringRequired

The updates entry identifier

Response Data
error
boolean
reason
string
data
object
id
string

Unique identifier of the update alert

content
string

Content data for the update alert (if any)

  • GEThttps://api.crisp.chat/v1/user/alerts/updates/entry/updates_entry_id/content
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Mark All Update Alerts As Read

PATCH
/v1/user/alerts/updates/read

Marks all updates in the feed as read.

  • PATCHhttps://api.crisp.chat/v1/user/alerts/updates/read
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Statisticsin User

Count Total Unread Messages

GET
/v1/user/stats/unread

Counts the total number of unread messages, cross-website.

Response Data
error
boolean
reason
string
data
object
user_id
string

User identifier

unread
number

Number of unread messages for user

assigned
number

Number of pending assigned messages for user

  • GEThttps://api.crisp.chat/v1/user/stats/unread
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Connectin User

Get User Connect Endpoints

GET
/v1/user/connect/endpoints

Resolves the user endpoints information.

Response Data
error
boolean
reason
string
data
object
socket
object

Socket endpoints

app
string

RTM API WebSocket endpoint URL

  • GEThttps://api.crisp.chat/v1/user/connect/endpoints
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Billingin Website

Get Website Billing

GET
/v1/website/{website_id}/billing

Resolves website billing information (payment method linked to website).

URI Parameters
website_id
stringRequired

The website identifier

Response Data
card_id
string

Card identifier

name_on_card
string

Name on card

address
string

Address for cardholder

country
string

Country code for cardholder

information
string

Information on cardholder

tax_identifier
string

Tax identification number for cardholder (eg. European VAT number)

invoice_email
string

Email to send invoices to (eg. accountant email address, if any)

currency
string

Currency in use for billing for cardholder

card_number_preview
string

Secure preview of card number (the Crisp Platform only retains this mangled number)

card_country
string

Country code for card

card_provider
enum[string]

Provider for card

Values

  • default
  • mastercard
  • visa
  • amex
  • dinersclub
  • discover
  • unionpay
  • jcb
  • visaelectron
  • maestro
  • forbrugsforeningen
  • dankort
  • paypal
  • wire
expiration_date
string

Date when the card expires

added_date
string

Date when the card was added

is_valid
boolean

Whether card is valid or not

is_expired
boolean

Whether card is expired or not

owner
object

Card owner user

user_id
string

User identifier

email
string

User email

first_name
string

User first name

last_name
string

User last name

  • GEThttps://api.crisp.chat/v1/website/website_id/billing
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Website Billing

PATCH
/v1/website/{website_id}/billing

Updates website billing information (payment method linked to website).

URI Parameters
website_id
stringRequired

The website identifier

Request Body
card_id
stringRequired

Card identifier to link to website

  • PATCHhttps://api.crisp.chat/v1/website/website_id/billing
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)
DELETE
/v1/website/{website_id}/billing/{card_id}

Unlink website billing information (payment method linked to website).

URI Parameters
website_id
stringRequired

The website identifier

card_id
stringRequired

The card identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/billing/card_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Channelin Website

Get Website Email Channel

GET
/v1/website/{website_id}/channel/email

Resolves the website email channel values. The returned values are static (they do not change), as long as you do not re-configure the email channel domain. The returned email can be used to receive email messages in the Crisp inbox.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
email
string

Website inbound email (if available)

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Website Email Channel Domain

GET
/v1/website/{website_id}/channel/email/domain

Resolves domain for website email channel.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
root
string

Root domain for email domain

basic
string

Basic domain (subdomain of provided root domain)

custom
string

Custom domain (fully qualified domain, if any)

verified
boolean

Whether in-use domain could lastly be verified or not (domain is re-validated periodically)

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email/domain
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Website Email Channel Domain Change

PATCH
/v1/website/{website_id}/channel/email/domain

Requests a change in the email channel domain used to send and receive emails. The change will be propagated once all setup steps are fulfilled (see the setup route).

The domain validation result is sent back asynchronously on the RTM Events channel, using either event namespace website:validate:domain:valid or website:validate:domain:invalid.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
basic
stringOptional

Basic domain (subdomain of on.crisp.email)

custom
stringOptional

Custom domain (fully qualified domain, can be blank)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/channel/email/domain
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Generate Website Email Channel Setup Flow

GET
/v1/website/{website_id}/channel/email/setup{?domain}

Retrieves the email channel setup flow. This will return the DNS records required for email domain setup.

URI Parameters
website_id
stringRequired

The website identifier

domain
stringOptional

Domain to use for setup

Response Data
error
boolean
reason
string
data
object
domain
string

Mailer domain to return setup for

setup
object

Setup flow for mailer domain

records
array[object]

DNS records for mailer domain

type
enum[string]

DNS record type

Values

  • a
  • aaaa
  • cname
  • mx
  • txt
  • srv
query
enum[string]

DNS query type (ie. record valid for query type)

Values

  • a
  • aaaa
  • cname
  • mx
  • txt
  • srv
name
string

DNS record name

value
string

DNS record value

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email/setup
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Website Email Channel Relay

GET
/v1/website/{website_id}/channel/email/relay

Resolves the website email channel relay store. If any SMTP relay is configured, the outbound emails will be routed using specified SMTP server.

This route requires a custom email channel domain to be configured.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
status
enum[string]

SMTP relay connection status (from last delivered email)

Values

  • inactive
  • active
  • failed
smtp
object

SMTP relay server credentials (if any)

username
string

SMTP server username (if any)

server
string

SMTP server host

port
number

SMTP server port

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email/relay
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Website Email Channel Relay Change

PATCH
/v1/website/{website_id}/channel/email/relay

Requests a change in the email channel relay store (which is used to deliver emails). The change will be propagated once the provided SMTP credentials are verified.

This route requires a custom email channel domain to be configured.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
smtp
objectRequired

SMTP relay server credentials (can be blank)

username
stringRequired

SMTP server username (can be blank)

password
stringRequired

SMTP server password (can be blank)

server
stringRequired

SMTP server host

port
numberRequired

SMTP server port

  • PATCHhttps://api.crisp.chat/v1/website/website_id/channel/email/relay
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Website Email Channel Signature

GET
/v1/website/{website_id}/channel/email/signature

Resolves the website email channel signature, that gets sent at the end of every email for the website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
signature
string

Signature text (if any)

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email/signature
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Website Email Channel Signature

PATCH
/v1/website/{website_id}/channel/email/signature

Saves the website email channel signature.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
signature
stringRequired

Signature text (can be blank)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/channel/email/signature
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Website Email Channel IP

GET
/v1/website/{website_id}/channel/email/ip

Resolves the website email channel IP address. The IP address can be either pooled (default), or assigned to the website (paid option). In the latter case, the website enjoys a dedicated IP address, and can increase its deliverability.

This route requires a custom email channel domain to be configured, as well as the email IP plugin to be subscribed.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
pooled
object

Pooled IP data

reputation
number

Currently-used pool reputation (percentage, from 0 to 100)

assigned
object

Assigned IP data (if any)

reputation
number

Reputation of the assigned IP address (percentage, from 0 to 100)

addresses
array[object]

List of assigned IP addresses

type
enum[string]

IP address type (IPv4 or IPv6)

Values

  • V4
  • V6
ip
string

IP address value

host
string

Hostname for the IP address (reverse DNS of the IP address)

statistics
object

Statistics for the assigned IP address (this month)

unsubscribe
number

Number of users who unsubscribed from emails sent from website

sent
number

Number of emails sent from assigned IP

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email/ip
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Assign Website Email Channel IP

POST
/v1/website/{website_id}/channel/email/ip/assigned

Requests a website email channel IP address to be assigned for the website. The IP address will be reserved from the pool of private IP addresses Crisp maintains.

This route requires a custom email channel domain to be configured, as well as the email IP plugin to be subscribed.

URI Parameters
website_id
stringRequired

The website identifier

  • POSThttps://api.crisp.chat/v1/website/website_id/channel/email/ip/assigned
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Unassign Website Email Channel IP

DELETE
/v1/website/{website_id}/channel/email/ip/assigned

Unassign currently-assigned email IP for website. The assigned IP will be released, and the website will be back using a pooled email IP.

URI Parameters
website_id
stringRequired

The website identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/channel/email/ip/assigned
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Website Email Channel IP Logs

GET
/v1/website/{website_id}/channel/email/ip/logs

Lists latest website email channel IP logs. Those are raw error logs of failed email delivery to an address. They may help find out why an email was not delivered to a third-party.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
content
string

Content for the email log line (raw log, ie. unfiltered)

timestamp
number

Timestamp for email log line

  • GEThttps://api.crisp.chat/v1/website/website_id/channel/email/ip/logs
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Contractsin Website

List Website Contracts

GET
/v1/website/{website_id}/contracts

Lists all contracts agreed or not for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
id
string

Contract identifier

title
string

Contract title

contract_url
string

Contract URL (baseline non-agreed contract)

agreement_url
string

Contract agreement URL (agreed contract, if any)

description
string

Contract description

  • GEThttps://api.crisp.chat/v1/website/website_id/contracts
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Contractin Website

Check If Agreed Website Contract Exists

HEAD
/v1/website/{website_id}/contract/{contract_id}

Checks if an agreed contract exists for website.

URI Parameters
website_id
stringRequired

The website identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/contract/contract_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Agreed Website Contract

GET
/v1/website/{website_id}/contract/{contract_id}

Resolves an agreed contract for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
id
string

Contract identifier

title
string

Contract title

contract_url
string

Contract URL (baseline non-agreed contract)

agreement_url
string

Contract agreement URL (agreed contract, if any)

description
string

Contract description

  • GEThttps://api.crisp.chat/v1/website/website_id/contract/contract_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Agree To Website Contract

PUT
/v1/website/{website_id}/contract/{contract_id}

Agrees to a contract for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
agreement_url
stringRequired

Contract agreement URL (agreed contract)

  • PUThttps://api.crisp.chat/v1/website/website_id/contract/contract_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Agreed Website Contract

DELETE
/v1/website/{website_id}/contract/{contract_id}

Deletes an agreed contract for website.

URI Parameters
website_id
stringRequired

The website identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/contract/contract_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Datain Website

Refresh Website Predict Data

PUT
/v1/website/{website_id}/data/predict/refresh

Refreshes website predict data. This can be used to train the AI with new data from the Crisp inbox.

URI Parameters
website_id
stringRequired

The website identifier

  • PUThttps://api.crisp.chat/v1/website/website_id/data/predict/refresh
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Invitein Website

Get Invite Details

GET
/v1/website/{website_id}/invite/{invite_identifier}/{invite_key}

Gets details on a invite keypair. Useful to check validity of invite keypair.

URI Parameters
website_id
stringRequired

The website identifier

invite_identifier
stringRequired

The invite identifier

invite_key
stringRequired

The invite key

Response Data
error
boolean
reason
string
data
object
email
string

Invite email (doesn't need to match when redeeming later)

role
string

Invite role

website
object

Invited website

id
string

Website identifier

name
string

Website name

domain
string

Website domain

logo
string

Website custom logo image URL (can be blank)

  • GEThttps://api.crisp.chat/v1/website/website_id/invite/invite_identifier/invite_key
HTTP
Request
(loading)
Response
(loading)

Redeem Invite

PUT
/v1/website/{website_id}/invite/{invite_identifier}/{invite_key}

Redeems invite and join the website as operator.

URI Parameters
website_id
stringRequired

The website identifier

invite_identifier
stringRequired

The invite identifier

invite_key
stringRequired

The invite key

  • PUThttps://api.crisp.chat/v1/website/website_id/invite/invite_identifier/invite_key
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Invite Keypair

DELETE
/v1/website/{website_id}/invite/{invite_identifier}/{invite_key}

Deletes an invite keypair. Useful to invalidate keys if you ignore invite and never use the keys to redeem invite.

URI Parameters
website_id
stringRequired

The website identifier

invite_identifier
stringRequired

The invite identifier

invite_key
stringRequired

The invite key

  • DELETEhttps://api.crisp.chat/v1/website/website_id/invite/invite_identifier/invite_key
HTTP
Request
(loading)
Response
(loading)

Sandboxin Website

Check If Sandbox Target Exists

HEAD
/v1/website/{website_id}/sandbox/{user_id}

Checks if sandbox target exists.

URI Parameters
website_id
stringRequired

The website identifier

user_id
stringRequired

The sandbox user identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/sandbox/user_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Sandbox Target

DELETE
/v1/website/{website_id}/sandbox/{user_id}

Deletes a sandbox target. Useful to revoke Marketplace developers access to the website.

URI Parameters
website_id
stringRequired

The website identifier

user_id
stringRequired

The sandbox user identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/sandbox/user_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Usagein Website

Resolve Quotas Usage

GET
/v1/website/{website_id}/usage/quotas

Resolves all current quotas usage for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
namespace
object

Namespace for the quota

type
string

Namespace type

classifier
string

Namespace classifier

quota
object

Quota status data

used
number

Number of times the quota has been consumed for current period

limit
number

Quota threshold per period (ie. total number of quota consumes allowed)

time
number

Time after which a quota period ends up (in seconds)

context
object

Contextual values that are used to compute the total limit

included
number

Number of quota entries included in the subscribed plan

divider
number

Time divider used to compute the quota value (eg. if the value is billed monthly but used weekly in practice)

limit
object

Associated limit, which can be subscribed to in order to increase quota (if any)

id
string

Limit identifier

  • GEThttps://api.crisp.chat/v1/website/website_id/usage/quotas
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Limits Usage

GET
/v1/website/{website_id}/usage/limits

Resolves all current limits usage for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
namespace
object

Namespace for the limit

type
string

Namespace type

classifier
string

Namespace classifier

limit
object

Limit details (if any associated limit)

id
string

Limit identifier for the associated limit, which can be subscribed to in order to increase limit

usage
number

Actual website usage for the limit (if usage can be measured for the namespace)

total
number

Maximum usage allowed for the current limit subscription (this can be increased by subscribing to higher limits)

context
object

Contextual values that are used to compute the total limit

included
number

Number of limit entries included in the subscribed plan (if any)

  • GEThttps://api.crisp.chat/v1/website/website_id/usage/limits
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Ratingin Website

Map Session Rating Stars

GET
/v1/website/{website_id}/rating/sessions/stars{?filter_date_start}{&filter_date_end}

Map session ratings stars for website.

URI Parameters
website_id
stringRequired

The website identifier

filter_date_start
stringOptional

When to start relative to rating creation date (date, ISO 8601)

filter_date_end
stringOptional

When to end relative to rating creation date (date, ISO 8601)

Response Data
error
boolean
reason
string
data
object
stars
object

Stars map

1
number

Number of 1-star ratings left

2
number

Number of 2-stars ratings left

3
number

Number of 3-stars ratings left

4
number

Number of 4-stars ratings left

5
number

Number of 5-stars ratings left

comment
number

Number of comments left

  • GEThttps://api.crisp.chat/v1/website/website_id/rating/sessions/stars
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Session Ratings

GET
/v1/website/{website_id}/rating/sessions/list/{page_number}{?filter_date_start}{&filter_date_end}

Lists session ratings for website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

The page number (paging in ratings list)

filter_date_start
stringOptional

When to start relative to rating creation date (date, ISO 8601)

filter_date_end
stringOptional

When to end relative to rating creation date (date, ISO 8601)

Response Data
error
boolean
reason
string
data
array[object]
stars
number

Number of stars for rating, from 1 to 5

comment
string

Comment for rating

session
object

Rating author (if any)

session_id
string

Session identifier for rating author

nickname
string

Nickname for rating author

email
string

Email for rating author

avatar
string

Avatar for rating author

geolocation
object

Geolocation for rating author

country
string

Country code

region
string

Region code

city
string

City name

coordinates
object

Location coordinates

latitude
number

Latitude coordinate

longitude
number

Longitude coordinate

assigned
object

Assigned operator (if any)

user_id
string

Operator user identifier

created_at
number

Rating creation timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/rating/sessions/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Session Rating

GET
/v1/website/{website_id}/rating/session/{session_id}

Gets a session rating for website. Used to retrieve rating details from a given session.

URI Parameters
website_id
stringRequired

The website identifier

session_id
stringRequired

The session identifier

Response Data
error
boolean
reason
string
data
object
stars
number

Number of stars for rating, from 1 to 5

comment
string

Comment for rating

session
object

Rating author (if any)

session_id
string

Session identifier for rating author

nickname
string

Nickname for rating author

email
string

Email for rating author

avatar
string

Avatar for rating author

geolocation
object

Geolocation for rating author

country
string

Country code

region
string

Region code

city
string

City name

coordinates
object

Location coordinates

latitude
number

Latitude coordinate

longitude
number

Longitude coordinate

assigned
object

Assigned operator (if any)

user_id
string

Operator user identifier

created_at
number

Rating creation timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/rating/session/session_id
HTTP
Request
(loading)
Response
(loading)

Submit Session Rating

PUT
/v1/website/{website_id}/rating/session/{session_id}

Submits a session rating for website. Used for session users to publish their own website rating.

URI Parameters
website_id
stringRequired

The website identifier

session_id
stringRequired

The session identifier

Request Body
stars
numberRequired

Number of stars for rating, from 1 to 5

comment
stringOptional

Comment for rating

  • PUThttps://api.crisp.chat/v1/website/website_id/rating/session/session_id
HTTP
Request
(loading)
Response
(loading)

Delete Session Rating

DELETE
/v1/website/{website_id}/rating/session/{session_id}

Deletes a session rating for website. Used for session users to revoke their own website rating.

URI Parameters
website_id
stringRequired

The website identifier

session_id
stringRequired

The session identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/rating/session/session_id
HTTP
Request
(loading)
Response
(loading)

Routingin Website

Get Website Routing Settings

GET
/v1/website/{website_id}/routing/settings

Resolves the routing settings for a website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
assign
boolean

Routing assign status (ie. whether to enable rules or not)

responder
boolean

Whether to assign operator who replied upon reply

reprocess_rules
boolean

Whether to reprocess rules periodically on new messages (if conversation has already an assigned operator)

reprocess_offline
boolean

Whether to reprocess rules if assigned operator is offline

  • GEThttps://api.crisp.chat/v1/website/website_id/routing/settings
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Website Routing Settings

PATCH
/v1/website/{website_id}/routing/settings

Updates the routing settings for a website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
assign
booleanOptional

Routing assign status (ie. whether to enable rules or not)

responder
booleanOptional

Whether to assign operator who replied upon reply

reprocess_rules
booleanOptional

Whether to reprocess rules periodically on new messages (if conversation has already an assigned operator)

reprocess_offline
booleanOptional

Whether to reprocess rules if assigned operator is offline

  • PATCHhttps://api.crisp.chat/v1/website/website_id/routing/settings
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Website Routing Rules

GET
/v1/website/{website_id}/routing/rules

Lists the routing rules for a website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
rules
array[object]

Routing rules

name
string

Rule name

conditions
array[object]

Routing conditions filter

model
enum[string]

Filter model

Values

  • session
criterion
string

Filter criterion (in model)

operator
enum[string]

Filter operator

Values

  • eq
  • neq
  • gte
  • lte
  • gt
  • lt
query
array[string]

Filter query terms

assign
array[string]

User identifiers of operators to be assigned

  • GEThttps://api.crisp.chat/v1/website/website_id/routing/rules
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Website Routing Rules

PUT
/v1/website/{website_id}/routing/rules

Saves the routing rules for a website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
rules
array[object]Required

Routing rules

name
stringRequired

Rule name

conditions
array[object]Required

Routing conditions filter

model
enum[string]Required

Filter model

Values

  • session
criterion
stringRequired

Filter criterion (in model)

operator
enum[string]Required

Filter operator

Values

  • eq
  • neq
  • gte
  • lte
  • gt
  • lt
query
array[string]Required

Filter query terms

assign
array[string]Required

User identifiers of operators to be assigned

  • PUThttps://api.crisp.chat/v1/website/website_id/routing/rules
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Inboxin Website

List Website Inboxes

GET
/v1/website/{website_id}/inboxes/list/{page_number}

Lists all inboxes for website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

The page number (paging in inbox list)

Response Data
error
boolean
reason
string
data
array[object]
inbox_id
string

Inbox identifier

name
string

Inbox name

emoji
string

Inbox emoji

order
number

Inbox order

operators
array[string]

Operator user identifiers (members of the inbox)

conditions
array[object]

Filtering conditions

model
enum[string]

Filter model

Values

  • session
criterion
string

Filter criterion (in model)

operator
enum[string]

Filter operator

Values

  • eq
  • neq
  • gte
  • lte
  • gt
  • lt
query
array[string]

Filter query terms

created_at
number

Inbox creation timestamp

updated_at
number

Inbox update timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/inboxes/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Batch Order Website Inboxes

PATCH
/v1/website/{website_id}/inboxes/batch/order

Changes order for multiple matching inboxes on website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
orders
array[object]Required

Re-ordering operations

inbox_id
stringRequired

Inbox identifier

order
numberRequired

Order of inbox

  • PATCHhttps://api.crisp.chat/v1/website/website_id/inboxes/batch/order
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Create A New Website Inbox

POST
/v1/website/{website_id}/inbox

Creates a new inbox for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
name
stringRequired

Inbox name

emoji
stringRequired

Inbox emoji

order
numberRequired

Inbox order

operators
array[string]Required

Operator user identifiers (members of the inbox)

conditions
array[object]Required

Filtering conditions

model
enum[string]Required

Filter model

Values

  • session
criterion
stringRequired

Filter criterion (in model)

operator
enum[string]Required

Filter operator

Values

  • eq
  • neq
  • gte
  • lte
  • gt
  • lt
query
array[string]Required

Filter query terms

  • POSThttps://api.crisp.chat/v1/website/website_id/inbox
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Website Inbox Exists

HEAD
/v1/website/{website_id}/inbox/{inbox_id}

Checks if inbox exists for website.

URI Parameters
website_id
stringRequired

The website identifier

inbox_id
stringRequired

The inbox identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/inbox/inbox_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Website Inbox

GET
/v1/website/{website_id}/inbox/{inbox_id}

Resolves inbox for website.

URI Parameters
website_id
stringRequired

The website identifier

inbox_id
stringRequired

The inbox identifier

Response Data
error
boolean
reason
string
data
object
inbox_id
string

Inbox identifier

name
string

Inbox name

emoji
string

Inbox emoji

order
number

Inbox order

operators
array[string]

Operator user identifiers (members of the inbox)

conditions
array[object]

Filtering conditions

model
enum[string]

Filter model

Values

  • session
criterion
string

Filter criterion (in model)

operator
enum[string]

Filter operator

Values

  • eq
  • neq
  • gte
  • lte
  • gt
  • lt
query
array[string]

Filter query terms

created_at
number

Inbox creation timestamp

updated_at
number

Inbox update timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/inbox/inbox_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Website Inbox

PUT
/v1/website/{website_id}/inbox/{inbox_id}

Saves inbox for website.

URI Parameters
website_id
stringRequired

The website identifier

inbox_id
stringRequired

The inbox identifier

Request Body
name
stringRequired

Inbox name

emoji
stringRequired

Inbox emoji

order
numberRequired

Inbox order

operators
array[string]Required

Operator user identifiers (members of the inbox)

conditions
array[object]Required

Filtering conditions

model
enum[string]Required

Filter model

Values

  • session
criterion
stringRequired

Filter criterion (in model)

operator
enum[string]Required

Filter operator

Values

  • eq
  • neq
  • gte
  • lte
  • gt
  • lt
query
array[string]Required

Filter query terms

  • PUThttps://api.crisp.chat/v1/website/website_id/inbox/inbox_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Website Inbox

DELETE
/v1/website/{website_id}/inbox/{inbox_id}

Deletes inbox for website.

URI Parameters
website_id
stringRequired

The website identifier

inbox_id
stringRequired

The inbox identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/inbox/inbox_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Setupin Website

Get Website Setup

GET
/v1/website/{website_id}/setup

Resolves the setup state for a website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
disabled
boolean

Whether setup flow is disabled or not

states
object

Setup states

chatbox
object

Setup state for chatbox

done
boolean

Whether chatbox setup is done or not

trial
number

Trial days added for chatbox setup

messenger
object

Setup state for Messenger

done
boolean

Whether Messenger setup is done or not

trial
number

Trial days added for Messenger setup

email
object

Setup state for email

done
boolean

Whether email setup is done or not

trial
number

Trial days added for email setup

slack
object

Setup state for Slack

done
boolean

Whether Slack setup is done or not

trial
number

Trial days added for Slack setup

triggers
object

Setup state for Triggers

done
boolean

Whether Triggers setup is done or not

trial
number

Trial days added for Triggers setup

helpdesk
object

Setup state for Helpdesk

done
boolean

Whether Helpdesk setup is done or not

trial
number

Trial days added for Helpdesk setup

bot
object

Setup state for Bot

done
boolean

Whether Bot setup is done or not

trial
number

Trial days added for Bot setup

magicreply
object

Setup state for MagicReply

done
boolean

Whether MagicReply setup is done or not

trial
number

Trial days added for MagicReply setup

  • GEThttps://api.crisp.chat/v1/website/website_id/setup
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Website Setup

PATCH
/v1/website/{website_id}/setup

Updates the setup state for a website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
disabled
booleanOptional

Whether setup flow is disabled or not

  • PATCHhttps://api.crisp.chat/v1/website/website_id/setup
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Searchin Website

List Website Search History

GET
/v1/website/{website_id}/search/history/list

Lists the search history for a website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
history_id
string

History entry identifier

query
string

History entry query

created_at
number

History entry creation timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/search/history/list
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Insert Website Search History Entry

POST
/v1/website/{website_id}/search/history/entry

Inserts a new entry in the search history for a website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
query
stringRequired

History entry query

  • POSThttps://api.crisp.chat/v1/website/website_id/search/history/entry
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Website Search History Entry Exists

HEAD
/v1/website/{website_id}/search/history/entry/{history_id}

Checks if a search history entry exists for a website.

URI Parameters
website_id
stringRequired

The website identifier

history_id
stringRequired

The history identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/search/history/entry/history_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Website Search History Entry

GET
/v1/website/{website_id}/search/history/entry/{history_id}

Resolves a search history entry for a website.

URI Parameters
website_id
stringRequired

The website identifier

history_id
stringRequired

The history identifier

Response Data
error
boolean
reason
string
data
object
history_id
string

History entry identifier

query
string

History entry query

created_at
number

History entry creation timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/search/history/entry/history_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Website Search History Entry

DELETE
/v1/website/{website_id}/search/history/entry/{history_id}

Deletes a search history entry for a website.

URI Parameters
website_id
stringRequired

The website identifier

history_id
stringRequired

The history identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/search/history/entry/history_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Statesin Website

Request Website States

GET
/v1/website/{website_id}/states

Requests website states to be pushed to clients connected to realtime socket. States are both current operator message compose details and currently opened conversations (from online operators).

The state responses are sent back asynchronously on the RTM Events channel.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
  • GEThttps://api.crisp.chat/v1/website/website_id/states
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Servicein Website

Request Translation Service

POST
/v1/website/{website_id}/service/translate

Requests a translation service (eg. translate a text message).

The translated result is sent back asynchronously on the RTM Events channel, using the event namespace service:translate:processed.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
id
stringRequired

Tracking ID, returned in asynchronous callback

locale
objectRequired

Source and destination locales for translation

from
stringRequired

Source locale (ISO 639-1)

to
stringRequired

Destination locale (ISO 639-1)

text
stringRequired

Source text to translate

  • POSThttps://api.crisp.chat/v1/website/website_id/service/translate
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Transcription Service

POST
/v1/website/{website_id}/service/transcribe

Requests a transcription service (eg. transcribe an audio speech message to text).

The transcribed result is sent back asynchronously on the RTM Events channel, using the event namespace service:transcribe:processed.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
id
stringRequired

Tracking ID, returned in asynchronous callback

locale
objectRequired

Source and destination locales for transcription

to
stringRequired

Text destination locale (ISO 639-1)

media
objectRequired

Source audio media to transcribe

type
string

Audio file MIME type (must be an audio/* type)

url
string

Audio file URL

  • POSThttps://api.crisp.chat/v1/website/website_id/service/transcribe
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Extraction Service

POST
/v1/website/{website_id}/service/extract

Requests extraction service (eg. extract condensed questions from a conversation).

The extracted result is sent back asynchronously on the RTM Events channel, using the event namespace service:extract:processed.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
id
stringRequired

Tracking ID, returned in asynchronous callback

action
enum[string]Required

Extraction action to be applied on history

Values

  • condense
  • summarize
history
array[object]Required

History of exchanges (possibly between more than 2 parties)

from
enum[string]Required

Exchange direction

Values

  • user
  • operator
name
stringRequired

Name of exchange entry author

text
stringRequired

Exchange text content

  • POSThttps://api.crisp.chat/v1/website/website_id/service/extract
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Prediction Service

POST
/v1/website/{website_id}/service/predict

Requests a prediction service (eg. predict a text message reply based on conversation context).

The predicted result is sent back asynchronously on the RTM Events channel, using the event namespace service:predict:processed. While processing, intermediate results are sent via service:predict:partial.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
id
stringRequired

Tracking ID, returned in asynchronous callback

source
enum[string]Optional

Data source used for search and prediction (if none given, all data sources will be used)

Values

  • inbox
  • answer
  • webpage
  • helpdesk
target
enum[string]Optional

Target recipient for the predicted answer (defaults to user if none set)

Values

  • user
  • operator
context
objectRequired

Context for prediction

sender
stringRequired

Sender name

recipient
stringRequired

Recipient name

history
array[object]Required

History of exchanges between sender and recipient

from
enum[string]Required

Exchange direction

Values

  • user
  • operator
text
stringRequired

Exchange text content

text
stringOptional

Text to expand when computing prediction (ie. prediction will start with this text)

  • POSThttps://api.crisp.chat/v1/website/website_id/service/predict
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Ranking Service

POST
/v1/website/{website_id}/service/rank

Requests a ranking service (eg. rank a text message containing a question, from a data source eg. a Crisp Helpdesk).

The ranked result is sent back asynchronously on the RTM Events channel, using the event namespace service:rank:processed.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
id
stringRequired

Tracking ID, returned in asynchronous callback

source
enum[string]Required

Data source used for search and ranking

Values

  • helpdesk
text
stringRequired

Text to use as a question when looking up for ranked answers

  • POSThttps://api.crisp.chat/v1/website/website_id/service/rank
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Transform Service

POST
/v1/website/{website_id}/service/transform

Requests a transform service (eg. rephrase a text, or convert text to a friendly tone).

The transformed result is sent back asynchronously on the RTM Events channel, using the event namespace service:transform:processed.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
id
stringRequired

Tracking ID, returned in asynchronous callback

action
enum[string]Required

Action for transforming

Values

  • expand
  • readdress
  • improve:rephrase
  • improve:grammar
  • tone:friendly
  • tone:formal
text
stringRequired

Text to transform

  • POSThttps://api.crisp.chat/v1/website/website_id/service/transform
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Hooksin Website

List Hooks

GET
/v1/website/{website_id}/hooks/{page_number}

Lists hooks for website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

Page number for hooks paging

Response Data
error
boolean
reason
string
data
array[object]
hook_id
string

Hook identifier

label
string

Hook label

target
string

Hook target URL

status
enum[string]

Hook status (from last sent event)

Values

  • inactive
  • active
  • failed
events
array[enum[string]]

Hook event namespaces (to receive on target)

Values

  • message:updated
  • message:send
  • message:received
  • message:removed
  • message:acknowledge:read:send
  • message:acknowledge:read:received
  • message:notify:unread:send
  • message:notify:unread:received
  • session:set_email
  • session:set_phone
  • session:set_address
  • session:set_subject
  • session:set_data
  • session:set_avatar
  • session:set_nickname
  • session:set_state
  • session:set_block
  • session:set_segments
  • session:removed
  • session:sync:geolocation
  • session:sync:system
  • session:sync:network
  • session:sync:timezone
  • session:sync:locales
  • session:sync:events
  • session:sync:rating
  • session:sync:topic
  • people:profile:created
  • people:profile:updated
  • people:profile:removed
  • people:bind:session
  • people:sync:profile
  • campaign:progress
  • campaign:dispatched
  • campaign:running
  • status:health:changed
  • email:subscribe
  • email:track:view
  • plugin:event
attempted_at
number

Timestamp at which the last hook delivery attempt occurred (if any)

  • GEThttps://api.crisp.chat/v1/website/website_id/hooks/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Hookin Website

Create A New Hook

POST
/v1/website/{website_id}/hook

Creates a new hook.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
label
stringRequired

Hook label

target
stringRequired

Hook target URL

events
array[enum[string]]Required

Hook event namespaces (to receive on target)

Values

  • message:updated
  • message:send
  • message:received
  • message:removed
  • message:acknowledge:read:send
  • message:acknowledge:read:received
  • message:notify:unread:send
  • message:notify:unread:received
  • session:set_email
  • session:set_phone
  • session:set_address
  • session:set_subject
  • session:set_data
  • session:set_avatar
  • session:set_nickname
  • session:set_state
  • session:set_block
  • session:set_segments
  • session:removed
  • session:sync:geolocation
  • session:sync:system
  • session:sync:network
  • session:sync:timezone
  • session:sync:locales
  • session:sync:events
  • session:sync:rating
  • session:sync:topic
  • people:profile:created
  • people:profile:updated
  • people:profile:removed
  • people:bind:session
  • people:sync:profile
  • campaign:progress
  • campaign:dispatched
  • campaign:running
  • status:health:changed
  • email:subscribe
  • email:track:view
  • plugin:event
  • POSThttps://api.crisp.chat/v1/website/website_id/hook
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Hook Exists

HEAD
/v1/website/{website_id}/hook/{hook_id}

Checks if given hook exists.

URI Parameters
website_id
stringRequired

The website identifier

hook_id
stringRequired

The hook identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/hook/hook_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get A Hook

GET
/v1/website/{website_id}/hook/{hook_id}

Resolves hook information.

URI Parameters
website_id
stringRequired

The website identifier

hook_id
stringRequired

The hook identifier

Response Data
error
boolean
reason
string
data
object
hook_id
string

Hook identifier

label
string

Hook label

target
string

Hook target URL

status
enum[string]

Hook status (from last sent event)

Values

  • inactive
  • active
  • failed
events
array[enum[string]]

Hook event namespaces (to receive on target)

Values

  • message:updated
  • message:send
  • message:received
  • message:removed
  • message:acknowledge:read:send
  • message:acknowledge:read:received
  • message:notify:unread:send
  • message:notify:unread:received
  • session:set_email
  • session:set_phone
  • session:set_address
  • session:set_subject
  • session:set_data
  • session:set_avatar
  • session:set_nickname
  • session:set_state
  • session:set_block
  • session:set_segments
  • session:removed
  • session:sync:geolocation
  • session:sync:system
  • session:sync:network
  • session:sync:timezone
  • session:sync:locales
  • session:sync:events
  • session:sync:rating
  • session:sync:topic
  • people:profile:created
  • people:profile:updated
  • people:profile:removed
  • people:bind:session
  • people:sync:profile
  • campaign:progress
  • campaign:dispatched
  • campaign:running
  • status:health:changed
  • email:subscribe
  • email:track:view
  • plugin:event
attempted_at
number

Timestamp at which the last hook delivery attempt occurred (if any)

  • GEThttps://api.crisp.chat/v1/website/website_id/hook/hook_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save A Hook

PUT
/v1/website/{website_id}/hook/{hook_id}

Saves a hook in website, and overwrite previous hook information.

URI Parameters
website_id
stringRequired

The website identifier

hook_id
stringRequired

The hook identifier

Request Body
label
stringRequired

Hook label

target
stringRequired

Hook target URL

events
array[enum[string]]Required

Hook event namespaces (to receive on target)

Values

  • message:updated
  • message:send
  • message:received
  • message:removed
  • message:acknowledge:read:send
  • message:acknowledge:read:received
  • message:notify:unread:send
  • message:notify:unread:received
  • session:set_email
  • session:set_phone
  • session:set_address
  • session:set_subject
  • session:set_data
  • session:set_avatar
  • session:set_nickname
  • session:set_state
  • session:set_block
  • session:set_segments
  • session:removed
  • session:sync:geolocation
  • session:sync:system
  • session:sync:network
  • session:sync:timezone
  • session:sync:locales
  • session:sync:events
  • session:sync:rating
  • session:sync:topic
  • people:profile:created
  • people:profile:updated
  • people:profile:removed
  • people:bind:session
  • people:sync:profile
  • campaign:progress
  • campaign:dispatched
  • campaign:running
  • status:health:changed
  • email:subscribe
  • email:track:view
  • plugin:event
  • PUThttps://api.crisp.chat/v1/website/website_id/hook/hook_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update A Hook

PATCH
/v1/website/{website_id}/hook/{hook_id}

Updates a hook in website, and save only changed fields.

URI Parameters
website_id
stringRequired

The website identifier

hook_id
stringRequired

The hook identifier

Request Body
label
stringOptional

Hook label

target
stringOptional

Hook target URL

events
array[enum[string]]Optional

Hook event namespaces (to receive on target)

Values

  • message:updated
  • message:send
  • message:received
  • message:removed
  • message:acknowledge:read:send
  • message:acknowledge:read:received
  • message:notify:unread:send
  • message:notify:unread:received
  • session:set_email
  • session:set_phone
  • session:set_address
  • session:set_subject
  • session:set_data
  • session:set_avatar
  • session:set_nickname
  • session:set_state
  • session:set_block
  • session:set_segments
  • session:removed
  • session:sync:geolocation
  • session:sync:system
  • session:sync:network
  • session:sync:timezone
  • session:sync:locales
  • session:sync:events
  • session:sync:rating
  • session:sync:topic
  • people:profile:created
  • people:profile:updated
  • people:profile:removed
  • people:bind:session
  • people:sync:profile
  • campaign:progress
  • campaign:dispatched
  • campaign:running
  • status:health:changed
  • email:subscribe
  • email:track:view
  • plugin:event
  • PATCHhttps://api.crisp.chat/v1/website/website_id/hook/hook_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Remove A Hook

DELETE
/v1/website/{website_id}/hook/{hook_id}

Removes a hook in website.

URI Parameters
website_id
stringRequired

The website identifier

hook_id
stringRequired

The hook identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/hook/hook_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Filtersin Website

List Filters

GET
/v1/website/{website_id}/filters/{page_number}{?type}

Lists filters for website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

Page number for filters paging

type
stringOptional

Filters type to return (conversation or people)

Response Data
error
boolean
reason
string
data
array[object]
filter_id
string

Filter identifier

type
enum[string]

Filter type

Values

  • conversation
  • people
label
string

Filter label

filter
array[object]

Filter data

model
enum[string]

Filter model

Values

  • conversation
  • people
criterion
string

Filter criterion (in model)

operator
enum[string]

Filter operator

Values

  • eq
  • neq
  • ex
  • nex
  • has
  • nhas
  • sw
  • ew
  • gte
  • lte
  • gt
  • lt
query
array[string]

Filter query terms

operator
enum[string]

Filter operator

Values

  • and
  • or
  • GEThttps://api.crisp.chat/v1/website/website_id/filters/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Filterin Website

Create A New Filter

POST
/v1/website/{website_id}/filter

Creates a new filter.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
type
enum[string]Required

Filter type

Values

  • conversation
  • people
label
stringRequired

Filter label

filter
array[object]Required

Filter data

model
enum[string]Required

Filter model

Values

  • conversation
  • people
criterion
stringRequired

Filter criterion (in model)

operator
enum[string]Required

Filter operator

Values

  • eq
  • neq
  • ex
  • nex
  • has
  • nhas
  • sw
  • ew
  • gte
  • lte
  • gt
  • lt
query
array[string]Required

Filter query terms

operator
enum[string]Required

Filter operator

Values

  • and
  • or
  • POSThttps://api.crisp.chat/v1/website/website_id/filter
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Filter Exists

HEAD
/v1/website/{website_id}/filter/{filter_id}

Checks if given filter exists.

URI Parameters
website_id
stringRequired

The website identifier

filter_id
stringRequired

The filter identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/filter/filter_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get A Filter

GET
/v1/website/{website_id}/filter/{filter_id}

Resolves filter information.

URI Parameters
website_id
stringRequired

The website identifier

filter_id
stringRequired

The filter identifier

Response Data
error
boolean
reason
string
data
array[object]
filter_id
string

Filter identifier

type
enum[string]

Filter type

Values

  • conversation
  • people
label
string

Filter label

filter
array[object]

Filter data

model
enum[string]

Filter model

Values

  • conversation
  • people
criterion
string

Filter criterion (in model)

operator
enum[string]

Filter operator

Values

  • eq
  • neq
  • ex
  • nex
  • has
  • nhas
  • sw
  • ew
  • gte
  • lte
  • gt
  • lt
query
array[string]

Filter query terms

operator
enum[string]

Filter operator

Values

  • and
  • or
  • GEThttps://api.crisp.chat/v1/website/website_id/filter/filter_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save A Filter

PUT
/v1/website/{website_id}/filter/{filter_id}

Saves a filter in website, and overwrite previous filter information.

URI Parameters
website_id
stringRequired

The website identifier

filter_id
stringRequired

The filter identifier

Request Body
label
stringRequired

Filter label

filter
array[object]Required

Filter data

model
enum[string]Required

Filter model

Values

  • conversation
  • people
criterion
stringRequired

Filter criterion (in model)

operator
enum[string]Required

Filter operator

Values

  • eq
  • neq
  • ex
  • nex
  • has
  • nhas
  • sw
  • ew
  • gte
  • lte
  • gt
  • lt
query
array[string]Required

Filter query terms

operator
enum[string]Required

Filter operator

Values

  • and
  • or
  • PUThttps://api.crisp.chat/v1/website/website_id/filter/filter_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Remove A Filter

DELETE
/v1/website/{website_id}/filter/{filter_id}

Removes a filter in website.

URI Parameters
website_id
stringRequired

The website identifier

filter_id
stringRequired

The filter identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/filter/filter_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Shortcutsin Website

List Shortcuts

GET
/v1/website/{website_id}/shortcuts/list/{page_number}{?search_query}{&search_tag}

Lists shortcuts for website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

Page number for shortcuts paging

search_query
stringOptional

Search query in all shortcuts

search_tag
stringOptional

Restrict search to tag

Response Data
error
boolean
reason
string
data
array[object]
shortcut_id
string

Shortcut identifier

bang
string

Shortcut bang

text
string

Shortcut text

tag
string

Shortcut tag

disabled
boolean

Whether shortcut is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/shortcuts/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Shortcut Tags

GET
/v1/website/{website_id}/shortcuts/tags

Lists shortcut tags for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[string]

Shortcut tags

  • GEThttps://api.crisp.chat/v1/website/website_id/shortcuts/tags
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Batch Rename Shortcuts Tag

PATCH
/v1/website/{website_id}/shortcuts/batch/tag

Renames tags for all shortcuts matching tag name with a replacement tag for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
match
stringRequired

Tag name to match (or none)

replacement
stringRequired

Tag name to use instead (or none)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/shortcuts/batch/tag
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Shortcutin Website

Create A New Shortcut

POST
/v1/website/{website_id}/shortcut

Creates a new shortcut.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
bang
stringRequired

Shortcut bang

text
stringRequired

Shortcut text

tag
stringOptional

Shortcut tag

disabled
booleanOptional

Whether shortcut is disabled or not

  • POSThttps://api.crisp.chat/v1/website/website_id/shortcut
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Shortcut Exists

HEAD
/v1/website/{website_id}/shortcut/{shortcut_id}

Checks if given shortcut exists.

URI Parameters
website_id
stringRequired

The website identifier

shortcut_id
stringRequired

The shortcut identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/shortcut/shortcut_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get A Shortcut

GET
/v1/website/{website_id}/shortcut/{shortcut_id}

Resolves shortcut information.

URI Parameters
website_id
stringRequired

The website identifier

shortcut_id
stringRequired

The shortcut identifier

Response Data
error
boolean
reason
string
data
object
shortcut_id
string

Shortcut identifier

bang
string

Shortcut bang

text
string

Shortcut text

tag
string

Shortcut tag

disabled
boolean

Whether shortcut is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/shortcut/shortcut_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save A Shortcut

PUT
/v1/website/{website_id}/shortcut/{shortcut_id}

Saves a shortcut in website, and overwrite previous shortcut information.

URI Parameters
website_id
stringRequired

The website identifier

shortcut_id
stringRequired

The shortcut identifier

Request Body
bang
stringRequired

Shortcut bang

text
stringRequired

Shortcut text

tag
stringOptional

Shortcut tag

disabled
booleanOptional

Whether shortcut is disabled or not

  • PUThttps://api.crisp.chat/v1/website/website_id/shortcut/shortcut_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update A Shortcut

PATCH
/v1/website/{website_id}/shortcut/{shortcut_id}

Updates a shortcut in website, and save only changed fields.

URI Parameters
website_id
stringRequired

The website identifier

shortcut_id
stringRequired

The shortcut identifier

Request Body
bang
stringOptional

Shortcut bang

text
stringOptional

Shortcut text

tag
stringOptional

Shortcut tag

disabled
booleanOptional

Whether shortcut is disabled or not

  • PATCHhttps://api.crisp.chat/v1/website/website_id/shortcut/shortcut_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Remove A Shortcut

DELETE
/v1/website/{website_id}/shortcut/{shortcut_id}

Removes a shortcut in website.

URI Parameters
website_id
stringRequired

The website identifier

shortcut_id
stringRequired

The shortcut identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/shortcut/shortcut_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Report Shortcut Action

POST
/v1/website/{website_id}/shortcut/{shortcut_id}/report

Reports an action on a shortcut (eg. shortcut has been used). This is used for analytics purposes.

URI Parameters
website_id
stringRequired

The website identifier

shortcut_id
stringRequired

The shortcut identifier

Request Body
action
stringRequired

Shortcut action

  • POSThttps://api.crisp.chat/v1/website/website_id/shortcut/shortcut_id/report
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Snippetsin Website

List Answer Snippets

GET
/v1/website/{website_id}/snippets/answers/list/{page_number}

Lists answer snippets for website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

The page number (paging in answers list)

Response Data
error
boolean
reason
string
data
array[object]
snippet_id
string

Answer snippet identifier

title
string

Answer title

content
string

Answer content

locale
string

Answer locale code (if any, ISO 639-1)

group
string

Answer group (if any)

disabled
boolean

Whether answer snippet is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/answers/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add A New Answer Snippet

POST
/v1/website/{website_id}/snippets/answer

Creates a new answer snippet for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
title
stringRequired

Answer title

locale
stringOptional

Answer locale code (ISO 639-1)

  • POSThttps://api.crisp.chat/v1/website/website_id/snippets/answer
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Answer Snippet Exists

HEAD
/v1/website/{website_id}/snippets/answer/{answer_snippet_id}

Checks if answer snippet exists for website.

URI Parameters
website_id
stringRequired

The website identifier

answer_snippet_id
stringRequired

The answer snippet identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/snippets/answer/answer_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Answer Snippet

GET
/v1/website/{website_id}/snippets/answer/{answer_snippet_id}

Resolves answer snippet for website.

URI Parameters
website_id
stringRequired

The website identifier

answer_snippet_id
stringRequired

The answer snippet identifier

Response Data
error
boolean
reason
string
data
object
snippet_id
string

Answer snippet identifier

title
string

Answer title

content
string

Answer content

locale
string

Answer locale code (if any, ISO 639-1)

group
string

Answer group (if any)

disabled
boolean

Whether answer snippet is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/answer/answer_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Answer Snippet

PATCH
/v1/website/{website_id}/snippets/answer/{answer_snippet_id}

Updates answer snippet for website.

URI Parameters
website_id
stringRequired

The website identifier

answer_snippet_id
stringRequired

The answer snippet identifier

Request Body
title
stringOptional

Answer title

content
stringOptional

Answer content

locale
stringOptional

Answer locale code (ISO 639-1)

group
stringOptional

Answer group (set to blank value for none)

disabled
booleanOptional

Whether answer snippet is disabled or not

  • PATCHhttps://api.crisp.chat/v1/website/website_id/snippets/answer/answer_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Answer Snippet

DELETE
/v1/website/{website_id}/snippets/answer/{answer_snippet_id}

Deletes answer snippet for website.

URI Parameters
website_id
stringRequired

The website identifier

answer_snippet_id
stringRequired

The answer snippet identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/snippets/answer/answer_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Webpage Domains

GET
/v1/website/{website_id}/snippets/webpages/domains

Lists webpage domains for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
snippet_id
string

Domain snippet identifier

domain
string

Domain name

pages
object

Pages for domain

statistics
object

Pages statistics for domain

total
number

Total number of pages for domain

disabled
number

Number of disabled pages for domain

status
object

Pages status for domain

state
enum[string]

Pages crawl state

Values

  • inactive
  • refreshing
  • success
  • failure
timestamp
number

Timestamp since when the crawl status has been updated

disabled
boolean

Whether domain snippet is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domains
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add A New Webpage Domain

POST
/v1/website/{website_id}/snippets/webpages/domain

Creates a new webpage domain for website.

The crawling results are sent back asynchronously on the RTM Events channel, using either event namespace snippet:webpage:domain:crawl:progress or snippet:webpage:domain:crawl:done.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
domain
stringRequired

Webpage root domain

  • POSThttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Webpage Domain Exists

HEAD
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}

Checks if webpage domain exists for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Webpage Domain

GET
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}

Resolves webpage domain for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

Response Data
error
boolean
reason
string
data
object
snippet_id
string

Domain snippet identifier

domain
string

Domain name

pages
object

Pages for domain

statistics
object

Pages statistics for domain

total
number

Total number of pages for domain

disabled
number

Number of disabled pages for domain

status
object

Pages status for domain

state
enum[string]

Pages crawl state

Values

  • inactive
  • refreshing
  • success
  • failure
timestamp
number

Timestamp since when the crawl status has been updated

disabled
boolean

Whether domain snippet is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Webpage Domain

PATCH
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}

Updates webpage domain for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

Request Body
disabled
booleanOptional

Whether webpage domain is disabled or not (ie. all children pages)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Refresh Webpage Domain

POST
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}/refresh

Refreshes webpage domain for website. This creates a new scraping background job, refreshing all indexed pages.

The crawling results are sent back asynchronously on the RTM Events channel, using either event namespace snippet:webpage:domain:crawl:progress or snippet:webpage:domain:crawl:done.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

  • POSThttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id/refresh
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Webpage Domain

DELETE
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}

Deletes webpage domain for website. The domain might take some time to be deleted (in the background), since all linked pages must be removed and de-indexed as well.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Webpage Domain Pages

GET
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}/pages/list/{page_number}

Lists webpage domain pages for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

page_number
stringOptional

The page number (paging in answers list)

Response Data
error
boolean
reason
string
data
array[object]
snippet_id
string

Page snippet identifier

domain
string

Page root domain

url
string

Page URL (at root domain)

title
string

Page document title

locale
string

Page content locale code (if any, ISO 639-1)

status
object

Page status

state
enum[string]

Page crawl state

Values

  • inactive
  • refreshing
  • success
  • failure
timestamp
number

Timestamp since when the crawl status has been updated

disabled
boolean

Whether page snippet is disabled or not

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id/pages/list/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Webpage Domain Page Exists

HEAD
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}/page/{page_snippet_id}

Checks if webpage domain page exists for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

page_snippet_id
stringRequired

The webpage page snippet identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id/page/page_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Webpage Domain Page

PATCH
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}/page/{page_snippet_id}

Updates webpage domain page for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

page_snippet_id
stringRequired

The webpage page snippet identifier

Request Body
disabled
booleanOptional

Whether webpage domain page is disabled or not

locale
stringOptional

Page content locale code (ISO 639-1)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id/page/page_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Webpage Domain Page Content

GET
/v1/website/{website_id}/snippets/webpages/domain/{domain_snippet_id}/page/{page_snippet_id}/content

Resolves webpage domain page content for website.

URI Parameters
website_id
stringRequired

The website identifier

domain_snippet_id
stringRequired

The webpage domain snippet identifier

page_snippet_id
stringRequired

The webpage page snippet identifier

Response Data
error
boolean
reason
string
data
object
title
string

Page document title

content
string

Page document content text (if any)

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/webpages/domain/domain_snippet_id/page/page_snippet_id/content
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Overlay Searches

GET
/v1/website/{website_id}/snippets/overlay/searches

Lists overlay search snippets for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
snippet_id
string

Overlay search snippet identifier

query
string

Search query

locale
string

Search locale code (if any, ISO 639-1)

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/overlay/searches
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)
POST
/v1/website/{website_id}/snippets/overlay/search

Creates a new overlay search for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
query
stringRequired

Search query

locale
stringOptional

Search locale code (ISO 639-1)

  • POSThttps://api.crisp.chat/v1/website/website_id/snippets/overlay/search
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Overlay Search Exists

HEAD
/v1/website/{website_id}/snippets/overlay/search/{search_snippet_id}

Checks if overlay search exists for website.

URI Parameters
website_id
stringRequired

The website identifier

search_snippet_id
stringRequired

The overlay search snippet identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/snippets/overlay/search/search_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)
GET
/v1/website/{website_id}/snippets/overlay/search/{search_snippet_id}

Resolves overlay search for website.

URI Parameters
website_id
stringRequired

The website identifier

search_snippet_id
stringRequired

The overlay search snippet identifier

Response Data
error
boolean
reason
string
data
object
snippet_id
string

Overlay search snippet identifier

query
string

Search query

locale
string

Search locale code (if any, ISO 639-1)

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/overlay/search/search_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)
PATCH
/v1/website/{website_id}/snippets/overlay/search/{search_snippet_id}

Updates overlay search for website.

URI Parameters
website_id
stringRequired

The website identifier

search_snippet_id
stringRequired

The overlay search snippet identifier

Request Body
query
stringOptional

Search query

locale
stringOptional

Search locale code (ISO 639-1)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/snippets/overlay/search/search_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)
DELETE
/v1/website/{website_id}/snippets/overlay/search/{search_snippet_id}

Deletes overlay search for website.

URI Parameters
website_id
stringRequired

The website identifier

search_snippet_id
stringRequired

The overlay search snippet identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/snippets/overlay/search/search_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Overlay Categories

GET
/v1/website/{website_id}/snippets/overlay/categories

Lists overlay category snippets for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
snippet_id
string

Overlay category snippet identifier

name
string

Category name

color
enum[string]

Category color (if any)

Values

  • blue
  • green
  • grey
  • grey-blue
  • pink
  • purple
  • red
  • teal
  • yellow
locale
string

Category locale code (if any, ISO 639-1)

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/overlay/categories
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add A New Overlay Category

POST
/v1/website/{website_id}/snippets/overlay/category

Creates a new overlay category for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
name
stringRequired

Category name

locale
stringOptional

Category locale code (ISO 639-1)

  • POSThttps://api.crisp.chat/v1/website/website_id/snippets/overlay/category
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Overlay Category Exists

HEAD
/v1/website/{website_id}/snippets/overlay/category/{category_snippet_id}

Checks if overlay category exists for website.

URI Parameters
website_id
stringRequired

The website identifier

category_snippet_id
stringRequired

The overlay category snippet identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/snippets/overlay/category/category_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Overlay Category

GET
/v1/website/{website_id}/snippets/overlay/category/{category_snippet_id}

Resolves overlay category for website.

URI Parameters
website_id
stringRequired

The website identifier

category_snippet_id
stringRequired

The overlay category snippet identifier

Response Data
error
boolean
reason
string
data
object
snippet_id
string

Overlay category snippet identifier

name
string

Category name

color
enum[string]

Category color (if any)

Values

  • blue
  • green
  • grey
  • grey-blue
  • pink
  • purple
  • red
  • teal
  • yellow
locale
string

Category locale code (if any, ISO 639-1)

  • GEThttps://api.crisp.chat/v1/website/website_id/snippets/overlay/category/category_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Overlay Category

PATCH
/v1/website/{website_id}/snippets/overlay/category/{category_snippet_id}

Updates overlay category for website.

URI Parameters
website_id
stringRequired

The website identifier

category_snippet_id
stringRequired

The overlay category snippet identifier

Request Body
name
stringOptional

Category name

color
enum[string]Optional

Category color

Values

  • blue
  • green
  • grey
  • grey-blue
  • pink
  • purple
  • red
  • teal
  • yellow
locale
stringOptional

Category locale code (ISO 639-1)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/snippets/overlay/category/category_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Overlay Category

DELETE
/v1/website/{website_id}/snippets/overlay/category/{category_snippet_id}

Deletes overlay category for website.

URI Parameters
website_id
stringRequired

The website identifier

category_snippet_id
stringRequired

The overlay category snippet identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/snippets/overlay/category/category_snippet_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Status Pagein Website

Check If Status Page Exists

HEAD
/v1/website/{website_id}/status

Checks if status page exists for website (ie. if it has been initialized).

URI Parameters
website_id
stringRequired

The website identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/status
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Status Page

GET
/v1/website/{website_id}/status

Resolves status page information for website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
name
string

Name of the status page

url
string

Public URL of the status page

  • GEThttps://api.crisp.chat/v1/website/website_id/status
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Initialize Status Page

POST
/v1/website/{website_id}/status

Initializes a new status page for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
name
stringRequired

Name of the status page

domain_basic
stringRequired

Basic domain of the status page (subdomain of default root domain)

  • POSThttps://api.crisp.chat/v1/website/website_id/status
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Status Page

DELETE
/v1/website/{website_id}/status

Deletes status page for website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
verify
stringRequired

User password (used to double-authenticate deletion)

  • DELETEhttps://api.crisp.chat/v1/website/website_id/status
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Status Page Services

GET
/v1/website/{website_id}/status/services/{page_number}{?search_name}

Lists services for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

Page number for services paging

search_name
stringOptional

Search by service name

Response Data
error
boolean
reason
string
data
array[object]
service_id
string

Service identifier

name
string

Name of the service

order
number

Service ordering weight

created_at
number

Service creation timestamp

updated_at
number

Service update timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/status/services/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add A New Status Page Service

POST
/v1/website/{website_id}/status/service

Adds a new service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
name
stringRequired

Name of the service

  • POSThttps://api.crisp.chat/v1/website/website_id/status/service
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Status Page Service Exists

HEAD
/v1/website/{website_id}/status/service/{service_id}

Checks if a service exists for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/status/service/service_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Status Page Service

GET
/v1/website/{website_id}/status/service/{service_id}

Resolves a service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

Response Data
error
boolean
reason
string
data
object
service_id
string

Service identifier

name
string

Name of the service

order
number

Service ordering weight

created_at
number

Service creation timestamp

updated_at
number

Service update timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/status/service/service_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Status Page Service

PUT
/v1/website/{website_id}/status/service/{service_id}

Saves a service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

Request Body
name
stringRequired

Name of the service

order
numberRequired

Service ordering weight

  • PUThttps://api.crisp.chat/v1/website/website_id/status/service/service_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Status Page Service

PATCH
/v1/website/{website_id}/status/service/{service_id}

Updates a service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

Request Body
name
stringOptional

Name of the service

order
numberOptional

Service ordering weight

  • PATCHhttps://api.crisp.chat/v1/website/website_id/status/service/service_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Status Page Service

DELETE
/v1/website/{website_id}/status/service/{service_id}

Deletes a service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/status/service/service_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Status Page Service Nodes

GET
/v1/website/{website_id}/status/service/{service_id}/nodes/{page_number}{?search_label}

Lists nodes in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

page_number
stringOptional

Page number for nodes paging

search_label
stringOptional

Search by node label

Response Data
error
boolean
reason
string
data
array[object]
node_id
string

Node identifier

label
string

Label of the node

mode
enum[string]

Monitoring mode for the node

Values

  • poll
  • push
  • local
order
number

Node ordering weight

replicas
array[string]

Node replicas (URLs for poll or local mode, either: icmp://, tcp://, http:// or https://)

http
object

HTTP probe configuration for node (if poll or local mode used, and replicas are: http:// or https://)

status
object

HTTP status to probe against

healthy_above
number

Consider replica healthy if HTTP response status is above (if any, eg. 200)

healthy_below
number

Consider replica healthy if HTTP response status is below (if any, eg. 400)

body
object

HTTP body to probe against

healthy_match
string

Consider replica healthy if HTTP response body contains (if any, eg. OK)

created_at
number

Node creation timestamp

updated_at
number

Node update timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/status/service/service_id/nodes/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Add A New Status Page Service Node

POST
/v1/website/{website_id}/status/service/{service_id}/node

Adds a new node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

Request Body
label
stringRequired

Label of the node

mode
enum[string]Required

Monitoring mode for the node

Values

  • poll
  • push
  • local
  • POSThttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Status Page Service Node Exists

HEAD
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}

Checks if a node in service exists for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Status Page Service Node

GET
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}

Resolves a node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

Response Data
error
boolean
reason
string
data
object
node_id
string

Node identifier

label
string

Label of the node

mode
enum[string]

Monitoring mode for the node

Values

  • poll
  • push
  • local
order
number

Node ordering weight

replicas
array[string]

Node replicas (URLs for poll or local mode, either: icmp://, tcp://, http:// or https://)

http
object

HTTP probe configuration for node (if poll or local mode used, and replicas are: http:// or https://)

status
object

HTTP status to probe against

healthy_above
number

Consider replica healthy if HTTP response status is above (if any, eg. 200)

healthy_below
number

Consider replica healthy if HTTP response status is below (if any, eg. 400)

body
object

HTTP body to probe against

healthy_match
string

Consider replica healthy if HTTP response body contains (if any, eg. OK)

created_at
number

Node creation timestamp

updated_at
number

Node update timestamp

  • GEThttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Status Page Service Node

PUT
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}

Saves a node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

Request Body
label
stringRequired

Label of the node

order
numberRequired

Node ordering weight

replicas
array[string]Optional

Node replicas (URLs for poll or local mode, either: icmp://, tcp://, http:// or https://)

http
objectOptional

HTTP probe configuration for node (if poll or local mode used, and replicas are: http:// or https://)

status
objectOptional

HTTP status to probe against

healthy_above
numberRequired

Consider replica healthy if HTTP response status is above (if any, eg. 200)

healthy_below
numberRequired

Consider replica healthy if HTTP response status is below (if any, eg. 400)

body
objectOptional

HTTP body to probe against

healthy_match
stringRequired

Consider replica healthy if HTTP response body contains (if any, eg. OK)

  • PUThttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Update Status Page Service Node

PATCH
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}

Updates a node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

Request Body
label
stringOptional

Label of the node

order
numberOptional

Node ordering weight

replicas
array[string]Optional

Node replicas (URLs for poll or local mode, either: icmp://, tcp://, http:// or https://)

http
objectOptional

HTTP probe configuration for node (if poll or local mode used, and replicas are: http:// or https://)

status
objectOptional

HTTP status to probe against

healthy_above
numberRequired

Consider replica healthy if HTTP response status is above (if any, eg. 200)

healthy_below
numberRequired

Consider replica healthy if HTTP response status is below (if any, eg. 400)

body
objectOptional

HTTP body to probe against

healthy_match
stringRequired

Consider replica healthy if HTTP response body contains (if any, eg. OK)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Status Page Service Node

DELETE
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}

Deletes a node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Status Page Service Node Replicas

GET
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}/replicas

Lists replicas health for node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

Response Data
error
boolean
reason
string
data
array[enum[string]]

Values

  • healthy
  • sick
  • dead
  • GEThttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id/replicas
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Flush Status Page Service Node Replicas

DELETE
/v1/website/{website_id}/status/service/{service_id}/node/{node_id}/replicas

Flushes the list of replicas health for node in service for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

service_id
stringRequired

The service identifier

node_id
stringRequired

The node identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/status/service/service_id/node/node_id/replicas
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check If Status Page Announcement Exists

HEAD
/v1/website/{website_id}/status/announcement

Checks if an announcement exists for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

  • HEADhttps://api.crisp.chat/v1/website/website_id/status/announcement
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Status Page Announcement

GET
/v1/website/{website_id}/status/announcement

Resolves an announcement for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
title
string

Announcement title

message
string

Announcement message

created_at
number

Announcement creation timestamp

updated_at
number

Announcement update timestamp

expire_at
number

Announcement expiration date (can be blank)

  • GEThttps://api.crisp.chat/v1/website/website_id/status/announcement
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Status Page Announcement

PUT
/v1/website/{website_id}/status/announcement

Saves an announcement for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
title
stringRequired

Announcement title

message
stringRequired

Announcement message

expire_at
numberOptional

Announcement expiration date (if any)

  • PUThttps://api.crisp.chat/v1/website/website_id/status/announcement
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Delete Status Page Announcement

DELETE
/v1/website/{website_id}/status/announcement

Deletes an announcement for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

  • DELETEhttps://api.crisp.chat/v1/website/website_id/status/announcement
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Status Page Settings

GET
/v1/website/{website_id}/status/settings

Resolves settings for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
name
string

Name of the status page

appearance
object

Appearance configuration of the status page

logos
object

Logos of the status page

header
string

Header logo URL (if any)

footer
string

Footer logo URL (if any)

banner
string

Banner image URL (if any)

behavior
object

Behavior configuration of the status page

show_chatbox
boolean

Whether to show chatbox on status page or not

locale_picker
boolean

Whether to show a locale picker in header or not

refer_link
boolean

Whether to show a link to Crisp in the footer of the status page or not

forbid_indexing
boolean

Whether to forbid search engine indexing of all status page pages

include
object

Include configuration for the status page

html
string

Raw HTML include (if any)

metrics
object

Metrics configuration of the status page

poll
object

Poll metrics configuration

retry
number

Number of times to retry if a poll fails

delay_dead
number

Delay for a replica to be considered dead (in seconds)

delay_sick
number

Delay for a replica to be considered sick (in seconds)

push
object

Push metrics configuration

delay_dead
number

Delay for a replica to be considered dead (in seconds)

system_cpu_sick_above
number

System CPU load above which to consider a replica sick (from 0.01 to 10.00)

system_ram_sick_above
number

System RAM load above which to consider a replica sick (from 0.01 to 1.00)

local
object

Local metrics configuration

retry
number

Number of times to retry if a local check fails

delay_dead
number

Delay for a replica to be considered dead (in seconds)

delay_sick
number

Delay for a replica to be considered sick (in seconds)

notify
object

Notify configuration of the status page

slack
object

Slack notification configuration (if any)

hook_url
string

Slack Hook URL to send downtime Slack notifications to

mention_channel
boolean

Whether to mention all Slack channel members or not

email
object

Email notification configuration (if any)

to
string

Email address to send downtime email notifications to

app
object

App notification configuration (if any)

user_ids
array[string]

User identifiers to send downtime app push notifications to

pushover
object

Pushover notification configuration (if any)

token
string

Pushover application token to use for downtime notifications

users
array[string]

Pushover users or groups to send downtime Pushover notifications to

  • GEThttps://api.crisp.chat/v1/website/website_id/status/settings
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Save Status Page Settings

PATCH
/v1/website/{website_id}/status/settings

Saves settings for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
name
stringOptional

Name of the status page

appearance
objectOptional

Appearance configuration of the status page

logos
objectOptional

Logos of the status page

header
stringOptional

Header logo URL (if any)

footer
stringOptional

Footer logo URL (if any)

banner
stringOptional

Banner image URL (if any)

behavior
objectOptional

Behavior configuration of the status page

show_chatbox
booleanOptional

Whether to show chatbox on status page or not

locale_picker
booleanOptional

Whether to show a locale picker in header or not

refer_link
booleanOptional

Whether to show a link to Crisp in the footer of the status page or not

forbid_indexing
booleanOptional

Whether to forbid search engine indexing of all status page pages

include
objectOptional

Include configuration for the status page

html
stringOptional

Raw HTML include (if any)

metrics
objectOptional

Metrics configuration of the status page

poll
objectOptional

Poll metrics configuration

retry
numberOptional

Number of times to retry if a poll fails

delay_dead
numberOptional

Delay for a replica to be considered dead (in seconds)

delay_sick
numberOptional

Delay for a replica to be considered sick (in seconds)

push
objectOptional

Push metrics configuration

delay_dead
numberOptional

Delay for a replica to be considered dead (in seconds)

system_cpu_sick_above
numberOptional

System CPU load above which to consider a replica sick (from 0.01 to 10.00)

system_ram_sick_above
numberOptional

System RAM load above which to consider a replica sick (from 0.01 to 1.00)

local
objectOptional

Local metrics configuration

retry
numberOptional

Number of times to retry if a local check fails

delay_dead
numberOptional

Delay for a replica to be considered dead (in seconds)

delay_sick
numberOptional

Delay for a replica to be considered sick (in seconds)

notify
objectOptional

Notify configuration of the status page

slack
objectOptional

Slack notification configuration (if any)

hook_url
stringOptional

Slack Hook URL to send downtime notifications to

mention_channel
booleanOptional

Whether to mention all Slack channel members or not

email
objectOptional

Email notification configuration (if any)

to
stringOptional

Email address to send downtime notifications to

app
objectOptional

App notification configuration (if any)

user_ids
array[string]Optional

User identifiers to send downtime app push notifications to

pushover
objectOptional

Pushover notification configuration (if any)

token
stringOptional

Pushover application token to use for downtime notifications

users
array[string]Optional

Pushover users or groups to send downtime Pushover notifications to

  • PATCHhttps://api.crisp.chat/v1/website/website_id/status/settings
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Status Page Domain

GET
/v1/website/{website_id}/status/domain

Resolves domain for status page in website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
root
string

Root domain for all status pages

basic
string

Basic domain (subdomain of provided root domain)

custom
string

Custom domain (fully qualified domain, if any)

verified
boolean

Whether in-use domain could lastly be verified or not (domain is re-validated periodically)

  • GEThttps://api.crisp.chat/v1/website/website_id/status/domain
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Request Status Page Domain Change

PATCH
/v1/website/{website_id}/status/domain

Requests a change in the domain used for status page. The change will be propagated once all setup steps are fulfilled (see the setup route).

The domain validation result is sent back asynchronously on the RTM Events channel, using either event namespace website:validate:domain:valid or website:validate:domain:invalid (if the custom domain was changed and thus requires validation).

URI Parameters
website_id
stringRequired

The website identifier

Request Body
basic
stringOptional

Basic domain (subdomain of crisp.watch)

custom
stringOptional

Custom domain (fully qualified domain, can be blank)

  • PATCHhttps://api.crisp.chat/v1/website/website_id/status/domain
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Generate Status Page Domain Setup Flow

GET
/v1/website/{website_id}/status/domain/setup{?custom}

Retrieves the domain setup flow for status page. This will return the DNS records required for status page domain setup.

URI Parameters
website_id
stringRequired

The website identifier

custom
stringOptional

Custom domain to use for setup

Response Data
error
boolean
reason
string
data
object
custom
string

Custom status page domain to return setup for

setup
object

Setup flow for custom status page domain

records
array[object]

DNS records for custom status page domain

type
enum[string]

DNS record type

Values

  • a
  • aaaa
  • cname
  • mx
  • txt
  • srv
query
enum[string]

DNS query type (ie. record valid for query type)

Values

  • a
  • aaaa
  • cname
  • mx
  • txt
  • srv
name
string

DNS record name

value
string

DNS record value

  • GEThttps://api.crisp.chat/v1/website/website_id/status/domain/setup
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Status Page Reporter Token

GET
/v1/website/{website_id}/status/reporter/token

Resolves status page reporter token, that can be used in Crisp Status Report libraries.

The returned token is secret, and should not be shared. It provides only restricted access to Crisp status reporting systems.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
token
string

Status page token

  • GEThttps://api.crisp.chat/v1/website/website_id/status/reporter/token
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Roll Status Page Reporter Token

POST
/v1/website/{website_id}/status/reporter/token

Rolls status page reporter token. This generates a new token. Previous token is be invalidated.

If rolling a token, all Crisp Status Report libraries using the previous token will be unable to report their status. The previous token should be updated accordingly with the new token, where used.

URI Parameters
website_id
stringRequired

The website identifier

  • POSThttps://api.crisp.chat/v1/website/website_id/status/reporter/token
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Connectin Website

Get Website Connect Endpoints

GET
/v1/website/{website_id}/connect/endpoints

Resolves the website endpoints information.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
socket
object

Socket endpoints

app
string

RTM API WebSocket endpoint URL

stream
string

Stream API WebSocket endpoint URL

  • GEThttps://api.crisp.chat/v1/website/website_id/connect/endpoints
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Singlein Limit

Get Limit Information

GET
/v1/limit/{limit_id}

Resolves limit information.

URI Parameters
limit_id
stringRequired

The limit identifier

Response Data
error
boolean
reason
string
data
object
id
string

Limit identifier

namespace
enum[string]

Limit namespace

Values

  • bucket:url
  • campaign:recipient
  • operator:invites
  • inbox:inboxes
  • translate:requests
  • translate:characters
  • predict:requests
  • predict:words
  • filter:conversations
  • filter:people
  • people:profiles
  • status:probes
unit
object

Limit unit details

chunk
number

Chunk size per unit (ie. number of limit entries per unit)

price
number

Price per unit (in platform-wide currency)

  • GEThttps://api.crisp.chat/v1/limit/limit_id
HTTP
Request
(loading)
Response
(loading)

Listin Limit

List Limits

GET
/v1/limits/list

Lists available limits.

Response Data
error
boolean
reason
string
data
array[object]
id
string

Limit identifier

namespace
enum[string]

Limit namespace

Values

  • bucket:url
  • campaign:recipient
  • operator:invites
  • inbox:inboxes
  • translate:requests
  • translate:characters
  • predict:requests
  • predict:words
  • filter:conversations
  • filter:people
  • people:profiles
  • status:probes
unit
object

Limit unit details

chunk
number

Chunk size per unit (ie. number of limit entries per unit)

price
number

Price per unit (in platform-wide currency)

  • GEThttps://api.crisp.chat/v1/limits/list
HTTP
Request
(loading)
Response
(loading)

Subscriptionin Limit

List All Active Limit Subscriptions

GET
/v1/limits/subscription

Lists all active limit subscriptions on all websites, linked to payment methods owned by the user, or from websites the user is member of.

Response Data
error
boolean
reason
string
data
array[object]
id
string

Limit identifier

namespace
enum[string]

Limit namespace

Values

  • bucket:url
  • campaign:recipient
  • operator:invites
  • inbox:inboxes
  • translate:requests
  • translate:characters
  • predict:requests
  • predict:words
  • filter:conversations
  • filter:people
  • people:profiles
  • status:probes
price
number

Limit price for all units (in platform-wide currency)

active
boolean

Whether the limit is active, or has been disabled (eg: due to failed renewal payment)

units
object

Limit units subscribed to

baseline
number

Number of baseline units (ie. units that are free of charge)

additional
number

Number of additional units (ie. units that are paid for)

website_id
string

Website identifier on which limit is active

card_id
string

Card identifier which is used to pay the limit subscription

  • GEThttps://api.crisp.chat/v1/limits/subscription
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

List Limit Subscriptions For A Website

GET
/v1/limits/subscription/{website_id}

Lists limit subscriptions for given website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
array[object]
id
string

Limit identifier

namespace
enum[string]

Limit namespace

Values

  • bucket:url
  • campaign:recipient
  • operator:invites
  • inbox:inboxes
  • translate:requests
  • translate:characters
  • predict:requests
  • predict:words
  • filter:conversations
  • filter:people
  • people:profiles
  • status:probes
price
number

Limit price for all units (in platform-wide currency)

active
boolean

Whether the limit is active, or has been disabled (eg: due to failed renewal payment)

units
object

Limit units subscribed to

baseline
number

Number of baseline units (ie. units that are free of charge)

additional
number

Number of additional units (ie. units that are paid for)

website_id
string

Website identifier on which limit is active

  • GEThttps://api.crisp.chat/v1/limits/subscription/website_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Limit Subscription Details

GET
/v1/limits/subscription/{website_id}/{limit_id}

Resolves details on a given subscription.

URI Parameters
website_id
stringRequired

The website identifier

limit_id
stringRequired

The limit identifier

Response Data
error
boolean
reason
string
data
object
id
string

Limit identifier

namespace
enum[string]

Limit namespace

Values

  • bucket:url
  • campaign:recipient
  • operator:invites
  • inbox:inboxes
  • translate:requests
  • translate:characters
  • predict:requests
  • predict:words
  • filter:conversations
  • filter:people
  • people:profiles
  • status:probes
price
number

Limit price for all units (in platform-wide currency)

active
boolean

Whether the limit is active, or has been disabled (eg: due to failed renewal payment)

units
object

Limit units subscribed to

baseline
number

Number of baseline units (ie. units that are free of charge)

additional
number

Number of additional units (ie. units that are paid for)

  • GEThttps://api.crisp.chat/v1/limits/subscription/website_id/limit_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Subscribe Website To Limit

POST
/v1/limits/subscription/{website_id}

Subscribes a given website to a given limit.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
limit_id
stringRequired

Limit identifier to subscribe to

units
objectRequired

Limit units to subscribe to

additional
numberRequired

Additional number of units to subscribe to

  • POSThttps://api.crisp.chat/v1/limits/subscription/website_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Unsubscribe Limit From Website

DELETE
/v1/limits/subscription/{website_id}/{limit_id}

Unsubscribes a given limit from a given website.

URI Parameters
website_id
stringRequired

The website identifier

limit_id
stringRequired

The limit identifier

  • DELETEhttps://api.crisp.chat/v1/limits/subscription/website_id/limit_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Billingin Limit

Resolve Total Billing Price For All Website Limits

GET
/v1/limits/billing/all/price

Resolves total billing price for all subscribed website limits.

Response Data
error
boolean
reason
string
data
object
total
number

Total price billed for all subscribed limits

  • GEThttps://api.crisp.chat/v1/limits/billing/all/price
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Singlein Plugin

Get Plugin Information

GET
/v1/plugin/{plugin_id}

Resolves plugin information.

URI Parameters
plugin_id
stringRequired

The plugin identifier (also allowed: plugin URN)

Response Data
error
boolean
reason
string
data
object
id
string

Plugin identifier

urn
string

Plugin Uniform Resource Name

type
enum[string]

Plugin type

Values

  • internal
  • external
name
string

Plugin name

category
enum[string]

Plugin category

Values

  • feature
  • automation
  • cms
  • crm
  • marketing
  • messaging
  • teamwork
  • other
summary
string

Plugin summary

price
number

Plugin price (in platform-wide currency)

plans
array[object]

Plans the plugin is included in (if part of a plan)

id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

icon
string

Plugin icon URL (if any)

website_url
string

Website for the plugin (if any)

contact_url
string

Contact address for the plugin (if any)

terms_url
string

Terms of use for the plugin (if any)

privacy_url
string

Privacy policy for the plugin (if any)

help_url
string

Help article for the plugin (if any)

video_url
string

Explanatory video for the plugin (if any)

configurable
boolean

Whether the plugin can be configured or not

since
string

Datetime since when the plugin is available

  • GEThttps://api.crisp.chat/v1/plugin/plugin_id
HTTP
Request
(loading)
Response
(loading)

Get Plugin Details

GET
/v1/plugin/{plugin_id}/details

Resolves plugin details.

URI Parameters
plugin_id
stringRequired

The plugin identifier (also allowed: plugin URN)

Response Data
error
boolean
reason
string
data
object
description
string

Plugin description

scopes
array[object]

Plugin scopes (if any)

namespace
enum[string]

Scope namespace

Values

  • bucket:url
  • website:availability
  • website:operators
  • website:settings
  • website:verify
  • website:visitors
  • website:conversation:initiate
  • website:conversation:sessions
  • website:conversation:suggest
  • website:conversation:messages
  • website:conversation:states
  • website:conversation:participants
  • website:conversation:pages
  • website:conversation:events
  • website:conversation:actions
  • website:conversation:browsing
  • website:conversation:calls
  • website:conversation:reminders
  • website:conversation:routing
  • website:people:statistics
  • website:people:suggest
  • website:people:profiles
  • website:people:conversations
  • website:people:events
  • website:people:data
  • website:people:subscriptions
  • website:helpdesk:identity
  • website:helpdesk:locales
  • website:helpdesk:articles
  • website:helpdesk:categories
  • website:helpdesk:feedbacks
  • website:helpdesk:redirections
  • website:helpdesk:settings
  • website:campaign:templates
  • plugin:subscription:bill
permissions
array[enum[string]]

Scope permissions

Values

  • read
  • write
author
object

Plugin author (can be blank)

first_name
string

Author first name

last_name
string

Author last name

business_name
string

Author business name (if any)

avatar
string

Author avatar (if any)

  • GEThttps://api.crisp.chat/v1/plugin/plugin_id/details
HTTP
Request
(loading)
Response
(loading)

List Plugin Features

GET
/v1/plugin/{plugin_id}/features/{page_number}

Lists all plugin features.

URI Parameters
plugin_id
stringRequired

The plugin identifier (also allowed: plugin URN)

page_number
stringOptional

The page number (paging in plugin feature list)

Response Data
error
boolean
reason
string
data
array[object]
title
string

Title for the feature (can be blank)

description
string

Description for the feature (can be blank)

screenshots
array[string]

List of screenshot URLs for the feature (can be empty)

videos
array[string]

List of video URLs for the feature (can be empty)

  • GEThttps://api.crisp.chat/v1/plugin/plugin_id/features/page_number
HTTP
Request
(loading)
Response
(loading)

Listin Plugin

List All Plugins

GET
/v1/plugins/list/all/{page_number}{?category}

Lists all available plugins on the marketplace.

URI Parameters
page_number
stringOptional

The page number (paging in plugin list)

category
stringOptional

The plugin category to restrict results to

Response Data
error
boolean
reason
string
data
array[object]
id
string

Plugin identifier

urn
string

Plugin Uniform Resource Name

type
enum[string]

Plugin type

Values

  • internal
  • external
name
string

Plugin name

category
enum[string]

Plugin category

Values

  • feature
  • automation
  • cms
  • crm
  • marketing
  • messaging
  • teamwork
  • other
summary
string

Plugin summary

price
number

Plugin price (in platform-wide currency)

plans
array[object]

Plans the plugin is included in (if part of a plan)

id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

icon
string

Plugin icon URL (if any)

website_url
string

Website for the plugin (if any)

contact_url
string

Contact address for the plugin (if any)

terms_url
string

Terms of use for the plugin (if any)

privacy_url
string

Privacy policy for the plugin (if any)

help_url
string

Help article for the plugin (if any)

video_url
string

Explanatory video for the plugin (if any)

configurable
boolean

Whether the plugin can be configured or not

since
string

Datetime since when the plugin is available

  • GEThttps://api.crisp.chat/v1/plugins/list/all/page_number
HTTP
Request
(loading)
Response
(loading)

Search Plugins

GET
/v1/plugins/list/search/{page_number}{?query}{&category}{&search_name}{&search_description}{&search_urn}{&filter_date_start}{&filter_date_end}

Searches for plugins in the marketplace, given a search term.

URI Parameters
page_number
stringOptional

The page number (paging in plugin list)

query
stringRequired

Search query in all plugins

category
stringOptional

The plugin category to restrict results to

search_name
stringOptional

Whether to search in plugin names (1 or 0, defaults to 1)

search_description
stringOptional

Whether to search in plugin descriptions (1 or 0, defaults to 1)

search_urn
stringOptional

Whether to search in plugin URNs (1 or 0, defaults to 1)

filter_date_start
stringOptional

When to start relative to plugin creation date (date, ISO 8601)

filter_date_end
stringOptional

When to end relative to plugin creation date (date, ISO 8601)

Response Data
error
boolean
reason
string
data
array[object]
id
string

Plugin identifier

urn
string

Plugin Uniform Resource Name

type
enum[string]

Plugin type

Values

  • internal
  • external
name
string

Plugin name

category
enum[string]

Plugin category

Values

  • feature
  • automation
  • cms
  • crm
  • marketing
  • messaging
  • teamwork
  • other
summary
string

Plugin summary

price
number

Plugin price (in platform-wide currency)

plans
array[object]

Plans the plugin is included in (if part of a plan)

id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

icon
string

Plugin icon URL (if any)

website_url
string

Website for the plugin (if any)

contact_url
string

Contact address for the plugin (if any)

terms_url
string

Terms of use for the plugin (if any)

privacy_url
string

Privacy policy for the plugin (if any)

help_url
string

Help article for the plugin (if any)

video_url
string

Explanatory video for the plugin (if any)

configurable
boolean

Whether the plugin can be configured or not

since
string

Datetime since when the plugin is available

  • GEThttps://api.crisp.chat/v1/plugins/list/search/page_number
HTTP
Request
(loading)
Response
(loading)

Categoriesin Plugin

List All Plugins Categories

GET
/v1/plugins/categories/{page_number}

Lists all plugin categories that can be used to filter plugins.

URI Parameters
page_number
stringOptional

The page number (paging in category list)

Response Data
error
boolean
reason
string
data
array[object]
category
enum[string]

Plugin category identifier

Values

  • feature
  • automation
  • cms
  • crm
  • marketing
  • messaging
  • teamwork
  • other
plugins
number

Number of plugins classified in this category

  • GEThttps://api.crisp.chat/v1/plugins/categories/page_number
HTTP
Request
(loading)
Response
(loading)

Widgetsin Plugin

List Plugin Widget Schemas For A Website

GET
/v1/plugins/widgets/{website_id}/schemas/{page_number}

Lists plugin widget schemas for given website.

URI Parameters
website_id
stringRequired

The website identifier

page_number
stringOptional

The page number (paging if many widgets)

Response Data
error
boolean
reason
string
data
array[object]
plugin_id
string

Plugin identifier

token
string

Plugin subscription secret token (used for authentication purposes on external widgets)

name
string

Widget name (typically, the plugin name)

icon
string

Widget icon (typically, the plugin icon)

schema
string

Widget schema (JSONSchema)

  • GEThttps://api.crisp.chat/v1/plugins/widgets/website_id/schemas/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Billingin Plugin

Resolve Total Billing Price For All Website Plugins

GET
/v1/plugins/billing/all/price

Resolves total billing price for all subscribed website plugins.

Response Data
error
boolean
reason
string
data
object
total
number

Total price billed for all subscribed plugins

  • GEThttps://api.crisp.chat/v1/plugins/billing/all/price
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Resolve Usage Bills For All Website Plugins

GET
/v1/plugins/billing/all/bill/usage/{page_number}

Acquires all non-settled (ie. open) usage bills for all subscribed website plugins.

URI Parameters
page_number
stringOptional

The page number (paging in list of bills)

Response Data
error
boolean
reason
string
data
array[object]
website_id
string

Website identifier

plugin_id
string

Plugin identifier

name
string

Name of the billable item

units
number

Total units consumed

price
number

Price to charge per unit

  • GEThttps://api.crisp.chat/v1/plugins/billing/all/bill/usage/page_number
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Singlein Plan

Get Plan Information

GET
/v1/plan/{plan_id}

Resolves plan information.

URI Parameters
plan_id
stringRequired

The plan identifier

Response Data
error
boolean
reason
string
data
object
id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

trial_days
number

Number of days the plan can be tried for free upon first subscription

since
string

Datetime since when the plan is available

plugins
array[object]
id
string

Plugin identifier

urn
string

Plugin Uniform Resource Name

type
enum[string]

Plugin type

Values

  • internal
  • external
name
string

Plugin name

category
enum[string]

Plugin category

Values

  • feature
  • automation
  • cms
  • crm
  • marketing
  • messaging
  • teamwork
  • other
summary
string

Plugin summary

price
number

Plugin price (in platform-wide currency)

icon
string

Plugin icon URL (if any)

website_url
string

Website for the plugin (if any)

contact_url
string

Contact address for the plugin (if any)

terms_url
string

Terms of use for the plugin (if any)

privacy_url
string

Privacy policy for the plugin (if any)

help_url
string

Help article for the plugin (if any)

video_url
string

Explanatory video for the plugin (if any)

configurable
boolean

Whether the plugin can be configured or not

since
string

Datetime since when the plugin is available

  • GEThttps://api.crisp.chat/v1/plan/plan_id
HTTP
Request
(loading)
Response
(loading)

Listin Plan

List Plans

GET
/v1/plans/list

Lists available plans.

Response Data
error
boolean
reason
string
data
array[object]
id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

trial_days
number

Number of days the plan can be tried for free upon first subscription

since
string

Datetime since when the plan is available

plugins
array[object]
id
string

Plugin identifier

urn
string

Plugin Uniform Resource Name

type
enum[string]

Plugin type

Values

  • internal
  • external
name
string

Plugin name

category
enum[string]

Plugin category

Values

  • feature
  • automation
  • cms
  • crm
  • marketing
  • messaging
  • teamwork
  • other
summary
string

Plugin summary

price
number

Plugin price (in platform-wide currency)

icon
string

Plugin icon URL (if any)

website_url
string

Website for the plugin (if any)

contact_url
string

Contact address for the plugin (if any)

terms_url
string

Terms of use for the plugin (if any)

privacy_url
string

Privacy policy for the plugin (if any)

help_url
string

Help article for the plugin (if any)

video_url
string

Explanatory video for the plugin (if any)

configurable
boolean

Whether the plugin can be configured or not

since
string

Datetime since when the plugin is available

  • GEThttps://api.crisp.chat/v1/plans/list
HTTP
Request
(loading)
Response
(loading)

Subscriptionin Plan

List All Active Plan Subscriptions

GET
/v1/plans/subscription

Lists all active plan subscriptions on all websites, linked to payment methods owned by the user, or from websites the user is member of.

Response Data
error
boolean
reason
string
data
array[object]
id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

trial_days
number

Number of days the plan can be tried for free upon first subscription

since
string

Datetime since when the plan is available

trial_end
string

Date when the plan trial ends, or ended (date after which the plan starts to be paid by the user)

bill_period
enum[string]

Bill period (how often the subscription is paid for)

Values

  • monthly
  • yearly
bill_valid_until
string

Date until which the bill is valid for subscription (date at which the subscription will be renewed, thus paid again)

active
boolean

Whether the plan is active, or has been disabled (eg: due to failed renewal payment)

sandbox
boolean

Whether the plan is in sandbox mode (sandbox mode is a restricted subscription mode used for development and staging websites)

website
object
id
string

Website identifier

name
string

Website name

domain
string

Website domain

logo
string

Website custom logo image URL (can be blank)

coupon_redeemed
boolean

Whether a coupon was redeemed on this plan or not

card_id
string

Card identifier which is used to pay the plan subscription

owner
object

Identity of the user responsible for the subscription (if any)

user_id
string

User identifier

email
string

User email

first_name
string

User first name

last_name
string

User last name

  • GEThttps://api.crisp.chat/v1/plans/subscription
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Get Plan Subscription For A Website

GET
/v1/plans/subscription/{website_id}

Resolves plan subscription for given website.

URI Parameters
website_id
stringRequired

The website identifier

Response Data
error
boolean
reason
string
data
object
id
string

Plan identifier

name
string

Plan name

price
number

Plan price (in platform-wide currency)

trial_days
number

Number of days the plan can be tried for free upon first subscription

since
string

Datetime since when the plan is available

trial_end
string

Date when the plan trial ends, or ended (date after which the plan starts to be paid by the user)

bill_period
enum[string]

Bill period (how often the subscription is paid for)

Values

  • monthly
  • yearly
bill_valid_until
string

Date until which the bill is valid for subscription (date at which the subscription will be renewed, thus paid again)

active
boolean

Whether the plan is active, or has been disabled (eg: due to failed renewal payment)

sandbox
boolean

Whether the plan is in sandbox mode (sandbox mode is a restricted subscription mode used for development and staging websites)

website
object
id
string

Website identifier

name
string

Website name

domain
string

Website domain

logo
string

Website custom logo image URL (can be blank)

coupon_redeemed
boolean

Whether a coupon was redeemed on this plan or not

card_id
string

Card identifier which is used to pay the plan subscription

owner
object

Identity of the user responsible for the subscription (if any)

user_id
string

User identifier

email
string

User email

first_name
string

User first name

last_name
string

User last name

  • GEThttps://api.crisp.chat/v1/plans/subscription/website_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Subscribe Website To Plan

POST
/v1/plans/subscription/{website_id}

Subscribes a given website to a given plan.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
plan_id
stringRequired

Plan identifier to subscribe to

  • POSThttps://api.crisp.chat/v1/plans/subscription/website_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Unsubscribe Plan From Website

DELETE
/v1/plans/subscription/{website_id}

Unsubscribes a given plan from a given website.

URI Parameters
website_id
stringRequired

The website identifier

  • DELETEhttps://api.crisp.chat/v1/plans/subscription/website_id
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Change Bill Period For Website Plan Subscription

PATCH
/v1/plans/subscription/{website_id}/bill/period

Changes how often the website subscription is paid for. The payment method will be debited at selected interval for the due amount.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
period
enum[string]Required

Bill period (how often the subscription is paid for)

Values

  • monthly
  • yearly
  • PATCHhttps://api.crisp.chat/v1/plans/subscription/website_id/bill/period
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Check Coupon Availability For Website Plan Subscription

GET
/v1/plans/subscription/{website_id}/coupon{?code}

Resolves a coupon for a website subscription. This helps check for coupon availability and returns information on the coupon.

URI Parameters
website_id
stringRequired

The website identifier

code
stringRequired

Coupon code

Response Data
error
boolean
reason
string
data
object
code
string

Coupon code

policy
object
rebate_percent
number

Rebate percentage on plan price (or none)

trial_days
number

Number of days of extended plan trial (or none)

redeem_limit
number

Number of times the coupon can be redeemed (or none)

expire_at
string

Coupon expiration date (or none)

  • GEThttps://api.crisp.chat/v1/plans/subscription/website_id/coupon
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Redeem Coupon For Website Plan Subscription

PATCH
/v1/plans/subscription/{website_id}/coupon

Redeems a coupon for a website subscription. This applies coupon rebates and upgrades immediately to the subscription.

URI Parameters
website_id
stringRequired

The website identifier

Request Body
code
stringRequired

Coupon code to redeem

  • PATCHhttps://api.crisp.chat/v1/plans/subscription/website_id/coupon
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)

Billingin Plan

Resolve Total Billing Price For All Website Plans

GET
/v1/plans/billing/all/price

Resolves total billing price for all subscribed website plans. Note that a website price will not be accounted for if its subscription is still ongoing a trial period, or if it is not active anymore.

Response Data
error
boolean
reason
string
data
object
total
number

Total price billed for all subscribed plans

  • GEThttps://api.crisp.chat/v1/plans/billing/all/price
  • Tiersuser
HTTP
Request
(loading)
Response
(loading)