Skip to main content
POST
/
users
cURL
curl --request POST \
  --url https://app.fliqr.ai/api/users \
  --header 'Content-Type: application/json' \
  --header 'X-ACCESS-TOKEN: <api-key>' \
  --data '
{
  "phone": "+1234567890",
  "first_name": "John",
  "last_name": "Smith",
  "gender": "male",
  "actions": [
    {
      "action": "send_flow",
      "flow_id": 11111
    },
    {
      "action": "add_tag",
      "tag_name": "YOU_TAG_NAME"
    },
    {
      "action": "set_field_value",
      "field_name": "YOU_CUSTOM_FIELD_NAME",
      "value": "ANY_VALUE"
    }
  ]
}
'
This response has no body data.

Authorizations

X-ACCESS-TOKEN
string
header
required

Body

application/json
phone
string
required

The phone number with country code

first_name
string
last_name
string
gender
enum<string>
Available options:
male,
female,
unknown
actions
(Send Flow · object | Add Tag · object | Set Field Value · object)[]

Array of actions to perform. Fields are conditionally required based on the action type.

Response

default - undefined