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

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

Filter by exact phone number

type
string

Filter by exact blocked number’s type

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}$/
Example
+1234567890
type
required

Blocked number’s type:

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

Timestamp when the entity was added to the system by the user

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
Example
{
"@id": "string",
"@type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
}
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

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.