Ir al contenido

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

Phone number in international format

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

Filtrar por número de teléfono exacto

type

Blocked number’s type:

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

Filtrar por tipo exacto de número bloqueado

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": []
}
}

El ID de cliente o la clave API no están activos o no son válidos.

La cuenta no está activada. Espere o póngase en contacto con el servicio de asistencia.

La dirección IP fue bloqueada temporalmente, ya que durante poco tiempo se enviaron muchas solicitudes con credenciales no válidas. Espere y pruebe más tarde.

Code Samples

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