POST
/
getWebSocketsAuth
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/getWebSocketsAuth \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{}'
{
  "error": [],
  "result": {
    "token": "1Dwc4lzSwNWOAwkMdqhssNNFhs1ed606d1WcF3XfEMw",
    "expires": 900
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Body

application/json · object

The body is of type object.

Response

200 - application/json

The response is of type object.