Skip to content

Retrieves the collection of blocked phone numbers

GET
/blocked_numbers

Retrieves the collection of blocked phone numbers with optional filtering by number or type

number
string

Filter by exact phone number

type
string

Filter by exact blocked number’s type

Blocked_numbers collection

object
member
required
Array<object>

Blocked phone number - JSON-LD read representation

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
id
required

Unique identifier

integer
>= 1
number
required

Phone number in international format

string
/^\+[0-9]{4,20}$/
type
required

Blocked number’s type:

  • 1 - blocked by customer
  • 2 - unsubscribed by user
integer
Allowed values: 1 2
added_at
required

Date and time when the number was added to the blocked list (ISO 8601)

string format: date-time
hydra:totalItems

Total number of items in the collection

integer
hydra:view

Pagination links for navigating the collection

object
@id
string format: iri-reference
@type
string
hydra:first
string format: iri-reference
hydra:last
string format: iri-reference
hydra:previous
string format: iri-reference
hydra:next
string format: iri-reference
hydra:search

Search and filtering template for the collection

object
@type
string
hydra:template
string
hydra:variableRepresentation
string
hydra:mapping
Array<object>
object
@type
string
variable
string
property
string | null
required
boolean
Examples
Example blocked_numbers_get_ld

Blocked numbers list (JSON-LD)

Example response for GET /blocked_numbers with Accept: application/ld+json

{
"member": [
{
"@id": "/blocked_numbers/1",
"@type": "BlockedNumber",
"id": 1,
"number": "+491701234567",
"type": 1,
"added_at": "2025-08-22T08:06:56+00:00"
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "/blocked_numbers?page=1",
"@type": "hydra:PartialCollectionView",
"hydra:first": "/blocked_numbers?page=1",
"hydra:last": "/blocked_numbers?page=1"
},
"hydra:search": {
"@type": "hydra:IriTemplate",
"hydra:template": "/blocked_numbers{?number,type}",
"hydra:variableRepresentation": "BasicRepresentation",
"hydra:mapping": []
}
}

Client ID or API key isn’t active or invalid!

Account isn’t activated. Please wait or contact to support!

IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.

Code Samples

#!/usr/bin/env bash
curl -X GET https://api.lox24.eu/blocked_numbers \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx'