Articles on: Developers

How do I Create a Conversation Inside Crisp from a Form on a Website?

Nowadays, using a form to capture customer or lead data is common. Especially on pages like contact page or landing pages. The thing is, these forms are, most of the time, sending the information to an inbox that is not shared. Here is how you can centralize the form's data inside Crisp.

Making it easier for teams to answer and acknowledge customer or lead messages is one of the goals that Crisp is targeting. Through this article, we will show you the main steps to let you catch the form's data and send it as a conversation straight into your Crisp Inbox.

This tutorial is available on each plan, whether you're using the Basic, Pro, or Unlimited plan.

Here's what you need to succeed in this tutorial:

An API token to access our API
Knowledge of programming languages
A Website that uses forms

What are the API routes I should use to create a conversation inside Crisp?



There are 3 routes that you'll need to use at this stage to create a new conversation inside Crisp, that contains your form's data. Here they are:

RouteDocumentation
Create a conversationRead docs
Update the metasRead docs
Send a messageRead docs


Where can I find an example about it?



on our Github account, you'll be able to find a detailed example of how it should be done using PHP.

You can click here to get started:
https://github.com/crisp-im/php-crisp-api/blob/master/examples/create_conversation.php

Updated on: 13/03/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!