Skip to main content

Create

This endpoint allows integrators register their users into MeetingLawyers' platform in order to authenticate them to the SDKs.

Request#

POST https://api.demo.meetinglawyers.com/s2s/v1/users (development)
POST https://api.meetinglawyers.com/s2s/v1/users (production)

Headers#

NameValue
Api-KeyIntegration identifier provided by MeetingLawyers
Secret-KeySecurity key provided by MeetingLawyers to securize server-to-server communications
Content-Typeapplication/json
Acceptapplication/json

Request body#

Parameters#

NameRequiredTypeValue
user_idTrueStringYour user unique identifier
statusTrueNumericIf the user can access the platform. Possible values: 0: Free (no access), 2: Premium (full access), 4: Freemium (free trial with a specific period of time. This needs to be configured in advance)
emailFalseStringA valid email
nid_numberFalseStringA valid dni or nie
first_nameFalseStringUser's first name
last_nameFalseStringUser's last name
genderFalseNumericUsed to give more information to the professional, for example, in case there are laws that differ depending on the gender. 0:Male, 1:Female
birthdateFalseDateISO8601 Date (YYYY-MM-DD)
mobile_phoneFalseStringA mobile phone number
coverage_nameFalseStringUser plan information. This can be a group, contract type, or anything that can be used to group and filter users
contract_numberFalseStringUser contract number. Used to link a contract or any other ID of the user in the integrator's platform with the user in our platform
service_language_codeFalseStringISO639-1 language code
descriptionFalseStringExtra user information provided by the integrator, and not visible to final users.
has_video_callFalseNumeric0:Disabled, 1:Enabled
has_video_call_1to1FalseNumeric0:Disabled, 1:Enabled
country_codeFalseStringISO3166-1 alpha-2 country code
ml_group_nameFalseStringUser's group in MeetingLawyers. Used to show or hide a specific subset of professionals to some users
md_group_nameFalseStringUser's group in MeetingDoctors (for MeetingPros apps)

Example#

{
"user_id": "05415506H",
"status": 2,
"email": "example@meetinglawyers.com",
"nid_number": "12345678A",
"first_name": "John",
"last_name": "Doe",
"gender": 1,
"birthdate": "1980-12-31",
"mobile_phone": "600000000",
"coverage_name": "Premium",
"contract_number": "123456",
"service_language_code": "en",
"description": null,
"has_video_call": 1,
"has_video_call_1to1": 1,
"country_code": "ES",
"ml_group_name": "demo-lawyers",
"md_group_name": "demo-doctors"
}