POST
/
api
/
v1
/
token
/
refresh
curl --request POST \
  --url https://integration-api.meshconnect.com/api/v1/token/refresh \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "refreshToken": "Secret refresh token",
  "type": "coinbase"
}'
{
  "content": {
    "status": "succeeded",
    "expiresInSeconds": 86400,
    "brokerAccountTokens": [
      {
        "accessToken": "New secret token",
        "refreshToken": "New secret refresh token"
      }
    ]
  },
  "status": "ok",
  "message": "",
  "errorType": ""
}

Authorizations

X-Client-Secret
string
header
required

Contact Mesh to get client Secret

X-Client-Id
string
header
required

Contact Mesh to get client Id

Body

application/json

Response

200
application/json

OK

The response is of type object.