curl --request GET \
--url https://api.gocobalt.io/api/v2/public/hosted-properties \
--header 'Authorization: Bearer {Session_token}'
{
"color": "#000000",
"bgColor": "#00FF23",
"name": "Abhishek Kumar"
}
This API returns the hosted properties saved against the session token
Request description
Unlike other API’s in this documentation, this API requires the Session token as a bearer token for authentication.
curl --request GET \
--url https://api.gocobalt.io/api/v2/public/hosted-properties \
--header 'Authorization: Bearer {Session_token}'
Response description
{
"color": "#000000",
"bgColor": "#00FF23",
"name": "Abhishek Kumar"
}