Skip to content

Creates an appointment

POST
/api/v1/appointments
curl --request POST \
--url https://dashboard.dealerstudio.com.au/api/v1/appointments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "leadId": 1, "dueDate": "example", "activityType": "example", "comments": "example", "user_id": 1 }'
Media type application/json
object
leadId
required
integer
dueDate
required
string
activityType
required
string
comments
required
string
user_id
integer
Example generated
{
"leadId": 1,
"dueDate": "example",
"activityType": "example",
"comments": "example",
"user_id": 1
}

Appointment created

Unauthorised for Invalid token

Lead not found

User not part of dealership