Authentication API

    6 endpoints

    Authentication and authorization.

    POST
    Auth Required

    Logout (clears bearerToken for future API calls).

    Logout (clears bearerToken for future API calls).

    Endpoint

    /admin/auth/requestJWT
    GET
    Auth Required

    Gets current account information for the logged in user.

    Gets current account information for the logged in user.

    Endpoint

    /public/auth/account
    POST
    Auth Required

    Login with email and password.

    Login with email and password.

    Endpoint

    /public/auth/login
    POST
    Auth Required

    Requests an admin JWT for the current user and a specific collection Returns JWT if valid.

    Requests an admin JWT for the current user and a specific collection Returns JWT if valid.

    Endpoint

    /public/auth/register
    POST
    Auth Required

    Requests an admin JWT for the current user and a specific collection Returns JWT if valid.

    Requests an admin JWT for the current user and a specific collection Returns JWT if valid.

    Endpoint

    /public/auth/requestJWT
    POST
    Auth Required

    Login with email and password.

    Login with email and password.

    Endpoint

    /public/auth/verify