Whoami
Get auth details (whoami)
Get the current auth details for used API key.
curl -X GET "https://example.com/v1/whoami"{
"type": "user",
"data": {
"id": "user_jksdfjlbdsif...",
"email": "test@test.com",
"display_name": "John Doe",
"full_name": "John Doe",
"workspace": {
"id": "ws_jksdfjlbdsif...",
"slug": "test-b43b773",
"name": "Test Workspace",
"user_role": "member"
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}