Subscribers
Create a subscriber
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"subscriber": {
"uuid": "sub_37775e51c5",
"email": "[email protected]",
"name": "Drago Vrago",
"ref_code": "drago785f",
"referrer_code": "joanne123c",
"referrals_count": 0,
"ip_address": "213.19.137.18",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36",
"origin": "api",
"utm_source": null,
"utm_campaign": null,
"created_at": "2021-03-14T10:34:56.000Z"
}
}{
"error": "Email has already been taken"
}{
"error": "Email is invalid"
}{
"error": "You have to provide at least an email"
}Get subscribers
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
Get a subscriber
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Get referrals for a subscriber
Path Parameters
Name
Type
Description
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
Update subscriber
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
Request Body
Name
Type
Description
Last updated