This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/bounces | |
| -H "Authorization: Bearer tndttwx95skdhfjsdhfnk8w8kvc" | python -mjson.tool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://vrapi.verticalresponse.com/api/v1/contacts?status=bounced | |
| -H "Authorization: Bearer tndttwx95dy52mfxnk8w8kvc" | python -mjson.tool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'list' | |
| list = VerticalResponse::API::List.find(<List ID>) | |
| list.stats |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'contact' | |
| # List all active contacts | |
| VerticalResponse::API::Contact.all({ :status => 'active' }) | |
| # List all inactive contacts (bounced and unsubscribed) | |
| VerticalResponse::API::Contact.all({ :status => 'inactive' }) | |
| # List bounced contacts only | |
| VerticalResponse::API::Contact.all({ :status => 'bounced' }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl https://vrapi.verticalresponse.com/api/v1/contacts?status=active | |
| -H "Authorization: Bearer tndttwx95dy52mfxnk8w8kvc" | python -mjson.tool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/contacts?status=active", | |
| "items": [ | |
| { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/contacts/8796093022211", | |
| "attributes": { | |
| "id": 8796093022211, | |
| "first_name": "Harry", | |
| "last_name": "Potter", | |
| "email": "hpotter@verticalresponse.com", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/bounces", | |
| "items": [], | |
| "success": { | |
| "code": 200, | |
| "message": "Email has no bounced contacts." | |
| }, | |
| "links": { | |
| "up": { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/clicks", | |
| "items": [ | |
| { | |
| "attributes": { | |
| "url": "http://youtu.be/2jdKJWJkZsQ", | |
| "click_count": "2", | |
| "unique_count": "2" | |
| } | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/messages?message_type=email", | |
| "items": [ | |
| { | |
| "url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022506", | |
| "attributes": { | |
| "id": 8796093022506, | |
| "name": "", | |
| "subject": null, | |
| "status": "draft", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl https://vrapi.verticalresponse.com/api/v1/messages?message_type=email | |
| -H "Authorization: Bearer tndttwxsdfk32fxnk8w8kvc" | python -mjson.tool |