Verify Authentication
affinity_whoamiVerify your API key authentication and retrieve current user, organization, and permission details to confirm access and capabilities.
Instructions
Verify authentication and get current user info, organization details, and API key permissions.
Use this to confirm your API key is working and see what you have access to.
Returns (JSON): { "user": { "id": number, // User ID "email": string, // Email address "name": string // Full name }, "tenant": { "id": number, // Organization ID "name": string, // Organization name "subdomain": string // Affinity subdomain }, "permissions": string[], // API permissions granted "summary": string // Human-readable summary }
Example usage:
Verify API key is valid and working
Check which organization you're connected to
See what permissions are available
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||