Create profile
https://api.worldota.net/api/b2b/v3/profiles/create/The call creates a contract profile.
Request example
curl --user '<KEY_ID>:<API_KEY>' 'https://api.worldota.net/api/b2b/v3/profiles/create/' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith",
"phone": "+4412344567899",
"type": "master",
}'Request body
Response example
{
"data": null,
"debug": null,
"error": null,
"status": "ok"
}Errors
The error field has the value specified in the headers below.
user_already_exists
The profile with such an email address already exists.