Assistance
Contact Assistance
Mark an assistance request as contacted.
Authorization
default AuthorizationBearer <token>
You can retrieve your token by logging in.
In: header
Path Parameters
assistanceId*uuid
Header Parameters
X-API-Version*string
API contract version to target. See the Changelog for what changed in each version.
Default
"2.0.0"Value in
"2.3.0" | "2.2.0" | "2.1.0" | "2.0.0"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.flavours.sa/dev/api/v2/assistances/eea792a2-8956-4832-9d66-7a366351fe61/contact" \ -H "X-API-Version: 2.3.0"{
"meta": {
"code": 200,
"status": "success",
"message": "Contacted Successfully"
},
"data": {
"id": "c05c6628-6f85-4624-9249-f9393a827f3b",
"name": "Kailyn Daniel",
"phone_prefix": "20",
"phone_number": "7323754065",
"is_contacted": true,
"contacted_by": "d69ff6ed-bbf1-4653-8ca1-e89084f07364",
"contacted_at": 1787446681910,
"created_at": 1787446681125,
"updated_at": 1787446681892,
"responder": null
}
}{
"meta": {
"code": 401,
"status": "error",
"message": "Unauthenticated."
},
"data": null
}{
"meta": {
"code": 403,
"status": "error",
"message": "Unauthorized."
},
"data": null
}{
"meta": {
"code": 404,
"status": "error",
"message": "Resource not found."
},
"data": null
}{
"meta": {
"code": 500,
"status": "error",
"message": "Internal server error."
},
"data": null
}