Skip to main content

Server API

Reference guide for the BitEscrow Server API.

EndpointDescription
/api/server/keysFetch the latest server pubkeys.
/api/server/policyFetch the policy of the server.
/api/server/statusFetch the status of the server.

Notice any mistakes, or something missing? Please let us know!
You can submit an issue here: Submit Issue


Get Server Keys

Fetch the latest server pubkeys in rotaion.

Request Format

method   : 'GET'
endpoint : '/api/keys'

Response Interface

interface ServerKeyResponse {
data : {
pubkeys : string[]
}
}

Get Server Policy

Fetch the policies and terms of the escrow server.

Related Interfaces:

Request Format

method   : 'GET'
endpoint : '/api/policy'

Response Interface

interface ServerPolicyResponse {
data : {
policy : ServerPolicy
}
}

Get Server Status

Fetch the current status of the server.

Request Format

method   : 'GET'
endpoint : '/api/status'

Response Interface

interface ServerStatusResponse {
data : {
status : string
}
}