---
title: "validateToken"
method: GET
path: "/core/api/v1/public/validate-token"
tags: ["public-controller"]
---

# validateToken

`GET /core/api/v1/public/validate-token`

## Request

- Base URL: `https://api.freshlearn.com`
- URL: `https://api.freshlearn.com/core/api/v1/public/validate-token`
- Auth: none declared

## Query parameters

- `apiMessageData.requestor` string
- `apiMessageData.requestorType` string
- `apiMessageData.requestedURI` string
- `apiMessageData.requestedResource` string
- `apiMessageData.apiRequestType` 'CREATE' | 'UPDATE' | 'DELETE' | 'RETRIEVE' | 'LIST' | 'LOOKUP'
- `apiMessageData.domainName` string
- `domain.id` integer
- `domain.name` string
- `domain.disabled` boolean
- `domain.domainTitle` string
- `domain.createdTime` integer
- `domain.updatedTime` integer
- `domain.updatedBy` integer
- `userToken.id` integer
- `userToken.email` string
- `memberToken.id` integer
- `memberToken.firstName` string
- `apiReqLogEntity.id` integer
- `apiReqLogEntity.requestJson` string
- `apiReqLogEntity.eventType` 'MEMBER_CREATE' | 'MEMBER_ENROLL' | 'MEMBER_UPDATE' | 'MEMBER_DELETE' | 'MEMBER_UN_ENROLL' | 'MEMBER_GET_DATA' | 'MEMBER_GET_ENROLLMENTS' | 'MEMBER_GET_COMPLETED_COURSES' | 'COURSE_GET_STRUCTURE' | 'COURSE_COMPLETE_CHAPTERS' | 'API_LIST_MEMBERS' | 'API_GET_MEMBER' | 'API_LIST_ENROLLMENTS' | 'API_GET_ENROLLMENT' | 'API_LIST_COMPLETIONS' | 'API_LIST_PRODUCT_ENROLLMENTS' | 'API_GET_PRODUCT_ENROLLMENT' | 'API_LIST_PAYMENTS' | 'API_GET_PAYMENT' | 'API_LIST_ASSESSMENT_RESULTS' | 'API_HEALTH'
- `apiReqLogEntity.status` 'SUCCESS' | 'FAILED'
- `apiReqLogEntity.message` string
- `apiReqLogEntity.requestTime` integer
- `apiReqLogEntity.responseTime` integer
- `apiReqLogEntity.createdBy` string
- `user.subscription.id` integer
- `user.subscription.domainId` integer
- `user.subscription.planId` integer
- `user.subscription.startTime` integer
- `user.subscription.endTime` integer
- `user.subscription.createdTime` integer
- `user.subscription.updatedTime` integer
- `user.subscription.createdBy` string
- `user.subscription.updatedBy` string
- `user.subscription.active` boolean
- `user.subscription.freeTrial` boolean
- `user.subscription.subscriptionStatus` 'ACTIVE' | 'PAUSED' | 'CANCELLED' | 'DOWNGRADED_FREE'
- `user.id` integer
- `user.userName` string
- `user.firstName` string
- `user.lastName` string
- `user.imageUrl` string
- `user.password` string
- `user.email` string
- `user.phone` string
- `user.disabled` boolean
- `user.userType` 'ADMIN' | 'AUTHOR' | 'USER' | 'OTHER'
- `user.createdDate` integer
- `user.country` string
- `user.domainId` integer
- `user.designation` string
- `user.description` string
- `user.headline` string
- `user.currentPassword` string
- `user.apiKey` string
- `user.memberAppLink` string
- `user.emailVerificationStatus` 'NOT_VERIFIED' | 'VERIFIED' | 'BLOCKED' | 'EMAIL_SENT'
- `user.source` 'FRESHLEARN' | 'GOOGLE' | 'FACEBOOK' | 'APPLE' | 'MICROSOFT' | 'SLACK'
- `user.timeZone` string
- `user.userRoleId` integer
- `user.enableNotification` boolean
- `user.useSupportEmail` boolean
- `errors[0].errorCode` string
- `errors[0].errorMessage` string
- `errors[0].errorField` string
- `ipAddress` string
- `userAgent` string
- `referrer` string
- `country` string
- `city` string
- `state` string
- `countryCode` string
- `latitude` string
- `longitude` string
- `locationAccuracy` string
- `locationTimestamp` string
- `timezone` string
- `deviceType` 'MOBILE' | 'DESKTOP' | 'TABLET'
- `platform` 'ANDROID' | 'IOS' | 'WEB'
- `browser` string
- `operatingSystem` string
- `screenResolution` string
- `language` string
- `sessionId` string
- `browserFingerprint` string
- `locationConsent` boolean
- `eventType` 'MEMBER_CREATE' | 'MEMBER_ENROLL' | 'MEMBER_UPDATE' | 'MEMBER_DELETE' | 'MEMBER_UN_ENROLL' | 'MEMBER_GET_DATA' | 'MEMBER_GET_ENROLLMENTS' | 'MEMBER_GET_COMPLETED_COURSES' | 'COURSE_GET_STRUCTURE' | 'COURSE_COMPLETE_CHAPTERS' | 'API_LIST_MEMBERS' | 'API_GET_MEMBER' | 'API_LIST_ENROLLMENTS' | 'API_GET_ENROLLMENT' | 'API_LIST_COMPLETIONS' | 'API_LIST_PRODUCT_ENROLLMENTS' | 'API_GET_PRODUCT_ENROLLMENT' | 'API_LIST_PAYMENTS' | 'API_GET_PAYMENT' | 'API_LIST_ASSESSMENT_RESULTS' | 'API_HEALTH'
- `origin` string
- `authorizationHeader` string

## Headers

- `Authorization` string
- `domain` string
- `api-key` string

## Response `200`

OK

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/freshlearn/apis/freshlearn-api.md) · [All operations](https://skmtc.dev/freshlearn/apis/freshlearn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freshlearn/apis/freshlearn-api/revisions/8a82ee14b586?raw)
