cURL
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" }
Create a blocklist entry.
Success
The response is of type object.
object