Skip to main content

Overview

PingBack’s API uses JWT (JSON Web Token) Bearer tokens to authenticate requests. You must include a valid token in the Authorization header of every request except for /auth/register and /auth/login.

Base URL

https://api.pingback.live

How to get a token

  1. Register a new account using POST /api/v1/auth/register.
  2. Log in with your credentials using POST /api/v1/auth/login. The response includes your access_token.

How to pass a token

Include the token in the Authorization header of every authenticated request:
Authorization: Bearer YOUR_ACCESS_TOKEN

Token lifetime

Tokens are long-lived. Store them securely and rotate them if you suspect a compromise.

Endpoints

EndpointDescription
POST /api/v1/auth/registerCreate a new PingBack user account
POST /api/v1/auth/loginAuthenticate and receive a Bearer token
GET /api/v1/auth/meRetrieve the authenticated user’s profile and business context
All API endpoints except /api/v1/auth/register and /api/v1/auth/login require a valid Bearer token in the Authorization header.