Jeff Program Testing
  1. USER
Jeff Program Testing
  • Overview
  • ACCOUNT
    • Get Account
      GET
  • USER
    • Get Users
      GET
    • Get User
      GET
    • Create User
      POST
    • Update User
      POST
    • Delete User
      DELETE
  1. USER

Create User

开发中
POST
/users
Create a user within the funnel system.
Each user is identified by either his email or mobile. If the user already exists in database, the system will not allow to add.

请求参数

Header 参数

Body 参数application/json

示例
{
  "funnel_page_id": "658e77505c125ffdfd0ea886",
  "name": "Peter Chan",
  "email": "peter.chan7@gmail.com",
  "country_code": "852",
  "mobile": "98765499",
  "source": "FB",
  "lang": "tc",
  "country_id": "CR-HK",
  "add_tags": [
    {
      "value": "音樂"
    },
    {
      "value": "旅遊"
    },
    {
      "value": "跑步"
    }
  ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/users' \
--header 'x-api-key: DmxPFlWX1H*Ag$IuHOaNKQwHp$JWa^l93oKuOpu4Xg5zYmWPER%#P34&LUwD!B!9' \
--header 'Content-Type: application/json' \
--data-raw '{
  "funnel_page_id": "658e77505c125ffdfd0ea886",
  "name": "Peter Chan",
  "email": "peter.chan7@gmail.com",
  "country_code": "852",
  "mobile": "98765499",
  "source": "FB",
  "lang": "tc",
  "country_id": "CR-HK",
  "add_tags": [
    {
      "value": "音樂"
    },
    {
      "value": "旅遊"
    },
    {
      "value": "跑步"
    }
  ]
}'

返回响应

🟢200Success
application/json
Body

示例
{
    "rc": 100,
    "rm": "User is successfully created",
    "user_id": "63aadd3754bd917dxxxxxxxx"
}
修改于 2024-01-08 07:09:40
上一页
Get User
下一页
Update User
Built with