/token/api/v2/graphql
Using the response from the /token/role endpoint, use the value of the access_token field to construct a request to a single /token/api/v2/graphql endpoint through which you issue properly formed GraphQL queries and mutations to the Vertalo API.
Request:
curl --location --request POST 'https://sandbox.vertalo.com/token/api/v2/graphql' --header 'Authorization: Bearer <access_token>' --header 'Content-Type: application/json' --data-raw '{"query": "query {\n allAssets {\n nodes {\n name\n type\n status\n authorizedTotal\n}\n}\n}", "variables":{}}'
Response:
{
"data": {
"allAssets": {
"nodes": [{
"name": "Example Preferred Equity",
"type": "Preferred Equity",
"status": "active",
"authorizedTotal": "5000000"
}]
}
}
}