Profile API
v 1.0
OVERVIEW
The profile API can be used to create user accounts on the dating site. A
registration request must provide a user object as a collection of
key/value properties. If the API responds with a positive answer, users
can be redirected to the dating site.
This documentation contains sample requests with sample domains.
When the API is implemented we will provide a live Postman request file
for your domain.
REQUEST
Method POST
URL: [Link]
* Query string parameters:
- “source” and “subsource”: it’s recommended to send the
sources and subsources to view performance and optimize
- You can send more parameters as you wish, system will save
any extra parameter you send with the user request
Request body {
(RAW): "ip": "string",
"email": "user@[Link]",
"countryCode": "gb", "username": "user",
"password": "strongpassword",
"deviceType": "mobile",
"gender": "MALE",
"searchGender": "FEMALE",
"birthdate": "2000-01-21"
* Required fields:
ip, email, countryCode, username, password, gender, searchGender,
birthdate
* Optional fields:
- deviceType (value can be “mobile” or “desktop”)
* GEOS and limits
Available GEOs, rates and CAPS are provided from your Account
Manager
Request headers: Content-Type: application/json;charset=UTF-8
Authorization: Basic <api token>
RESPONSE
Positive response {
"success": true,
"loginUrl":
"[Link]
48e4d95219013c47"
}
Negative response {
"success": false,
"errors": [
"error-message"
]
}
Error messages:
“USERNAME_EXISTS”, “EMAIL_EXISTS”, “TRACKING_CONTEXT_INVALID”,
“COUNTRY_INVALID”, “REGISTRATION_REJECTED”
WELCOME AND TERMS POPUP
When a user lands on the dating site from the Registration API login url he will see the following
accept terms popup. If he presses Start Chatting, the popup is hidden and he can use the
account.
If a user presses the popup X button an Exit popup will be shown to the user to try to keep him in
the site.