This is our API
https://services.tochat.be/api/docs?ui=re_doc
Examples of different workflows:
- Create a widget with form. Deactivate it. Reactivate and recover the widget with its last configuration.
- Create a widget with click to chat. Pass it to form. Pass it to Click to Chat.
- Create a widget with bookings and get leads.
- Create a widget. Unsubscribe and see the error page that is generated.
- Create a widget. Change your phone number. See what happens to your resources.
- Create a widget with booking and disable it.
Way of use:
- First: Login using your user and pass to get the access token:
POST /api/authentication_token
This Bearer token has a lifetime limited and should be included in the header of all request. - Second: Use one of the following options in WhatsappOperator or Widget to interact with our API.
Examples of use:
- Create your first widget, step 1
POST /api/v2/widgets
- Create your fist widget, step 2
POST /api/v2/whatsapp_operators
Use the widget id obtain in the first stepYou can create more of one operator by widget.
- Create your first widget, step 1
POST /api/v2/widgets
- Create your fist widget, step 2
POST /api/v2/whatsapp_operators
Use the widget id obtain in the first stepYou can create more of one operator by widget.
0 - 0