Skip to main content

How to create a follow up task type

This endpoint allows you to create a new follow-up task type for a dealer. Task types define the categories of follow-up tasks (e.g., "Declined Service", "No Show", "Missed Appointment").

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.

Request

HTTP request

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

Parameters

Required path parameters:

Parameter NameValueDescription
dealerUUIDstringUnique identifier for the dealer for which the follow up task type needs to be created

Authorization

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

Request Body

Property NameTypeDescription
taskNamestringName of the task type
taskDisplayNamestringName to be displayed on the app
taskDescriptionstringDescription of the task type

Sample Request

curl --location 'https://api.mykaarma.com/leads/followup/dealer/{dealerUUID}/task-type' \
--header 'accept: application/json' \
--header 'authorization: <your-credentials>' \
--header 'Content-Type: application/json' \
--data '{
"taskName": "Declined Service",
"taskDisplayName": "Declined Service",
"taskDescription": "Follow up for declined service recommendations"
}'

Response

{
"statusCode": 200,
"error": null,
"warnings": null,
"updateSuccessful": true
}

Response Fields

FieldTypeDescription
statusCodeintegerHTTP status code (200 for success)
errorobjectError details if the request failed
warningsarrayWarning messages if any
updateSuccessfulbooleanIndicates if the task type was created successfully