Complete reference for all Sports Buddies API endpoints
This reference provides comprehensive information about all available API endpoints, including request/response formats, authentication requirements, and usage examples.
All API endpoints are relative to: https://api.joinsportsbuddies.app
All endpoints require authentication. See our Authentication Guide for details.
Manage user accounts, profiles, and preferences.
Description: Get current user's profile information
Authentication: Required
Scopes: read
Description: Update current user's profile
Authentication: Required
Scopes: write
Description: Get public profile of another user
Authentication: Required
Scopes: read
Parameter | Type | Description |
---|---|---|
user_id | string | Unique identifier of the user |
Find compatible sports buddies using our advanced matching algorithm.
Description: Find potential sports buddies based on preferences
Authentication: Required
Scopes: matching
Description: Get personalized match recommendations
Authentication: Required
Scopes: matching
Parameter | Type | Required | Description |
---|---|---|---|
limit | integer | No | Number of recommendations (default: 20) |
offset | integer | No | Pagination offset (default: 0) |
Send and receive messages with other users.
Description: Send a message to another user
Authentication: Required
Scopes: write
Description: Get list of conversations
Authentication: Required
Scopes: read
Description: Get messages in a specific conversation
Authentication: Required
Scopes: read
Parameter | Type | Required | Description |
---|---|---|---|
limit | integer | No | Number of messages (default: 50) |
before | string | No | Get messages before this timestamp |
Create, manage, and join sports events and activities.
Description: Create a new sports event
Authentication: Required
Scopes: events
Description: Search for events based on criteria
Authentication: Required
Scopes: read
Parameter | Type | Required | Description |
---|---|---|---|
sport | string | No | Filter by sport type |
location | string | No | Search near this location |
date_from | string | No | Events from this date (ISO 8601) |
date_to | string | No | Events until this date (ISO 8601) |
Description: Join an event
Authentication: Required
Scopes: write
Access platform analytics and insights (Enterprise only).
Description: Get API usage statistics
Authentication: Required
Scopes: admin
Configure webhooks to receive real-time updates.
Description: Create a new webhook
Authentication: Required
Scopes: admin
All endpoints return consistent error responses:
Code | HTTP Status | Description |
---|---|---|
unauthorized | 401 | Invalid or expired authentication |
forbidden | 403 | Insufficient permissions |
not_found | 404 | Resource not found |
validation_error | 400 | Invalid request parameters |
rate_limit_exceeded | 429 | Too many requests |
API requests are subject to rate limiting to ensure fair usage:
Rate limit information is included in response headers:
X-RateLimit-Limit
: Requests allowed per hourX-RateLimit-Remaining
: Requests remaining in current hourX-RateLimit-Reset
: Time when limits reset (Unix timestamp)Need assistance with API endpoints?
Discover other helpful guides and resources to get the most out of Sports Buddies.
Learn the basics of Sports Buddies, create your profile, and make your first connection.
Master all the features and learn how to get the most out of Sports Buddies.
Learn about our PlaySafe™ features, verification process, and how we protect our community.
Understand our community guidelines, moderation policies, and how to be a great community member.
Technical documentation for developers, integrations, and API access.
Find answers to common questions and get help when you need it.
Read our terms of service, privacy policy, and other important legal documents.