Przejdź do głównej zawartości

Pobiera kolekcję zablokowanych numerów telefonów

GET
/blocked_numbers

Pobiera kolekcję zablokowanych numerów telefonów z opcjonalnym filtrowaniem według numeru lub typu

number

Numer telefonu w formacie międzynarodowym

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

Filtrowanie według dokładnego numeru telefonu

type

Typ zablokowanego numeru:

  • 1 - zablokowany przez klienta
  • 2 - wyrejestrowany przez użytkownika
integer
Allowed values: 1 2

Filtrowanie według dokładnego typu zablokowanego numeru

Blocked_numbers collection

object
member
required
Array<object>

Blocked phone number - JSON-LD read representation

object
@id

Identyfikator JSON-LD

string
@type

Typ JSON-LD

string
@context
One of:
string
id
required

Unikalny identyfikator

integer
>= 1
number
required

Numer telefonu w formacie międzynarodowym

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

Typ zablokowanego numeru:

  • 1 - zablokowany przez klienta
  • 2 - wyrejestrowany przez użytkownika
integer
Allowed values: 1 2
added_at
required

Data i godzina dodania numeru do listy zablokowanych (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": []
}
}

Identyfikator klienta lub klucz API nie jest aktywny albo jest nieprawidłowy!

Konto nie jest aktywowane. Poczekaj lub skontaktuj się z pomocą techniczną!

Adres IP został tymczasowo zablokowany, ponieważ w krótkim czasie wysłano z niego wiele żądań z nieprawidłowymi danymi uwierzytelniającymi. Poczekaj i spróbuj ponownie później.

Code Samples

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