> ## Documentation Index
> Fetch the complete documentation index at: https://fliqr.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create new contact

> Creates a new contact.



## OpenAPI

````yaml POST /contacts
openapi: 3.0.0
info:
  title: Fliqr AI API
  version: '1.1'
  description: >-
    REST API for Fliqr AI. Authenticate every request with the `X-ACCESS-TOKEN`
    header.
servers:
  - url: https://app.fliqr.ai/api
    description: Production
security:
  - APIKeyHeader: []
tags:
  - name: Accounts
  - name: Contacts
  - name: AI Agents
  - name: Pipelines
  - name: Ecommerce
  - name: Appointment Management
  - name: Templates
paths:
  /contacts:
    post:
      tags:
        - Contacts
      summary: Create New Contact
      description: Creates a new contact.
      operationId: createNewContact
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                phone:
                  type: string
                  description: The phone number with country code
                email:
                  type: string
                  description: The contact email
                first_name:
                  type: string
                last_name:
                  type: string
                gender:
                  type: string
                  enum:
                    - male
                    - female
                    - unknown
                actions:
                  type: array
                  description: >-
                    Actions can be send flow, add/remove tags, set/unset custom
                    field ...
                  items: {}
              example:
                phone: '+1234567890'
                email: test@test.com
                first_name: John
                last_name: Smith
                gender: male
                actions:
                  - action: add_tag
                    tag_name: YOU_TAG_NAME
                  - action: set_field_value
                    field_name: YOU_CUSTOM_FIELD_NAME
                    value: ANY_VALUE
                  - action: send_flow
                    flow_id: 11111
        required: true
      responses:
        default:
          description: successful operation
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-ACCESS-TOKEN
      description: >-
        API access token from your Fliqr AI dashboard (**Settings → API**). Send
        it in the `X-ACCESS-TOKEN` header on every request.

````