Introduction
The Kin Conecta API is a RESTful service that powers the social network connecting tourists with local guides. The API follows standard REST conventions and uses JSON for all request and response payloads.Base URL
The API is accessible at the following base URL:API Architecture
The Kin Conecta API is built using Spring Boot and follows a layered architecture:- Controllers: Handle HTTP requests and responses
- Services: Contain business logic
- Repositories: Manage data persistence
- DTOs: Data Transfer Objects for request/response mapping
- Models: Entity classes mapped to database tables
Technology Stack
- Java 21
- Spring Boot
- MySQL 8+
- JPA/Hibernate for ORM
HTTP Methods
The API uses standard HTTP methods to perform CRUD operations:| Method | Purpose | Example |
|---|---|---|
POST | Create new resources | Create a new user |
GET | Retrieve resources | Get user details |
PUT | Update existing resources | Update user profile |
DELETE | Remove resources | Delete a booking |
Request Format
Content Type
All requests that include a body must use theapplication/json content type:
Request Structure
Requests follow standard JSON formatting:Response Format
Success Responses
Successful responses return JSON data with appropriate HTTP status codes:200 OK- Successful GET, PUT requests201 Created- Successful POST requests204 No Content- Successful DELETE requests
Example Success Response
List Responses
Endpoints that return multiple resources use JSON arrays:For error responses, see the Errors page for complete documentation on error handling.
Common Patterns
Standard CRUD Endpoints
Most resources follow the same URL pattern:| Operation | Method | Endpoint |
|---|---|---|
| Create | POST | /api/{resource} |
| List All | GET | /api/{resource} |
| Get One | GET | /api/{resource}/{id} |
| Update | PUT | /api/{resource}/{id} |
| Delete | DELETE | /api/{resource}/{id} |
Composite Keys
Some resources use composite keys with multiple path parameters:Date and Time Format
The API uses ISO 8601 format for dates and timestamps:- Date:
YYYY-MM-DD(e.g.,"2026-03-11") - DateTime:
YYYY-MM-DDTHH:mm:ss(e.g.,"2026-03-11T10:30:00")
Enumerations
Many fields use predefined enumeration values:API Resources
The Kin Conecta API exposes 195 endpoints across 39 resource controllers, organized into the following categories:User Management
- Users
- Auth Sessions
- Languages
Profiles
- Tourist Profiles
- Guide Profiles
- Certifications
- Expertise Areas
Tours & Bookings
- Tours
- Destinations
- Tour Categories
- Trip Bookings
- Trip Status History
Matching & Favorites
- Compatibility Profiles
- Favorite Guides
- Favorite Tours
Communication
- Chat Messages
- Chat Threads
- Notifications
Reviews & Feedback
- Reviews
- Review Replies
Support & Help
- Support Tickets
- FAQ Categories
- FAQ Items
Contact
- Contact Messages
- Newsletter Subscriptions
Next Steps
Authentication
Learn how to authenticate API requests
Error Handling
Understand error responses and codes