This resource allows a user to sign up as a contact for the fanclub.
/contacts
Add the user to the fanclub's contacts
* Note: Any other attributes passed to the contact
parameter will be saved internally as part of the Contact's custom_fields
Name | Type | Description |
---|---|---|
contact[email] |
string | [Required] The email address of the user |
contact[first_name] |
string | [Optional] The first name of the user |
contact[last_name] |
string | [Optional] The last name of the user |
contact[birthdate] |
string | [Optional] The birthdate of the user (example: "1980-01-01") |
contact[lists_opt_in_source] |
string | [Optional] The source of this contact (example: "Giveaway Campaign") |
/contacts
*{
"status": "ok",
"messages": [
"Please check your email for confirmation instructions"
]
}
{
"status": "error",
"messages": [
"Contact parameter is required."
]
}
{
"status": "error",
"messages": ["Email is already subscribed as a member of <fanclub name>"]
}
{
"status": "error",
"messages": ["You are already subscribed"]
}
{
"status": "error",
"messages": ["Email does not appear to be valid"]
}
{
"status": "error",
"messages": ["Must enter a valid birthdate"]
}
{
"status": "error",
"messages": ["You are not old enough"]
}