Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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:

Name

Description

cursor

Object of type Cursor

collection

Array of objects of type Funnel

 

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
}

 

  • No labels