POST
/
v4
/
forms
/
{form_id}
/
subscribers
curl --request POST \
  --url https://api.kit.com/v4/forms/{form_id}/subscribers \
  --header 'Content-Type: application/json' \
  --header 'X-Kit-Api-Key: <api-key>' \
  --data '{
  "email_address": "[email protected]",
  "referrer": "https://mywebsite.com/bfpromo/?utm_source=facebook&utm_medium=cpc&utm_campaign=black_friday&utm_term=car_owners&utm_content=get_10_off"
}'
{
  "subscriber": {
    "id": 16106,
    "first_name": "Alice",
    "email_address": "[email protected]",
    "state": "active",
    "created_at": "2023-02-17T11:43:55Z",
    "added_at": "2023-02-17T11:43:55Z",
    "fields": {},
    "referrer": "https://mywebsite.com/bfpromo/?utm_source=facebook&utm_medium=cpc&utm_campaign=black_friday&utm_term=car_owners&utm_content=get_10_off",
    "referrer_utm_parameters": {
      "source": "facebook",
      "medium": "cpc",
      "campaign": "black_friday",
      "term": "car_owners",
      "content": "get_10_off"
    }
  }
}

Authorizations

X-Kit-Api-Key
string
header
required

Authenticate API requests via an API Key

Path Parameters

form_id
integer
required

Body

application/json

Response

200
application/json

Returns a 200 when the subscriber has already been added to the form

The response is of type object.