Loading...
Loading...
Build amazing accountability experiences with our powerful REST API. Simple, flexible, and well-documented.
Get up and running in minutes with our simple SDK
// Install the SDK
npm install @podlink/sdk
// Initialize the client
import { PodLink } from '@podlink/sdk';
const client = new PodLink({
apiKey: 'your_api_key_here'
});
// Create a pod
const pod = await client.pods.create({
name: 'My Accountability Pod',
goals: ['fitness', 'productivity'],
maxMembers: 5
});
// Add a check-in
await client.checkIns.create({
podId: pod.id,
status: 'completed',
note: 'Finished my morning workout!'
});Secure your API requests with API keys. Get yours from your account dashboard.
Include your API key in the Authorization header of every request:
Authorization: Bearer your_api_key_hereNote: Keep your API keys secure. Never expose them in client-side code or public repositories.
/api/v1/podsList all pods
{ pods: [...], total: 10 }/api/v1/podsCreate a new pod
{ id, name, created_at, ... }/api/v1/pods/{id}Get pod details
{ id, name, members, goals, ... }/api/v1/check-insCreate a check-in
{ id, status, timestamp, ... }/api/v1/goalsList your goals
{ goals: [...], total: 5 }/api/v1/leaderboardGet leaderboard data
{ rankings: [...], your_rank: 42 }Use our officially maintained SDKs for your favorite language
Get your API key and start integrating accountability into your application.