WhoAmI
As the name suggests, this endpoint allows you to retrieve your details. On this page, we'll dive into how you can retrieve your details programmatically and test if your API key is working.
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"
}