Skip to main content
GET
/
connections
/
{username}
Get All Connections
curl --request GET \
  --url https://api.offlineprotocol.com/api/v1/connections/{username} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "connections": [
      {
        "id": "163cb292-1430-4247-9fd2-3f28658a365b",
        "peer": "goodie"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

username
string
required

The username whose connections to retrieve

Query Parameters

page
integer
limit
integer
reverse
boolean

Response

200 - application/json

Connections retrieved

data
object
I