Overview
The Compatibility Profiles API allows you to manage compatibility profiles for users (travelers and guides) and their compatibility questionnaire answers. This system supports the matching algorithm that connects travelers with suitable guides based on their preferences and characteristics.Compatibility Profile Endpoints
Create Compatibility Profile
The ID of the user this profile belongs to
The role of the user. Possible values:
TRAVELER- For tourist/traveler profilesGUIDE- For guide profiles
Full name of the user
URL to the user’s profile image
Brief description or bio of the user
User’s email address
User’s date of birth in format YYYY-MM-DD
Country code for phone number (e.g., “+1”)
Phone number without country code
Phone number in E.164 format
Unique identifier for the compatibility profile
The ID of the user this profile belongs to
The role of the user (TRAVELER or GUIDE)
Full name of the user
URL to the user’s profile image
Brief description or bio of the user
User’s email address
User’s date of birth
Country code for phone number
Phone number without country code
Phone number in E.164 format
Timestamp when the profile was created
Timestamp when the profile was last updated
Get All Compatibility Profiles
Array of compatibility profile objects
Get Compatibility Profile by ID
The ID of the compatibility profile to retrieve
Update Compatibility Profile
The ID of the compatibility profile to update
Delete Compatibility Profile
The ID of the compatibility profile to delete
No content returned on successful deletion
Compatibility Answer Endpoints
Create Compatibility Answer
The ID of the compatibility profile this answer belongs to
Unique key identifying the question being answered
Text value for the answer (for text-based questions)
Numeric value for the answer (for numeric/rating questions)
JSON string for complex/multi-value answers
Unique identifier for the answer
The ID of the compatibility profile
Unique key identifying the question
Text value for the answer
Numeric value for the answer
JSON string for complex answers
Timestamp when the answer was created
Get All Compatibility Answers
Array of compatibility answer objects
Get Compatibility Answer by ID
The ID of the compatibility answer to retrieve
Update Compatibility Answer
The ID of the compatibility answer to update
Delete Compatibility Answer
The ID of the compatibility answer to delete
No content returned on successful deletion
Matching Logic
The compatibility system uses profiles and answers to:- Profile Matching: Match travelers with guides based on role-specific attributes
- Preference Alignment: Compare compatibility answers to find best matches
- Multi-format Responses: Support text, numeric, and JSON answer formats for flexible questionnaires
- Historical Tracking: Maintain creation timestamps for analytics and improvements