Skip to main content

Loft Callback URL

POST /public/webhooks/loft/callback

Description

Receive callbacks from the Loft service. This endpoint is used to process incoming webhook notifications from Loft related to order updates.

Parameters

  • No parameters required.

Request Body

  • Media Type: application/json

Example Value

{
"uuid": "string",
"status": "string",
"rider": {
"name": "string",
"phone_number": "string",
"id": "string"
},
"orderRef": "string",
"failureReason": "string",
"trackingCode": "string",
"estimatedDeliveryTime": "string"
}

Example

{
"status": true,
"statusCode": 0,
"message": "Request received successfully",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}

Media Type

application/json: The response is in JSON format.

Example Value

{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /public/webhooks/loft/callback \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!