GET /me: check the key
Returns the workspace the key belongs to, the member it acts as, and what that member may do. The quickest way to test a key.
Returns the workspace the key belongs to, the member it acts as, and what that member may do. The quickest way to test a key.
| Method | Address | Needs |
|---|---|---|
| GET | /v1/api/me | any key |
Example request
curl "https://api.crm.thevisionsage.com/v1/api/me" \
-H "Authorization: Bearer vsa_YOUR_API_KEY"Example response
{
"success": true,
"data": {
"workspace": {
"name": "Acme Coaching",
"slug": "acme"
},
"actingAs": {
"name": "Asha Admin",
"email": "asha@example.com"
},
"permissions": [
"leads.view",
"leads.create",
"leads.update",
"…"
]
}
}Read next
Something missing or unclear? Tell us and we will fix this page.