The Fluid Company APIs provide a comprehensive set of APIs designed to integrate Fluid's powerful services into your applications seamlessly. These APIs use Company API tokens for authentication and provide full access to manage your company's resources including users, orders, products, media, and more.
For APIs that authenticate with User tokens, see the Rep APIs documentation.
Informative Catchup: This is the most common type of custom catchup. For instance, if the back office needs to share information with a user, they can use this API to create a catchup. An optional link can be included for further follow-up.
Action-Based Catchup: This type of custom catchup allows you to add an existing catchup action. For example, you might create a catchup for an affiliate to notify them about specific behavior from one of their contacts. This behavior might not be covered by our existing 26 catchup matrix.
Types of CatchUp Action Supported For Custom CatchUp
LinkRedirectionCatchUpAction: Use this action to redirect a user from the catchup card to a destination where other actions can be executed.
SendSmsCatchUpAction: Use this action to allow users to send an SMS message to a contact from within a catchup card.
ToDoCatchUpAction: Use this action to allow users to add a to-do item to their task list from within the catchup card.
Specific contact assigned to an affiliate should be provided to use the SendSmsCatchUpAction and ToDoCatchUpAction.
typestringrequired
Example: "custom_catch_up"
titlestringrequired
Example: "Talk to your favorite visitor."
headerstring
affiliate_idinteger(int32)required
Example: 1
actionsobject(CatchUpAction)required
Example: {"type":"LinkRedirectionCatchUpAction","action_prompt":"Craft a short friendly message to a visitor, visiting my site constantly and buying products."}
actions.typestringrequired
Example: "LinkRedirectionCatchUpAction"
actions.action_promptstringrequired
Example: "Craft a short friendly message to a visitor, visiting my site constantly and buying products."
Mock server https://docs.fluid.app/_mock/docs/apis/company.api/api/company/catch_up/custom_catch_ups
Production server with company subdomain https://myco.fluid.app/api/company/catch_up/custom_catch_ups
Local development server http://fluid.lvh.me:3000/api/company/catch_up/custom_catch_ups
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl-i-X POST \
https://docs.fluid.app/_mock/docs/apis/company.api/api/company/catch_up/custom_catch_ups \-H'Content-Type: application/json'\-d'{
"type": "custom_catch_up",
"title": "Update Your Bank Details",
"description": "Your credit card is going to expire on 24th December. Please update your details.",
"affiliate_id": 1,
"actions": {
"type": "LinkRedirectionCatchUpAction",
"data": {
"button_text": "View Back Office",
"redirect_to": "https://fluid.app/back_office"
}
}
}'
Social Media