PeerTalkID
Integration guide

Add “Sign in with PeerTalkID”

Configure the button, copy the snippet for your stack, and verify tokens on your backend. No API key or registration required.

Button preview

            

API reference

v2.0.0

The complete API documentation — endpoints, parameters, token format and security model — lives on the developer portal.

Open the full API docs

Base URL

https://id.peertalk.chat

Endpoints at a glance

MethodEndpointDescription
POST/auth/registerRegister a public key
POST/auth/challengeGet a one-time challenge to sign
POST/auth/loginLog in → returns access + refresh token
POST/auth/refreshRefresh the access token
POST/auth/logoutLog out the current session
POST/auth/logout-allLog out of all devices
POST/api/verifyVerify a token (public endpoint)
GET/api/userinfoUser info (OIDC)
GET/api/statusService health check
GET/.well-known/openid-configurationOIDC discovery

POST /api/verify

The main endpoint for your backend to verify a token:

// Request POST https://id.peertalk.chat/api/verify { "access_token": "eyJ..." } // Response { "valid": true, "sub": "uuid", "accountId": "uuid", "peertalkid_premium": false, "scope": "openid profile", "expires_in": 3597 }

Full documentation

Run requests against the live PeerTalkID API from your browser.

GET/api/status

Check whether the PeerTalkID service is running.

POST/api/verify
GET/.well-known/openid-configuration

OIDC discovery endpoint.

Install the SDK

Browser client, Node.js verification and React hooks in one package.

npm install https://id.peertalk.chat/sdk/peertalkid-js-1.0.0.tgz

Verify on your server

Never trust the client alone — send the access token to your backend and check it with POST /api/verify.

Need help?

Questions about integrating PeerTalkID? Write to support@peertalk.chat.