Mark completed
POST
/api/v1/ext/appointments/{id}/complete
The appointment took place.
Auth: Bearer access_token
Scope: appointments.write
Can correct a "no_show". A cancelled appointment cannot be marked.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | Appointment id. |
Responses
| Status | When |
|---|---|
200 | OK |
400 | Appointment is cancelled |
401 | Missing or invalid token |
403 | Missing scope |
404 | Appointment does not exist or is not in a workspace of the installer |
RequestResponses
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/appointments/{id}/complete" \
-H "Authorization: Bearer <ACCESS_TOKEN>"OK
{
"success": true,
"message": "Marked as completed",
"data": {
"id": 700,
"status": "completed"
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
Appointment id.
Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/appointments/%7Bid%7D/complete
Previous
« Mark no-show
Next
List tasks »
