GET
/
blocklists
curl --request GET \
  --url https://api.loopreturns.com/api/v1/blocklists \
  --header 'X-Authorization: <api-key>'
{
  "data": [
    {
      "id": 1,
      "type": "order",
      "value": "example@example.com",
      "secondary_value": "example.2@example.com"
    }
  ],
  "links": [
    {
      "url": "https://api.loopreturns.com/api/v1/blocklists?page=1",
      "label": 1,
      "active": true
    }
  ],
  "next_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=2",
  "current_page": 1,
  "from": 1,
  "first_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=1",
  "last_page": 2,
  "last_page_url": "https://api.loopreturns.com/api/v1/blocklists?page=2",
  "path": "https://api.loopreturns.com/api/v1/blocklists",
  "per_page": 15,
  "prev_page_url": "<string>",
  "to": 15,
  "total": 20
}

Authorizations

X-Authorization
string
header
required

Response

200
application/json
Success

The response is of type object.