This section will be expanded as developer resources become available. The information below serves as a structural preview of what to expect.
API overview
The Pals Club API provides programmatic access to core platform features. The API follows REST conventions and returns JSON responses.API endpoints described here are placeholders. Confirm availability and current specifications with the Pals Club team before building integrations.
Base URL (placeholder)
- Protocol: HTTPS only
- Format: JSON request and response bodies
- Versioning: URL-based (e.g.,
/v1/) - Documentation: OpenAPI specification will be published at
[API_DOCS_URL]
Authentication
All API requests require authentication. Pals Club supports the following methods:- API key
- OAuth 2.0
Include your API key in the API keys can be generated from the Developer settings page in your Pals Club dashboard. Each key is scoped to a specific set of permissions.
Authorization header:Rate limits
To protect platform stability, the API enforces rate limits on all endpoints.| Tier | Requests per minute | Burst limit |
|---|---|---|
| Free | 60 | 10 |
| Pro | 300 | 50 |
| Enterprise | Custom | Custom |
429 Too Many Requests response with a Retry-After header indicating how many seconds to wait before retrying.
Webhooks
Webhooks allow your application to receive real-time notifications when events occur in Pals Club.Register a webhook endpoint
Provide a publicly accessible HTTPS URL in the Developer settings page of your dashboard. Select the event types you want to subscribe to.
Verify webhook signatures
Each webhook request includes an
X-PalsClub-Signature header. Verify this signature using your webhook secret to confirm the request is authentic.Process events
Parse the JSON payload and handle the event type. Respond with a
200 status code within 10 seconds to acknowledge receipt.user.createduser.updatedconnection.acceptedpayment.completedsubscription.changed
SDKs and libraries
Official SDKs simplify integration by handling authentication, serialization, and error handling.| Language | Package | Status |
|---|---|---|
| JavaScript / TypeScript | @palsclub/sdk | [PLACEHOLDER] |
| Python | palsclub-python | [PLACEHOLDER] |
| Ruby | palsclub-ruby | [PLACEHOLDER] |
| Go | palsclub-go | [PLACEHOLDER] |
SDK availability is subject to change. Check the official repositories or contact the Pals Club team for the latest status.