POST
/
label-requests
/
{id}
/
errors
curl --request POST \
  --url https://api.loopreturns.com/api/v1/label-requests/{id}/errors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reason": "INSUFFICIENT_FUNDS",
  "message": "Failed to generate a label, the origin address is invalid"
}'
{
  "reason": "INSUFFICIENT_FUNDS",
  "message": "Failed to generate a label, the origin address is invalid",
  "created_at": "2023-04-25T13:25:00-05:00"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer
required

The unique identifier for the label, created by Loop.

Examples:

67329889100573

Body

application/json

Response

200
application/json

OK

The response is of type object.