Skip to main content
POST
/
ramp
/
ws-api-token
Mint WebSocket token
curl --request POST \
  --url https://api.sand.etherfuse.com/ramp/ws-api-token \
  --header 'Authorization: <api-key>'
const options = {method: 'POST', headers: {Authorization: '<api-key>'}};

fetch('https://api.sand.etherfuse.com/ramp/ws-api-token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.sand.etherfuse.com/ramp/ws-api-token"

headers = {"Authorization": "<api-key>"}

response = requests.post(url, headers=headers)

print(response.text)
{
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

API key sent in the Authorization header.

Response

200 - application/json

A short-lived WebSocket auth token

token
string
required

Short-lived WebSocket auth token; org-scoped and user-less.