Skip to content

Send signal to peer

POST
/api/v1/host/{hostid}/signalpeer

Authorizations

Parameters

Path Parameters

hostid
required
string

Host ID

Request Body

Signal data

object
action
string
Allowed values: CONNECTION_NEGOTIATION RELAY_ME
from_host_id
string
from_host_pubkey
string
from_node_id
string
is_pro
boolean
reply
boolean
server
string
timestamp
integer
to_host_id
string
to_host_pubkey
string
to_node_id
string

Responses

200

OK

object
action
string
Allowed values: CONNECTION_NEGOTIATION RELAY_ME
from_host_id
string
from_host_pubkey
string
from_node_id
string
is_pro
boolean
reply
boolean
server
string
timestamp
integer
to_host_id
string
to_host_pubkey
string
to_node_id
string

400

Bad Request

object
code
integer
message
string