---
title: "Get all blacklists"
method: GET
path: "/v4/blacklist"
tags: ["Blacklist"]
---

# Get all blacklists

`GET /v4/blacklist`

## Request

- Base URL: `https://api.inmobile.com`
- URL: `https://api.inmobile.com/v4/blacklist`
- Auth: one of:
  - HTTP basic
  - API key in query parameter `apikey`

This response is a paged result and will contain the property '_links.next'.
If there are more pages, the next page in the paged result will be provided here.

## Query parameters

- `pageLimit` integer

## Response `200`

A list of blacklists

- ApiPageModelOfBlacklistOutputApiModel
  - `entries` BlacklistOutputApiModel[]
    - `numberInfo` NumberInfo, required
      - `countryCode` string, required: The country code part of the number
      - `phoneNumber` string, required: The local phonenumber part of the number
    - `comment` string: A comment describing the specific blacklisting.
    - `id` string, guid: The id of the blacklist entry
    - `created` string: When the blacklist entry was created e.g. 2001-02-30T14:50:23Z (UTC time)
    - `reasonCode` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14: 1 = CustomerSpecificUnsubscription 2 = SharedUnsubscription 3 = CountryBanLaw 4 = AddWithUserInterface 5 = AddFromApi 6 = Custom 7 = AddFromCrm 8 = RecipientSyncRemoval 9 = Autoblacklist 10 = SpamLimit 11 = UnsubscribeForm 12 = CustomDomain 13 = Rcs 14 = WhatsApp
    - `reasonCodeDescription` string: Text version of the ReasonCode
  - `_links` ApiPageLinks
    - `next` string: The link to the next page, e.g. /Feature/Something/cAw2WeS3rdf
    - `isLastPage` boolean: true if this is the last page, false if there are more pages. NextPageUrl is always defined when this is false and never defined when it is true.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/inmobile/apis/inmobile-rest-api.md) · [All operations](https://skmtc.dev/inmobile/apis/inmobile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inmobile/apis/inmobile-rest-api/revisions/197a90ad5f8f?raw)
