Note: By default, all created users are verified users.
| Request method | Request address |
| POST | https://api.helplook.net/api/auth-access |
| Content-Type | application/json |
body type: application/json
| Parameter name | type | Required | illustrate |
| name | string | yes | Username |
| phone | string | yes | User's mobile phone number |
| string | yes | User Email | |
| auth_group_id | string | no | User group IDs, can be used in batches, example: 1,2,3 |
*You can choose between phone and email.
Example body: application/json
{
"name": "小明",
"phone": "1881437xxxx",
"email": "xxx@helplook.net"
"auth_group_id": "1,2,3"
}CURL example:
curl --location --request POST 'https://api.helplook.net/api/auth-access' \
--header 'x-api-key: {{Api Key}}' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--header 'Connection: keep-alive' \
--data-raw '{
"name": "小明",
"phone": "18814373100",
"email": "18814373100@helplook.net",
"auth_group_id": "1,2,3"
}'response:
{
"data": {
"user_id": "3693"
},
"msg": "Success",
"code": 200
}If the site's access permissions are set to mixed access or authorized access, you can use the examples we provide (php, python, nodejs) to generate a link. Simply guide the user to click the link to complete the visitor login authentication, thus eliminating the need for the authentication process of receiving a verification code.
Reference tutorial: "Generating a Seamless Login Address (Mixed Access or Authorized Access)"