Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Creation rules:

Data for creating an account can be transmitted: email (required field), phone (optional field (do not record if not validated)), name (optional field)
If only the email string is loaded, an account is created with a contact email and a name equal to email
If the email string does not pass validation, the account is not created.
Response example

{

    "status": 0,

    "error": {

        "fields": {

            "data/0/email": "WRONG_EMAIL"

        },

        "code": "FORMAT_ERROR"

    }

}

4. The case is when there is already a linked email account with the same email and the same connection. Then you need to ignore it.

Response example: (аналогичен обычному ответу)

{

    "data": {

        "count_to_process": 1

    },

    "status": 1

}

5. 

When creating an account, you can add a tag

...