Register
/api/crm/v2/application.registrationv2application.registrationRegisters a new user (partner — with company, city, and legal entity; affiliate — by name and contact details), creates a session, and initiates two-factor authentication if required. The optional affiliate_id links a partner account to an affiliate account. The request is validated with reCAPTCHA.
Errors:
328— login is not a valid email address110— password is shorter than 6 characters.
Authorization
language + role
Query parameters
Affiliate user ID — user_id from application.user_info; it is passed via the referral link. The partner account is linked to the affiliate account of this user. An unknown user ID is ignored, and registration proceeds without linking.
Example: 1
Request body application/json
Role partner
City ID
Example: 1
Company name
Example: Pizza & Hot Dog
Legal entity
Example: IP Pizza & Hot Dog
Email address — login
Example: example@example.com
Country code: 1-🇷🇺(+7|8), 2-🇦🇿(+994|0), 3-🇧🇾(+375|80), 4-🇰🇿(+7|8), 6-🇷🇸(+381|0), 7-🇹🇷(+90|0), 8-🇺🇦(+380|0), 9-🇵🇹(+351|0), 10-🇰🇬(+996|0), 11-🇺🇸(+1), 12-🇫🇷(+33|0), 13-🇲🇩(+373|0), 15-🇪🇪(+372), 18-🇬🇪(+995), 19-🇺🇿(+998), 22-🇵🇱(+48|0), 23-🇹🇯(+992|8), 25-🇷🇴(+40|0), 44-🇨🇭(+41|0)
Example: 1
Phone number in masked format
Example: 999-999-99-99
Password
Example: example
ReCAPTCHA version: 2 or 3; only for the GOOGLE driver
Example: 3
Responses
OK
Returns session_id
Values:successerror
Example: success
Example: true
Example: eOJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJ0c2kiOjAsIm90cCI6IkZTRW5jcnlwdGVkX1ozTk9aN1l1WFlCSHNhK2hWcmdZMktJb0pkNzR0bE5CaTNKQTMxdEhTOVk9IiwicGFzIjoiRlNFbmNyeXB0ZWRfbCtuY2hsbkVIXC9KM2I3MW1hNXBEQkk0dUVhanlcL2JGWjg1aEZRN2FhemV2eFlMY2ZnTmE5VGtRbHFzMTRVZ05nd2NQTkRzbDJ5UEtKRkxZT0N4TDIzSWtNejVGRWFZdmgrQjh0disrdEtFYz0iLCJzdWIiOiJGU0VuY3J5cHRlZF95dGxiN1k0dGE0VjRmT0Vjem9EWEszN3FNMVpsSkVkZitxTzhPOFZEZUo0PSIsImlzcyI6ImZvb2Rzb3VsLnBybyIsImlhdCI6MTcxMjgyMTk3NiwiZXhwIjoxNzEyODIzNzc2fQ.4gWKujNQ0rcEu2EY-qCGcdi5R3rAprSCbPFOFA-b658gaA73EGvrqlcOQ73BNr3HCVBKB5ziTl54V0ZL48Hd2A