POST
/
blocklists
curl --request POST \
  --url https://api.loopreturns.com/api/v1/blocklists \
  --header 'Content-Type: application/json' \
  --header 'X-Authorization: <api-key>' \
  --data '{
  "value": "example@example.com",
  "type": "order",
  "secondary_value": "example.2@example.com"
}'
{
  "id": 1,
  "type": "order",
  "value": "example@example.com",
  "secondary_value": "example.2@example.com"
}

Authorizations

X-Authorization
string
header
required

Body

application/json

Response

200
application/json
Success

The response is of type object.