Skip to main content

List gateways

GET 

/lnp/gateways

JSON-RPC

lnp.gateways.search

Request​

Bodyrequired

    limitinteger

    Number of rows to return (for pagination).

    Default value: 20
    offsetinteger

    Number of rows to skip (for pagination).

    Default value: 0
    orderstring[]

    List of columns to order results by.

    Possible values: [credentials_id, -credentials_id, editable, -editable, id, -id, name, -name, title, -title]

    Default value: []
    idinteger

    Number portability gateway ID.

    namestring

    Name.

    editableboolean

    If True, include only gateways that can be edited.

Responses​

List of gateway objects.

Schema
  • Array [
  • object
  • ]

Authorization: X-Api-Key

name: X-Api-Keytype: apiKeyin: headerdescription: Token for API access
curl -L 'https://docs.jerasoft.net/lnp/gateways' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Api-Key: <X-Api-Key>'
Request Collapse all
Auth
Body required
{
  "limit": 20,
  "offset": 0,
  "order": [
    "credentials_id"
  ],
  "id": 0,
  "name": "string",
  "editable": true
}