WhoAmI
The WhoAmI API allows you to retrieve your account details and verify your API key in a single call. This is a useful endpoint for confirming your API integration and ensuring that your credentials are working correctly.
On this page, we'll walk you through how to use this endpoint to programmatically access your account information and test the validity of your API key.
GET/v1/whoami
Retrieve your details
This endpoint allows you to query your details.
Request
GET
/v1/whoamicurl --location 'https://api.1clickimpact.com/v1/whoami' \
--header 'x-api-key: {PRODUCTION API KEY}'
Response
{
"user_id": "U123",
"email": "my-email@email.com"
}