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
string

Filtrar por número de teléfono exacto

type
string

Filtrar por tipo exacto de número bloqueado

Blocked_numbers collection

object
hydra: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

Fecha en la que se añadió la entidad al sistema por el usuario

integer
hydra:totalItems
integer
hydra:view
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
object
@type
string
hydra:template
string
hydra:variableRepresentation
string
hydra:mapping
Array<object>
object
@type
string
variable
string
property
string | null
required
boolean
Example
{
"hydra:member": [
{
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"number": "+1234567890",
"type": 1
}
],
"hydra:view": {
"@id": "string",
"@type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
}
}

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'