userportal-public

Userportal Signin

Sign in to userportal with email and password.

Creates a session token that can be used for authenticated actions like voting and commenting.

post/userportal/signin

Request

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

Headers

F1-Productstring

Request body

emailstring required

User's email address

passwordstring required

User's password

Example request

{
  "email": "user@example.com",
  "password": "password123"
}

Response

Successful Response

successboolean required

Whether authentication succeeded

session_tokenstring nullable

Session token for authenticated access

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,
  "user": {
    "authProvider": "email",
    "email": "user@example.com",
    "firstName": "John",
    "id": "contact_abc123",
    "lastName": "Doe"
  }
}

Changes

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