Skip to main content

How to create a follow up for a customer

This endpoint allows you to create a follow-up task for a specific customer. Follow-ups are used to track and manage customer outreach tasks such as declined services, missed appointments, or other customer engagement activities.

To use this endpoint, you first need your credentials. If you don't already have one, please head over to the Authentication and Authorization page to see how you can request for credentials from us.

Need to find or create a customer first? See how to search and create a customer

Request

HTTP request

POST  https://api.mykaarma.com/leads/followup/dealer/{dealerUUID}/followup

Parameters

Required path parameters:

Parameter NameValueDescription
dealerUUIDstringUnique identifier for the dealer

Authorization

This request requires authorization. Include your credentials in the authorization header.

Request Body

Property NameTypeDescription
customerUUIDstringUnique identifier of the customer for whom the follow-up is being created
taskTypeUUIDstringUnique identifier of the task type
dealerDepartmentUUIDstringUnique identifier of the dealer's department
dueDatestringDue date of the task in UTC format (ISO 8601)
assigneeobject(Optional) Details of the user the task is assigned to
assignee.uuidstringUnique identifier of the assignee
assignee.fnamestringFirst name of the assignee
assignee.lnamestringLast name of the assignee

Sample Request

curl --location 'https://api.mykaarma.com/leads/followup/dealer/{dealerUUID}/followup' \
--header 'accept: application/json' \
--header 'authorization: <your-credentials>' \
--header 'Content-Type: application/json' \
--data '{
"customerUUID": "customer-uuid",
"taskTypeUUID": "task-type-uuid",
"dealerDepartmentUUID": "department-uuid",
"dueDate": "2024-05-30T18:29:59.000+00:00",
"assignee": {
"uuid": "user-uuid",
"fname": "John",
"lname": "Doe"
}
}'
Important

You will need the unique identifier for the customer for whom you are creating the follow-up. Please use the customer search endpoint to find the customer UUID.

Response

{
"statusCode": 200,
"error": null,
"warnings": null,
"followUpUUID": "follow-up-uuid"
}

Response Fields

FieldTypeDescription
statusCodeintegerHTTP status code (200 for success)
errorobjectError details if the request failed
warningsarrayWarning messages if any
followUpUUIDstringUnique identifier of the created follow-up