ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiAuth

Get current user

GET
/api/v1/auth/me

Returns the authenticated user profile

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

User profile retrieved

response?unknownapplication/json
Example Request
curl -X GET 'http://localhost:3001/api/v1/auth/me'
Example Response200
{  "status": "success",  "statusCode": 200,  "message": "User profile retrieved successfully",  "data": {    "id": "123e4567-e89b-12d3-a456-426614174000",    "email": "john.doe@example.com"  },  "timestamp": "2026-01-31T10:00:00.000Z",  "path": "/api/v1/auth/me"}