Using this API, you can view, add, and remove funnel subscriptions for a selected contact.
Reading.
Allows you to view the funnel subscriptions of the selected contact.
GET https://api.smartsender.com/v1/contacts/{contactId}/funnels
Main parameters:
Name | Description | Validation |
---|---|---|
page | Requested Page | Minimum value 1 |
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
In case of a successful response, you will receive the following:
{ "cursor": Cursor, "collection": Funnel[] }
Answer description:
Addition.
Allows you to add a funnel subscription to the selected contact
POST https://api.smartsender.com/v1/contacts/{contactId}/funnels/{serviceId}
In case of a successful response, you will receive the following:
{ "state": true }
Deletion.
Allows you to remove the funnel subscription of the selected contact
DELETE https://api.smartsender.com/v1/contacts/{contactId}/funnels/{serviceId}
In case of a successful response, you will receive the following:
{ "state": true }