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.

MethodAddressNeeds
GET/v1/api/meany 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",
      "…"
    ]
  }
}

Something missing or unclear? Tell us and we will fix this page.