Skip to content

Instantly share code, notes, and snippets.

{
"url": "https://vrapi.verticalresponse.com/api/v1/hooks/8",
"success": {
"code": 201,
"message": "Hook created."
},
"links": {
"up": {
"url": "https://vrapi.verticalresponse.com/api/v1/hooks"
}
curl https://vrapi.verticalresponse.com/api/v1/hooks
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
-H "Content-Type:application/json"
--request POST --data '{"url":"http://requestb.in/1a0wk2t1","event_types":"contact.create"}'
{
"success":
{
"code":200,
"message":"Contacts deleted."
},
"attributes":
{
"removed":2,
curl https://vrapi.verticalresponse.com/api/v1/lists/8796092317576/contacts
-H "Authorization: Bearer tndttwxkljdkjhsf2322k8w8kvc"
-H "Content-Type:application/json"
--request DELETE --data
'{
"contacts":
[
{
"email":"hgranger@verticalresponse.com"
{
"client_id":"6afch2wvxxdrw5zanb6wryhc",
"events":
[
{
"event_at":"2014-07-30T21:15:20.064125Z",
"event_type":"contact.create",
"user_id":7696581604448,
"data":
{
curl https://vrapi.verticalresponse.com/api/v1/hooks
-H "Content-Type:application/json"
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
--request POST --data '{"url":"http://requestb.in/12zstvn1","event_types":"contact.create"}'
{
"url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/7696581402714/stats/clicks/7696581394865",
"items": [
{
"url": "https://vrapi.verticalresponse.com/api/v1/contacts/7696584545346",
"attributes": {
"id": 7696584545346,
"first_name": "Rita",
"last_name": "Skeeter",
"email": "rskeeter@verticalresponse.com",
https://vrapi.verticalresponse.com/api/v1/messages/emails/7696581402714/stats/clicks/7696581394865
-H "Authorization: Bearer tndttwx95dy52mfxnk8w8kvc" | python -mjson.tool
{
"url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/7696581402714/stats/clicks",
"items": [
{
"attributes": {
"url": "http://www.verticalresponse.com/email/campaign1/learnmore",
"click_count": "4",
"unique_count": "2"
},
"links": {
https://vrapi.verticalresponse.com/api/v1/messages/emails/7696581402714/stats/clicks
-H "Authorization: Bearer tndttwx95dy52mfsdfsdfdw8kvc" | python -mjson.tool