cURL
curl --request POST \ --url https://api.kit.com/v4/forms/{form_id}/subscribers/{id} \ --header 'Content-Type: application/json' \ --header 'X-Kit-Api-Key: <api-key>' \ --data ' { "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": 643, "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" } } }
The subscriber being added to the form must already exist. Subscribers can be created using the “Create a subscriber” endpoint.
Authenticate API requests via an API Key
Returns a 200 when the subscriber has already been added to the form
Show child attributes
Was this page helpful?