Download OpenAPI specification:
Hayaa support three types of authentication method:
OAuth2 - an open protocol to allow secure authorization in a simple and standard method from web, mobile and desktop applications.
Sends a custom push notification to a specific device
| tokenDevice | string Firebase device token to send notification to |
| title | string Title of the notification |
| body | string Body content of the notification |
object |
{- "tokenDevice": "string",
- "title": "string",
- "body": "string",
- "data": {
- "route": "string",
- "message": "string"
}
}{- "status": "success"
}Allows admin to attach a role to a user.
| id required | integer >= 1 User ID to attach role to |
| role required | string (Role) Enum: "ustadz-master" "ustadz" Role to attach |
{- "id": 1,
- "role": "ustadz-master"
}{- "status": "success",
- "data": { }
}Add standalone subscription
| id required | integer >= 1 |
| status required | string (SubscriptionType) Enum: "premium" "plus" "gold" "platinum" SubscriptionType |
| duration_in_days required | number Enum: 7 30 180 360 Duration In Days Subscription Valid |
{- "id": 1,
- "status": "premium",
- "duration_in_days": 7
}{- "status": "success",
- "data": { }
}Add standalone boost
| id required | integer >= 1 |
| type required | string Enum: "hayaa_1_boost" "hayaa_5_boost" "hayaa_10_boost" |
{- "id": 1,
- "type": "hayaa_1_boost"
}{- "status": "success",
- "data": { }
}Verify User ID Card and Selfie
| id required | integer >= 1 User ID to verify to |
| status required | string Enum: "success" "rejected" Status to updated |
{- "id": 1,
- "status": "success"
}{- "status": "success",
- "data": { }
}Allows admin users to sign in to the dashboard.
| username | string Username of the admin user. |
| password | string Password of the admin user. |
{- "username": "string",
- "password": "string"
}{- "status": "success",
- "data": {
- "adminId": 0,
- "accessType": "owner",
- "username": "string",
- "secret": "string",
- "refresh": "string"
}
}Retrieve a list of system notifications configured in the system.
curl -X GET "https://api.production.hayaa.app/dashboard/notifications" \ -H "Authorization: Bearer your_token_here"
{- "status": "ok",
- "message": null,
- "data": {
- "notifications": [
- {
- "type": "broadcast",
- "code": "ads-reminder",
- "description": "notifikasi-ads",
- "language": "id",
- "message": "plus",
- "option": {
- "hour_run": 19,
- "date_diff": 1
}, - "route": "/taaruf-splash",
- "title": "Cobain Taaruf+ gratis, yuk kenalan calon pasangan kamu!",
- "body": "Aktifkan Taaruf+ gratis 1 Hari, klik bit.ly/freetaarufplus ya!"
}
]
}
}Fetches a list of users for the dashboard with various filtering and sorting options. The endpoint supports filtering by name, email, phone number, registration status, and subscription status. It also supports sorting by registration status and profile completion percentage.
| offset | integer >= 0 The number of items to skip before starting to collect the result set. |
| id | integer >= 1 Profile id to find |
| limit | integer >= 10 The number of items to return. |
| name | string Filter users by name. |
string Filter users by email. | |
| phone_number | string Filter users by phone number. |
| is_active | boolean Filter users by active status. |
| register_status | string Filter users by registration status. |
| order_register_status | string Enum: "asc" "desc" Sort users by registration status. |
| order_profile_percentage | string Enum: "asc" "desc" Sort users by profile completion percentage. |
| subscription_status | string Enum: "basic" "premium" Filter users by subscription status. |
| role | string (Role) Enum: "ustadz-master" "ustadz" |
curl -X GET "https://api.production.hayaa.app/dashboard/users?limit=10&offset=0" \ -H "Authorization: Bearer your_token_here"
{- "count": 0,
- "users": [
- {
- "id": 0,
- "type": "basic",
- "role": "ustadz-master",
- "is_active": true,
- "nickname": "string",
- "gender": "male",
- "profile_completion_percentage": 0,
- "register_process_status": "string",
- "register_process_updated_at": "2019-08-24T14:15:22Z",
- "verified": "waiting",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}Allows an admin to verify or reject a user's registration process. The admin must provide the user ID, desired status, and optionally a rejection message.
| user_id | integer The ID of the user to verify or reject. |
| status | string Enum: "partially_success" "rejected" The desired status for the user's registration process. |
| rejected_message | string The message explaining the reason for rejection, if applicable. |
{- "user_id": 0,
- "status": "partially_success",
- "rejected_message": "string"
}{- "status": "success",
- "message": "string"
}Deletes a user account from the dashboard. This action records the reason for deletion and soft-deletes the user's credential.
| id required | integer The ID of the user to delete |
| reason | string The reason for deleting the user |
{- "id": 0,
- "reason": "string"
}{- "status": "success"
}Retrieves comprehensive details about a user by their ID. This endpoint is intended for admin dashboard use.
| id required | integer The ID of the user to retrieve details for. |
curl -X GET "https://api.production.hayaa.app/dashboard/user/123" \ -H "Authorization: Bearer your_admin_token_here"
{- "status": "success",
- "data": {
- "id": 0,
- "nickname": "string",
- "gender": "string",
- "image_url": {
- "more": [
- "string"
], - "verified": "string",
- "profile_image": "string"
}, - "id_card": "string",
- "id_card_selfie": "string",
- "birthday": "string",
- "status": "string",
- "current_location": {
- "latitude": 0,
- "longitude": 0
}, - "cities": "string",
- "career": {
- "education": "string",
- "job_title": "string",
- "profession": "string"
}, - "lifestyle": {
- "sect": "string",
- "religiosity": "string"
}, - "additional_information": {
- "language": [
- "string"
], - "version": "string",
- "interest": [
- "string"
], - "is_mocked": true,
- "device_info": { },
- "enable_blur": true,
- "last_online": "string",
- "token_device": "string",
- "have_children": 0,
- "children": 0,
- "advertising_id": "string",
- "marital_status": "string",
- "phone_verified": true,
- "status_married": "string",
- "target_married": "string",
- "partner_criteria": "string",
- "last_seen_platform": "string",
- "deciption_my_profile": "string",
- "my_physical_deciption": "string",
- "my_financial_condition": "string",
- "physical_couple_deciption": "string",
- "height": 0,
- "weight": 0,
- "dependents": 0,
- "madzhab": "string",
- "favorite": "string",
- "unfavorite": "string",
- "huoseHold": "string",
- "my_negatif": "string",
- "my_positif": "string",
- "family_info": "string",
- "misi_married": "string",
- "visi_married": "string",
- "read_alquran": "string",
- "prayer_routine": "string",
- "sunnahRoutine": "string",
- "my_religion_info": "string",
- "question_for_partner": "string"
}, - "phone_number": "string",
- "email": "string",
- "language": "string",
- "chaperone": "string",
- "is_using_password": true,
- "subscription": {
- "type": "premium",
- "createdAt": "string",
- "expiredAt": "string"
}, - "register": {
- "process_status": "string",
- "rejected_message": "string",
- "wait_end_at": "string",
- "updated_at": "string",
- "is_updated_by_admin": true
}, - "active_state": {
- "is_active": true
}, - "device": {
- "id": "string",
- "count": 0,
- "is_blocked": true
}, - "advertising": {
- "id": "string",
- "count": 0
}, - "taaruf": {
- "is_taaruf": true,
- "post_leave_option": { },
- "departed_members": [ ],
- "room": null
}, - "token": "string"
}
}Allows admin to attach a role to a user.
| id required | integer >= 1 User ID to attach role to |
| role required | string (Role) Enum: "ustadz-master" "ustadz" Role to attach |
{- "id": 1,
- "role": "ustadz-master"
}{- "status": "success",
- "data": { }
}Allows users to register either manually with an email, phone number OTP, or Google OAuth.
string non-empty | |
| otpCode | string or null |
| password | string non-empty |
object or null |
{- "oauthToken": "string",
- "session": {
- "deviceID": "string",
- "deviceType": "WEB",
- "firebaseToken": "string",
- "appVersion": "string",
- "advertisingID": "string",
- "language": "en"
}
}{- "status": "ok",
- "data": {
- "id": 123,
- "registrationLogs": [
- {
- "status": "register",
- "rejectedMessage": null,
- "waitEndAt": "2025-01-03T11:16:36.578Z",
- "successAt": "2025-01-03T11:16:36.578Z",
- "createdAt": "2025-01-01T11:16:36.580Z"
}
], - "phoneNumber": "6287502972812",
- "secret": "jwt-secret-token",
- "newOtp": false,
- "refresh": "jwt-refresh-token"
}
}Convert old token from old app to support new token.
| oldToken | string non-empty |
object |
{- "oldToken": "string",
- "session": {
- "deviceID": "string",
- "deviceType": "WEB",
- "firebaseToken": "string",
- "appVersion": "string",
- "advertisingID": "string",
- "language": "en"
}
}{- "status": "success",
- "data": {
- "id": 0,
- "role": "ustadz-master",
- "newOtp": true,
- "phoneNumber": "string",
- "email": "string",
- "secret": "string",
- "refresh": "string",
- "registrationLogs": [
- {
- "status": "register",
- "rejectedMessage": "string",
- "waitEndAt": "2019-08-24T14:15:22Z",
- "successAt": "2019-08-24T14:15:22Z"
}
]
}
}Sends an OTP code to the user's email for password reset.
string <email> The email address to send the OTP code to. |
{- "email": "user@example.com"
}{- "status": "success",
- "data": null
}Updates the user's password using the provided OTP code. This endpoint requires a valid OTP code sent to the user's email and the new password to be set.
string non-empty | |
| otpCode | string >= 4 characters The OTP code sent to the user's email for verification. |
| newPassword | string non-empty The new password to be set for the user. |
{- "email": "string",
- "otpCode": "string",
- "newPassword": "string"
}{- "status": "success",
- "data": null
}Updates the session data for the user.
| deviceID | string or null Unique identifier for the device. |
| deviceType | string or null Enum: "WEB" "ANDROID" "IOS" Type of the device. |
| firebaseToken | string or null Firebase token for push notifications. |
| appVersion | string or null Version of the application. |
| advertisingID | string or null Advertising identifier for tracking. |
| language | string or null Preferred language of the user. |
object or null |
{- "deviceID": "string",
- "deviceType": "WEB",
- "firebaseToken": "string",
- "appVersion": "string",
- "advertisingID": "string",
- "language": "string",
- "location": {
- "isMock": true,
- "city": "string",
- "countryCode": "string",
- "latitude": 0.1,
- "longitude": 0.1
}
}{- "status": "success",
- "data": {
- "deviceID": "string",
- "deviceType": "WEB",
- "firebaseToken": "string",
- "appVersion": "string",
- "advertisingID": "string",
- "language": "string",
- "location": {
- "isMock": true,
- "city": "string",
- "countryCode": "string",
- "latitude": 0.1,
- "longitude": 0.1
}
}
}Allows users to update their profile information, referral code, and background information.
| nickname | string or null >= 2 characters |
| birthday | string or null <date-time> |
| gender | string or null Enum: "male" "female" |
| referral | string or null non-empty |
| bio | string or null |
| birthPlace | string or null |
| enableBlur | boolean or null |
object (Backgrounds) |
{- "nickname": "string",
- "birthday": "2019-08-24T14:15:22Z",
- "gender": "male",
- "referral": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}{- "status": "success",
- "data": {
- "nickname": "string",
- "birthday": "2019-08-24T14:15:22Z",
- "gender": "male",
- "referral": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}, - "registrationLogs": [
- {
- "status": "register",
- "rejectedMessage": "string",
- "waitEndAt": "2019-08-24T14:15:22Z",
- "successAt": "2019-08-24T14:15:22Z"
}
]
}
}curl -X GET "https://api.production.hayaa.app/profile" \ -H "Authorization: Bearer your_token_here" \ -H "Content-Type: application/json"
{- "status": "success",
- "data": {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "role": "ustadz-master",
- "credential": {
- "email": "string",
- "phoneNumber": "string"
}, - "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}, - "registrationLogs": [
- {
- "status": "register",
- "rejectedMessage": "string",
- "waitEndAt": "2019-08-24T14:15:22Z",
- "successAt": "2019-08-24T14:15:22Z"
}
], - "activeSubscription": {
- "type": "premium",
- "expiredAt": "2019-08-24T14:15:22Z"
}, - "powerUp": {
- "availableBoost": 0,
- "active": {
- "type": "boost",
- "expiredAt": "2019-08-24T14:15:22Z"
}
}
}
}Move registration from partially_success to success
curl -X GET "https://api.production.hayaa.app/profile/success" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": { }
}Allows an authenticated user to reorder their profile cover images.
| newOrderURLs required | Array of strings <uri> [ 1 .. 6 ] items [ items <uri > ] An array of image URLs in the desired new order. |
{
}{- "status": "success",
- "data": { }
}Retrieves the profile information of the partner.
| partner-id required | integer The ID of the partner. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for partner profile |
curl -X GET "https://api.production.hayaa.app/profile/2506" \ -H "Authorization: Bearer your_token_here" -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6"
{- "status": "success",
- "data": {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
}Allows users to update their background information.
| backgroundType required | string Enum: "mariageStatus" "targetMariage" "sect" "spokeLanguages" "educationLevel" "profession" "currentChildren" "selfDescribe" "physicalDescription" "partnerCriteria" "financialSituation" "faith" "interest" "familyInformation" "religiousRoutine" "dependents" "familyMadzhab" "quranReadingRoutine" "prayerRoutine" "selfWeakness" "selfStrengths" "selfThinkLikes" "selfThinkDislikes" "partnerPhysicalPreference" "partnerKeyValue" "height" "weight" "desiredChildren" "marriageMission" "marriageVision" "lifeAfterMariage" "sunnahRoutine" |
required | string or number or spokeLanguages (any) or object |
[- {
- "backgroundType": "mariageStatus",
- "value": "single"
}
]{- "status": "success",
- "data": [
- {
- "backgroundType": "mariageStatus",
- "value": "single"
}
]
}Allows users to upload a cover, identity, face verification, selfie, driver license, passport, introduction video, and marriage certificate photos.
| cover | string <binary> |
| identity | string <binary> |
| faceVerification | string <binary> |
| selfie | string <binary> |
| driverLicense | string <binary> |
| passport | string <binary> |
| marriageCertificate | string <binary> |
| introductionVideo | string <binary> |
curl -X POST https://api.production.hayaa.app/profile/image \ -H "Authorization: Bearer your_token_here" \ -H "Content-Type: multipart/form-data" \ -F "cover=@/path/to/your/cover.jpg"
{- "status": "success",
}Allows users to delete one or more profile images by their Source URLs.
| sourceURLs | Array of strings <uri> [ items <uri > ] |
{
}{- "status": "success",
- "data": null
}Allows users to delete their profile.
| category | string Enum: "found-a-partner" "pause-momentarily" "dislike-application" "something-not-working" "other" Reason for deleting the profile. |
| reason | string or null Additional details for the reason. |
{- "category": "found-a-partner",
- "reason": "string"
}{- "status": "success",
- "data": null
}curl -X GET "https://api.production.hayaa.app/profile" \ -H "Authorization: Bearer your_token_here" \ -H "Content-Type: application/json"
{- "status": "success",
- "data": {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "role": "ustadz-master",
- "credential": {
- "email": "string",
- "phoneNumber": "string"
}, - "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}, - "registrationLogs": [
- {
- "status": "register",
- "rejectedMessage": "string",
- "waitEndAt": "2019-08-24T14:15:22Z",
- "successAt": "2019-08-24T14:15:22Z"
}
], - "activeSubscription": {
- "type": "premium",
- "expiredAt": "2019-08-24T14:15:22Z"
}, - "powerUp": {
- "availableBoost": 0,
- "active": {
- "type": "boost",
- "expiredAt": "2019-08-24T14:15:22Z"
}
}
}
}Allows a user to swipe left on a partner, indicating disinterest.
| partner-id required | integer The ID of the partner to swipe left on. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/swipe-left" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6" \
{- "status": "success",
- "data": null
}Allows a user to swipe right on a partner, indicating interest.
| partner-id required | integer The ID of the partner to swipe right on. |
| superlike | string Default: "false" Enum: "true" "false" Use superlike powerup |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/swipe-right" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6" \
{- "status": "success",
- "data": {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
}Allows a user to rewind their last swipe action.
curl -X DELETE "https://api.production.hayaa.app/relation/rewind" \ -H "Authorization: Bearer your_token_here" \
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Get all relations who matched, but no created channel yet.
curl "https://api.production.hayaa.app/relation/matches" \ -H "Authorization: Bearer your_token_here" \
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Retrieve a list of profiles that you may like.
curl -X GET "https://api.production.hayaa.app/discover/you-may-like" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}API to get channels after match.
| sortBy | string Enum: "recent" "unread" "nearby" |
| channelType | string Enum: "regular" "ustadz" "taaruf" |
| channelID | number |
| offset | number |
curl https://api.production.hayaa.app/chat \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "type": "regular",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastMessage": "string",
- "lastMessageCreatedAt": "2019-08-24T14:15:22Z",
- "lastSenderID": 0,
- "unreadCount": 0,
- "partner": {
- "id": 0,
- "name": "string",
- "image": "string",
- "inTaaruf": true,
- "signature": "string",
- "lastOnline": "2019-08-24T14:15:22Z",
- "enableBlur": true,
- "hasLeft": true,
- "isDeactivated": true,
- "channelLastSeenAt": "2019-08-24T14:15:22Z"
}, - "companions": [
- { }
]
}
]
}API to get channel messages
| channel-id required | number |
| limit | number |
| lastID | number |
curl -X GET "https://api.production.hayaa.app/chat/200/message" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "channelID": 0,
- "author": {
- "id": 0,
- "name": "string",
- "image": "string",
- "role": "system"
}, - "text": "string",
- "images": [
- "string"
], - "confirmationID": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}Update filter search of user
| distanceMax | integer or null Maximum distance in kilometers for matches. |
object or null | |
| hasCompanion | boolean or null Indicates if the user has a companion. |
| marriedReadiness | string or null Enum: "later" "soon" User's preference on when to marry. |
| religionLevel | Array of strings or null or null (Faith) Enum: "other" "moderate" "devout" "very-devout" "practical" "seeking-improvement" "uncertain" "religious-social" User's level of religious observance. |
| education | Array of strings or null (Education) Enum: "sd" "smp" "sma" "d3" "s1" "s2" "s3" "dropout" "non-formal" "other" List of educational qualifications. |
| maritalStatus | Array of strings or null Enum: "single" "marriage" "living-divorce" "widowed" User's marital status. |
| sect | Array of strings or null Enum: "sunni" "nahdlatul-ulama" "muhammadiyah" "ahmadiyah" "salafi" "syiah" "other" User's sect. |
| hasAChild | boolean or null Indicates if the user has children. |
| interests | Array of strings or null (Interest) Enum: "ashura" "arbaeen" "charity" "completed-hajj" "completed-umrah" "hafith" "khatam" "islamic-events" "islamic-lectures" "islamic-studies" "masjid-regularly" "mawlid" "muharram" "reading-quran" "dua-for-others" "fasting" "pengajian" "yasin" "tajwid-learning" "fiqh-learning" "basketball" "badminton" "baseball" "bouldering" "bowling" "boxing" "cricket" "cycling" "golf" "football" "gym" "hiking" "hokey" "horse-riding" "kayaking" "martial-arts" "netball" "motorbiking" "scuba-diving" "snowboarding" "soccer" "softball" "squash" "tennis" "volley" "padel" "boba-tea" "coffee" "pizza" "cooking" "chocolate" "eating-out" "fish-and-chips" "sushi" "vegetarian" "cake" "meatlover" "pescatarian" "vegan" "plant-based" "healthy-food" "art-galleries" "acting" "creative-writing" "design" "board-games" "film-and-cinema" "painting" "photography" "theatre" "live-music" "standup-comedy" "reading" "music" "anime" "tv-show" "video-games" "roblox" "online-gaming" "coding" "tech" "blogging" "content-creation" "live-streaming" "digital-art" "animation" "meditation" "pilates" "yoga" "camping" "fishing" "gardening" "nature-walks" "travel-islamic-countries" List of user interests. |
| verifiedOnly | boolean or null Indicates if the user is verified. |
| activeSort | boolean or null Sort by last active |
{- "distanceMax": 0,
- "age": {
- "min": 0,
- "max": 0
}, - "hasCompanion": true,
- "marriedReadiness": "later",
- "religionLevel": [
- "other"
], - "education": [
- "sd"
], - "maritalStatus": [
- "single"
], - "sect": [
- "sunni"
], - "hasAChild": true,
- "interests": [
- "ashura"
], - "verifiedOnly": true,
- "activeSort": true
}{- "status": "success",
- "data": {
- "distanceMax": 0,
- "age": {
- "min": 0,
- "max": 0
}, - "hasCompanion": true,
- "marriedReadiness": "later",
- "religionLevel": [
- "other"
], - "education": [
- "sd"
], - "maritalStatus": [
- "single"
], - "sect": [
- "sunni"
], - "hasAChild": true,
- "interests": [
- "ashura"
], - "verifiedOnly": true,
- "activeSort": true
}
}Fetch the current preference of the user.
curl -X GET https://api.production.hayaa.app/encounter/preference \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": {
- "distanceMax": 0,
- "age": {
- "min": 0,
- "max": 0
}, - "hasCompanion": true,
- "marriedReadiness": "later",
- "religionLevel": [
- "other"
], - "education": [
- "sd"
], - "maritalStatus": [
- "single"
], - "sect": [
- "sunni"
], - "hasAChild": true,
- "interests": [
- "ashura"
], - "verifiedOnly": true,
- "activeSort": true
}
}Fetch the user's subscription, power ups, and swipe limits.
| limit | integer Limit the number of encounter list, 0 for only retrieving the encounter state. |
| role | string Enum: "ustadz" "ustadz-master" |
curl -X GET "https://api.production.hayaa.app/encounter?limit=10" \ -H "Authorization: Bearer your_token_here" \
{- "status": "success",
- "data": {
- "encounters": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
], - "activeSubscription": {
- "type": "premium",
- "expiredAt": "2019-08-24T14:15:22Z"
}, - "powerUp": {
- "availableBoost": 0,
- "active": {
- "type": "boost",
- "expiredAt": "2019-08-24T14:15:22Z"
}
}, - "swipeLimit": {
- "remainingSwipe": 0,
- "maxDailySwipe": 0
}
}
}Allows visiting a specific user's encounter profile by user ID.
| user-id required | integer The ID of the user to visit. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{user-id}/visit" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: signature token"
{- "status": "success",
- "data": null
}Allows users to report an issue with a relation.
| partner-id required | integer The ID of the partner to report. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
| reason | string |
| attachment | string or null <binary> Image file to be sent as a multipart file |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/report" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6" \ -F "reason=Your reason here" \ -F "attachment=@/path/to/your/image.jpg"
{- "status": "success",
- "data": null
}Allows blocking user, and never to see again for the blocker sides.
| partner-id required | integer The ID of the partner to report. |
| reason | string or null Enum: "fake-profile" "spammer" "inappropriate-bio" "inappropriate-photo" "inappropriate-message" "underage" "other" Additional details about the block. |
{- "reason": "fake-profile"
}{- "status": "success",
- "data": null
}Allows unblocking a previously blocked user, making them visible again in encounters.
| partner-id required | integer The ID of the partner to unblock. |
curl -X DELETE "https://api.production.hayaa.app/relation/{partner-id}/unblock" \ -H "Authorization: Bearer your_token_here" \ -H "Content-Type: application/json"
{- "status": "success",
- "data": null
}Allows a user to swipe left on a partner, indicating disinterest.
| partner-id required | integer The ID of the partner to swipe left on. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/swipe-left" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6" \
{- "status": "success",
- "data": null
}Allows a user to swipe right on a partner, indicating interest.
| partner-id required | integer The ID of the partner to swipe right on. |
| superlike | string Default: "false" Enum: "true" "false" Use superlike powerup |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/swipe-right" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6" \
{- "status": "success",
- "data": {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
}Allows a user to rewind their last swipe action.
curl -X DELETE "https://api.production.hayaa.app/relation/rewind" \ -H "Authorization: Bearer your_token_here" \
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Get all relations who matched, but no created channel yet.
curl "https://api.production.hayaa.app/relation/matches" \ -H "Authorization: Bearer your_token_here" \
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Allows a user to start a direct chat with a specified partner.
| partner-id required | integer The ID of the partner to initiate a chat with. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/direct-chat" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6"
{- "status": "success",
- "data": {
- "channelID": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "author": {
- "id": 0,
- "name": "string",
- "image": "string"
}
}
}Allows a user to start a direct chat with a specified partner.
| partner-id required | integer The ID of the partner to initiate a chat with. |
| Profile-Signature required | string Example: 098f6bcd4621d373cade4e832627b4f6 Signature for profile verification. |
curl -X POST "https://api.production.hayaa.app/relation/{partner-id}/direct-chat" \ -H "Authorization: Bearer your_token_here" \ -H "Profile-Signature: 098f6bcd4621d373cade4e832627b4f6"
{- "status": "success",
- "data": {
- "channelID": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "author": {
- "id": 0,
- "name": "string",
- "image": "string"
}
}
}Fetches the details of available products.
curl -X GET "https://api.production.hayaa.app/product" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": {
- "object": {
- "name": "string",
- "price": 0,
- "entitle": "pro",
- "activeDurationInMonth": 0,
- "claimedStatus": "premium",
- "bonusBoost": 0,
- "bonusSuperLike": 0,
- "boostCount": 0
}
}
}Allows users to initiate a payment for a product.
| productCode | string Code of the product to purchase. |
| paymentCode | string Code of the payment method. |
| phoneNumber | string or null Optional phone number for the payment. |
{- "productCode": "string",
- "paymentCode": "string",
- "phoneNumber": "string"
}{- "status": "success",
- "data": {
- "accountNumber": "string",
- "qrCode": "string",
- "deeplink": "string",
- "externalID": "string",
- "expiredAt": "2019-08-24T14:15:22Z"
}
}Fetches the payment history for the user.
| limit | integer Default: 10 Maximum number of payment records to return. |
curl -X GET "https://api.production.hayaa.app/payment/history?limit=10" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "paymentMethod": {
- "code": "string",
- "group": "string",
- "name": "string",
- "logo": "string"
}, - "product": {
- "id": 0,
- "code": "string",
- "activeDurationInMonth": 0,
- "boostCount": 0,
- "realPrice": 0,
- "currentPrice": 0
}, - "result": {
- "id": 0,
- "status": "failed",
- "notifyStatus": "pending",
- "expiredAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "expiredAt": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "count": 0
}
}curl -X GET "https://api.production.hayaa.app/payment/method" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "code": "string",
- "group": "string",
- "name": "string",
- "logo": "string"
}
]
}Get activities based on the specified type.
| type required | string Enum: "promo" "explore" "purchase" "match" Type of activities |
curl -X DELETE "https://api.production.hayaa.app/activities?type=message" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "type": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}Accepts events from external sources such as xendit and revenue cat.
| source required | string Enum: "xendit" "revenuecat" The source of the event. |
| property name* additional property | any |
{ }{- "status": "success",
- "message": "string",
- "data": { }
}API to update channel state in a channel, can only be used from WebSocket.
| id required | number ID of the channel to update the state |
curl -X PATCH https://api.production.hayaa.app/ws/channel-state/1 \ -H "Authorization: App-Secret <app-secret>"
{- "status": "success",
- "data": { }
}API to get channel members
| channel-id required | number |
curl https://api.production.hayaa.app/chat/100/detail \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": {
- "members": [
- {
- "id": 0,
- "name": "string",
- "image": "string",
- "inTaaruf": true,
- "signature": "string",
- "lastOnline": "2019-08-24T14:15:22Z",
- "enableBlur": true,
- "hasLeft": true,
- "isDeactivated": true,
- "channelLastSeenAt": "2019-08-24T14:15:22Z"
}
]
}
}API to update blur status to partner and companion
| channel-id required | number |
| blur | boolean |
{- "blur": true
}{- "status": "success",
- "data": { }
}Propose taaruf to partner with companions
| channel-id required | number |
| companionIDs | Array of numbers |
{- "companionIDs": [
- 0
]
}{- "status": "success",
- "data": { }
}curl "https://api.production.hayaa.app/taaruf/invitation" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": {
- "id": 0,
- "partner": {
- "id": 0,
- "name": "string",
- "image": "string"
}, - "status": "pending",
- "expiredAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
}Accept or reject taaruf invitation
| status | string Enum: "reject" "accept" |
{- "status": "reject"
}{- "status": "success",
- "data": {
- "id": 0
}
}Allows users to add a new companion or update an existing one. Supports file uploads for profile image and identity card.
| id | integer or null Companion ID. Required for updating an existing companion, omit for new companion. |
| name | string Name of the companion. Required for new companion. |
string Email of the companion. Required for new companion. | |
| phoneNumber | string or null Phone number of the companion. |
| relation | string Enum: "father" "mother" "grandfather" "grandmother" "uncle" "aunt" "sibling" "in-law" Relation to the companion. Required for new companion. |
| profileImage | string or null <binary> Profile image of the companion. |
| identityCard | string or null <binary> Identity card of the companion. |
curl -X POST "https://api.production.hayaa.app/companion" \ -H "Authorization: Bearer your_token_here" \ -H "Content-Type: multipart/form-data" \ -F "name=John Doe" \ -F "email=johndoe@example.com" \ -F "phoneNumber=6281234567890" \ -F "relation=father" \ -F "profileImage=@path/to/your/image.jpg" \ -F "identityCard=@path/to/your/idcard.jpg"
{- "status": "success",
- "data": {
- "id": 0,
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "invitationCode": "string",
- "relation": "string",
- "profileImage": "string",
- "identityCard": "string"
}
}Retrieves a list of companions associated with the user.
curl -X GET "https://api.production.hayaa.app/companion" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "invitationCode": "string",
- "relation": "father",
- "profileImage": "string",
- "identityCard": "string"
}
]
}Allows users to delete a companion by their ID.
| id required | integer The ID of the companion to delete. |
curl -X DELETE "https://api.production.hayaa.app/companion/{id}" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": null
}Retrieve a list of trending profiles based on the specified category and limit.
| category | string Enum: "nearest" "newest" Category to filter trending profiles. |
| limit | integer Default: 10 Maximum number of profiles to return. |
curl -X GET "https://api.production.hayaa.app/discover/trending?category=nearest&limit=10" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Retrieve a list of profiles that you may like.
curl -X GET "https://api.production.hayaa.app/discover/you-may-like" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Retrieve a list of profiles that have shown interest in you.
curl -X GET "https://api.production.hayaa.app/discover/likes-you" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Retrieve a list of profiles that you have visited.
curl -X GET "https://api.production.hayaa.app/discover/visit" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "distance": 0,
- "hasCompanion": true,
- "isPoweredUp": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Retrieve a list of profiles that you have blocked.
curl -X GET "https://api.production.hayaa.app/discover/block" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "profile": {
- "name": "string",
- "gender": "male",
- "signature": "string",
- "image": "string",
- "introductionVideo": "string",
- "bio": "string",
- "birthPlace": "string",
- "enableBlur": true,
- "percentage": 0,
- "covers": [
- "string"
], - "lastActive": "2019-08-24T14:15:22Z",
- "birthday": "2019-08-24",
- "shareCode": "string"
}, - "verifyStatus": "rejected",
- "reason": "string",
- "distance": 0,
- "hasCompanion": true,
- "backgrounds": {
- "mariageStatus": "single",
- "targetMariage": 2024,
- "sect": "sunni",
- "spokeLanguages": [
- "indonesian"
], - "educationLevel": "sd",
- "profession": {
- "profession": "doctor",
- "title": "string"
}, - "currentChildren": 10,
- "selfDescribe": "string",
- "physicalDescription": "string",
- "partnerCriteria": "string",
- "financialSituation": "independent",
- "faith": "other",
- "interest": [
- "ashura"
], - "familyInformation": "string",
- "religiousRoutine": "string",
- "dependents": 20,
- "familyMadzhab": "string",
- "quranReadingRoutine": "string",
- "prayerRoutine": "string",
- "selfWeakness": "string",
- "selfStrengths": "string",
- "selfThinkLikes": "string",
- "selfThinkDislikes": "string",
- "partnerPhysicalPreference": "string",
- "partnerKeyValue": "string",
- "height": 100,
- "weight": 30,
- "desiredChildren": 12,
- "marriageMission": "string",
- "marriageVision": "string",
- "lifeAfterMariage": "string",
- "sunnahRoutine": "string"
}
}
]
}Fetches the details of available products.
curl -X GET "https://api.production.hayaa.app/product" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": {
- "object": {
- "name": "string",
- "price": 0,
- "entitle": "pro",
- "activeDurationInMonth": 0,
- "claimedStatus": "premium",
- "bonusBoost": 0,
- "bonusSuperLike": 0,
- "boostCount": 0
}
}
}Allows users to initiate a payment for a product.
| productCode | string Code of the product to purchase. |
| paymentCode | string Code of the payment method. |
| phoneNumber | string or null Optional phone number for the payment. |
{- "productCode": "string",
- "paymentCode": "string",
- "phoneNumber": "string"
}{- "status": "success",
- "data": {
- "accountNumber": "string",
- "qrCode": "string",
- "deeplink": "string",
- "externalID": "string",
- "expiredAt": "2019-08-24T14:15:22Z"
}
}Endpoint for receiving RevenueCat subscription and purchase events
| api_version | string RevenueCat API version |
object |
{- "api_version": "1.0",
- "event": {
- "aliases": [
- "string"
], - "app_id": "string",
- "app_user_id": "string",
- "country_code": "string",
- "currency": "string",
- "entitlement_id": "string",
- "entitlement_ids": [
- "string"
], - "environment": "PRODUCTION",
- "event_timestamp_ms": 0,
- "expiration_at_ms": 0,
- "id": "string",
- "is_family_share": true,
- "is_trial_conversion": true,
- "original_app_user_id": "string",
- "original_transaction_id": "string",
- "period_type": "string",
- "presented_offering_id": "string",
- "price": 0,
- "price_in_purchased_currency": 0,
- "product_id": "string",
- "purchased_at_ms": 0,
- "store": "string",
- "subscriber_attributes": { },
- "takehome_percentage": 0,
- "transaction_id": "string",
- "type": "INITIAL_PURCHASE"
}
}{- "status": "success"
}Fetches the payment history for the user.
| limit | integer Default: 10 Maximum number of payment records to return. |
curl -X GET "https://api.production.hayaa.app/payment/history?limit=10" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "paymentMethod": {
- "code": "string",
- "group": "string",
- "name": "string",
- "logo": "string"
}, - "product": {
- "id": 0,
- "code": "string",
- "activeDurationInMonth": 0,
- "boostCount": 0,
- "realPrice": 0,
- "currentPrice": 0
}, - "result": {
- "id": 0,
- "status": "failed",
- "notifyStatus": "pending",
- "expiredAt": "2019-08-24T14:15:22Z"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "expiredAt": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "count": 0
}
}curl -X GET "https://api.production.hayaa.app/payment/method" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "code": "string",
- "group": "string",
- "name": "string",
- "logo": "string"
}
]
}Get activities based on the specified type.
| type required | string Enum: "promo" "explore" "purchase" "match" Type of activities |
curl -X DELETE "https://api.production.hayaa.app/activities?type=message" \ -H "Authorization: Bearer your_token_here"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "type": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}Accepts events from external sources such as xendit and revenue cat.
| source required | string Enum: "xendit" "revenuecat" The source of the event. |
| property name* additional property | any |
{ }{- "status": "success",
- "message": "string",
- "data": { }
}Allows authenticated users to submit feedback.
| content required | string [ 4 .. 1024 ] characters The feedback message content. |
| rating | number [ 1 .. 5 ] The feedback rating. |
{- "content": "string",
- "rating": 1
}{- "status": "success",
- "data": null
}validate auth token and response user data
| token | string JWT Auth token |
{- "token": "string"
}{- "status": "success",
- "data": {
- "id": 0,
- "sessionUID": "string"
}
}API for send message in one channel, can only be used from websocket
| id required | number ID of the channel |
| senderID | number Sender user id |
| text | string The message content to be sent |
| confirmationID | string ID for message confirmation |
{- "senderID": 0,
- "text": "string",
- "confirmationID": "string"
}{- "status": "success",
- "data": {
- "id": 0,
- "text": "string",
- "confirmationID": "string",
- "author": {
- "id": 0,
- "name": "string",
- "image": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}API for updating unread count to zero and last seen at channel
| id required | number ID of the channel |
| userID | number |
{- "userID": 0
}{- "status": "success",
- "data": { }
}API for updating last active in encounter pool and profile from websocket
| ids | Array of numbers |
{- "ids": [
- 0
]
}{- "status": "success",
- "data": { }
}API to update channel state in a channel, can only be used from WebSocket.
| id required | number ID of the channel to update the state |
curl -X PATCH https://api.production.hayaa.app/ws/channel-state/1 \ -H "Authorization: App-Secret <app-secret>"
{- "status": "success",
- "data": { }
}API to create a new chat (channel) using a partner ID. And notify channel-created to WS. User profile signature for create channel without match first
| partner-id required | number |
| Profile-Signature | string Example: 098f6bcd4621d373cade4e832627b4f6 Required when create channel without match first |
curl -X POST https://api.production.hayaa.app/chat/2506 \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": {
- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "author": {
- "id": 0,
- "name": "string",
- "image": "string"
}
}
}Allows a user to leave a chat channel
| channel-id required | number The ID of the channel to leave |
curl -X DELETE "https://api.production.hayaa.app/chat/123/leave" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": { }
}API to create a new chat (channel) using a partner ID. And notify channel-created to WS. User profile signature for create channel without match first
| partner-id required | number |
| Profile-Signature | string Example: 098f6bcd4621d373cade4e832627b4f6 Required when create channel without match first |
curl -X POST https://api.production.hayaa.app/chat/2506 \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": {
- "id": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "author": {
- "id": 0,
- "name": "string",
- "image": "string"
}
}
}API to get channels after match.
| sortBy | string Enum: "recent" "unread" "nearby" |
| channelType | string Enum: "regular" "ustadz" "taaruf" |
| channelID | number |
| offset | number |
curl https://api.production.hayaa.app/chat \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "type": "regular",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastMessage": "string",
- "lastMessageCreatedAt": "2019-08-24T14:15:22Z",
- "lastSenderID": 0,
- "unreadCount": 0,
- "partner": {
- "id": 0,
- "name": "string",
- "image": "string",
- "inTaaruf": true,
- "signature": "string",
- "lastOnline": "2019-08-24T14:15:22Z",
- "enableBlur": true,
- "hasLeft": true,
- "isDeactivated": true,
- "channelLastSeenAt": "2019-08-24T14:15:22Z"
}, - "companions": [
- { }
]
}
]
}API to get channel members
| channel-id required | number |
curl https://api.production.hayaa.app/chat/100/detail \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": {
- "members": [
- {
- "id": 0,
- "name": "string",
- "image": "string",
- "inTaaruf": true,
- "signature": "string",
- "lastOnline": "2019-08-24T14:15:22Z",
- "enableBlur": true,
- "hasLeft": true,
- "isDeactivated": true,
- "channelLastSeenAt": "2019-08-24T14:15:22Z"
}
]
}
}API for send message in channel. Max 2 image at the same time.
| channel-id required | number |
| text | string The message content to be sent |
| image_1 | string or null <binary> Image file to be sent as a multipart file |
| image_2 | string or null <binary> Image file to be sent as a multipart file |
| confirmationID | string ID for message confirmation |
curl -X POST https://api.production.hayaa.app/chat/123/message \ -H "Content-Type: multipart/form-data" \ -H "Authorization: Bearer <auth-token>" \ -F "text=Hello" \ -F "image_1=@/path/to/image.jpg" \ -F "confirmationID=12345"
{- "status": "success",
- "data": {
- "id": 0,
- "text": "string",
- "images": [
- "string"
], - "confirmationID": "string",
- "author": {
- "id": 0,
- "name": "string",
- "image": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
}API to get channel messages
| channel-id required | number |
| limit | number |
| lastID | number |
curl -X GET "https://api.production.hayaa.app/chat/200/message" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": [
- {
- "id": 0,
- "channelID": 0,
- "author": {
- "id": 0,
- "name": "string",
- "image": "string",
- "role": "system"
}, - "text": "string",
- "images": [
- "string"
], - "confirmationID": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}API to update blur status to partner and companion
| channel-id required | number |
| blur | boolean |
{- "blur": true
}{- "status": "success",
- "data": { }
}Propose taaruf to partner with companions
| channel-id required | number |
| companionIDs | Array of numbers |
{- "companionIDs": [
- 0
]
}{- "status": "success",
- "data": { }
}curl "https://api.production.hayaa.app/taaruf/invitation" \ -H "Authorization: Bearer <auth-token>"
{- "status": "success",
- "data": {
- "id": 0,
- "partner": {
- "id": 0,
- "name": "string",
- "image": "string"
}, - "status": "pending",
- "expiredAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
}Accept or reject taaruf invitation
| status | string Enum: "reject" "accept" |
{- "status": "reject"
}{- "status": "success",
- "data": {
- "id": 0
}
}This endpoint broadcasts notifications to users based on their language preferences. It is intended for internal use.
curl -X POST "https://api.production.hayaa.app/internal/broadcast" \ -H "Authorization: App-Secret your_internal_token_here" \ -H "Content-Type: application/json"
{- "status": "success",
- "message": "string"
}Get log level with count in range of time.
| groupID | string |
| queryRangeMinutes | number |
{- "groupID": "string",
- "queryRangeMinutes": 0
}{- "status": "success",
- "message": null
}This endpoint decrypts an encrypted App ID. It is intended for internal use.
| appID required | string [ 8 .. 512 ] characters The encrypted App ID to decrypt |
{- "appID": "stringst"
}{- "status": "success",
- "data": {
- "originalID": "string"
}
}This endpoint handles auto-replies from Ustadz. It is intended for internal use.
curl -X POST "https://api.production.hayaa.app/internal/ustadz-reply" \ -H "Authorization: App-Secret your_internal_token_here" \ -H "Content-Type: application/json"
{- "status": "success",
- "data": {
- "reply": "string"
}
}curl -X POST "https://api.production.hayaa.app/internal/refresh-trending" \ -H "Authorization: App-Secret your_internal_token_here" \ -H "Content-Type: application/json"
{- "status": "success",
- "data": { }
}Activates a boost powerup for the user's profile, making them more visible in the encounter pool for 30 minutes. Requires available boost credits.
curl -X POST https://api.production.hayaa.app/powerup/boost \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <user-token>"
{- "status": "success",
- "data": { }
}