userportal-public

Verify Roadmap Access

Verify access to a protected roadmap.

Supports:

  • Password verification: Provide 'password' field
  • Token verification: Provide 'access_token' field (or pass as URL param ?access=TOKEN)

Returns a session token to store in a cookie for subsequent requests.

post/userportal/protection/verify

Request

  • Base URL: https://api.feedback1.ai/api/v1
  • URL: https://api.feedback1.ai/api/v1/userportal/protection/verify
  • Auth: none declared

Headers

F1-Productstring

Request body

passwordstring nullable

Password for password-protected roadmaps

access_tokenstring nullable

Access token from URL parameter

Example request

{
  "password": "secret123"
}

Response

Successful Response

successboolean required

Whether access is granted

session_tokenstring nullable

Session token to store in cookie

expires_atstring date-time nullable

When the session expires

messagestring nullable

Error or info message

Example response

{
  "expires_at": "2024-01-01T12:00:00Z",
  "session_token": "sess_abc123...",
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.