Authorization header. You get this token by registering or logging in. PingBack also supports signing in with Google.
Register
Create a new account by sending your email address, full name, and a password. Passwords must be at least 8 characters.POST /api/v1/auth/register
Your email address. Must be a valid email format.
Your display name shown in the PingBack dashboard.
Must be at least 8 characters.
The JWT you’ll include in every subsequent request.
Always
"bearer".Log in
If you already have an account, exchange your email and password for a token.POST /api/v1/auth/login
The email address you registered with.
Your account password.
Authenticate requests
Pass your token in theAuthorization header on every protected API call:
Verify your token
CallGET /api/v1/auth/me to confirm your token is valid and to retrieve your user profile and workspace context.
GET /api/v1/auth/me
Your unique user identifier.
The email address on your account.
Your display name.
Whether your email address has been verified.
true if you signed in with Google OAuth.Your workspace details.
null if you haven’t created a workspace yet.true once you’ve created a workspace. Use this to gate onboarding UI.Your role in the workspace —
"owner" or a team member role. null if no workspace exists yet.Sign in with Google
PingBack supports Google OAuth as an alternative to email and password. Pass the Google ID token from your frontend OAuth flow to:POST /api/v1/auth/google
access_token to use as a Bearer token.
Error responses
| Status | Meaning |
|---|---|
401 Unauthorized | Token is missing, expired, or invalid. Check that you included the Authorization: Bearer header and that the token hasn’t expired. |
422 Unprocessable Entity | Request body failed validation. Check that email is a valid email address and password is at least 8 characters. |