---
title: "Get entry by id"
method: GET
path: "/v4/blacklist/{blackListId}"
tags: ["Blacklist"]
---

# Get entry by id

`GET /v4/blacklist/{blackListId}`

## Request

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

## Path parameters

- `blackListId` string, guid, required

## Response `200`

A blacklist

- 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

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Not found
- `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)
