---
title: "Refer Customer"
method: POST
path: "/customer/referrals"
---

# Refer Customer

`POST /customer/referrals`

## Query parameters

- `mobile` string

## Request body

- object
  - `customer` string[] — Array of customer details.
  - `mobile` string, required — Mobile number of the customer
  - `referrals` object — Object containing referral information.
  - `campaign_token` string — Unique token for the referral campaign.
  - `type` string, required — Type of referral Supported values: MOBILE and EMAIL.
  - `id` string, required — Unique identifier for the referral.
  - `invited_on` string, required — Timestamp indicating when the referral was invited.
  - `name` string — Name of the referred individual.
  - `identifier` string, required — Identifier (e.g., mobile number) of the referred individual.

## Response `200`

200

- object
  - `response` object
    - `status` object
      - `success` string
      - `code` integer
      - `message` string
    - `customers` object
      - `customer` object[]
        - `email` unknown
        - `mobile` string
        - `external_id` unknown
        - `firstname` string
        - `lastname` string
        - `referrals` object
          - `referral_type` object[]
            - `type` string
            - `referral` object[]
              - …
        - `item_status` object
          - `success` string
          - `code` integer
          - `message` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
