Connections

Endpoints for managing connections

Get all connections

get

This endpoint retrieves all connections.

Authorizations
x-api-keystringRequired
Query parameters
sort-fieldstringOptional

The field to sort by (default updated_at).

sort-directionstringOptional

The direction to sort (ASC or DESC, default DESC).

page-sizeintegerOptional

The number of connections per page (default 20).

current-pageintegerOptional

The current page number (default 1).

item-countintegerOptional

The total number of items.

state-filterstringOptional

If provided, returns only connections with this state.

contact-idstringOptional

If provided, returns only connections for this contact_id.

Responses
200

A list of connections

application/json
get
/api/v1/connections

Get a connection by ID

get

This endpoint retrieves a connection by its id.

Authorizations
x-api-keystringRequired
Path parameters
connection_idstringRequired

The connection id of the connection to retrieve.

Responses
200

Connection record retrieved successfully

application/json
connection_idstringOptional
statestringOptional
my_didstringOptional
aliasstringOptional
request_idstringOptional
invitation_keystringOptional
invitation_msg_idstringOptional
invitation_modestringOptional
invitation_urlstringOptional
acceptstringOptional
initiatorstringOptional
their_rolestringOptional
their_didstringOptional
their_public_didstringOptional
their_labelstringOptional
routing_statestringOptional
inbound_connection_idstringOptional
error_msgstringOptional
contact_idstringOptional
transaction_rolestringOptional
wallet_idstringOptional
created_atstringOptional
updated_atstringOptional
get
/api/v1/connections/{connection_id}

Last updated

Was this helpful?