menu
Get the current user
Returns the authenticated user’s own profile - the identity behind the presented token. Account context comes from /users/me/accounts.
Endpoint
GET https://api.sendstreak.com/v2/users/me
All v2 endpoints require a bearer token - see Authentication.
Response
The authenticated user.
{
"_id": "665f0a2b1c9d440012ab34cd",
"email": "[email protected]",
"name": "Example name"
}
Errors
| Status | Description |
|---|---|
401 | Missing or invalid token, or the token is not authorized for this account/user. |
See Errors and rate limits for what error responses look like.
Curl example
curl --location --request GET 'https://api.sendstreak.com/v2/users/me' \
--header 'Authorization: Bearer YOUR_API_TOKEN'