Skip to content

Instantly share code, notes, and snippets.

{
"url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/clicks/8796093024350",
"items": [
{
"url": "https://vrapi.verticalresponse.com/api/v1/contacts/8796093286573",
"attributes": {
"id": 8796093286573,
"first_name": "Dolores",
"last_name": "Umbridge",
"email": "dumbridge@verticalresponse.com",
curl https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/clicks/8796093024350
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
{
"url": "https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/clicks",
"items": [
{
"attributes": {
"url": "https://vr2.verticalresponse.com/emails/8796093022831?contact_id=8796093286573&from_email=false&sk=akYEB2JgIjBLRQZBQAPcF5D7lFzvP5UdZCzcmGIuQybU%3D%2FaHR0cHM6Ly92cjIudmVydGljYWxyZXNwb25zZS5jb20vZW1haWxzLzg3OTYwOTMwMjI4MzE_Y29udGFjdF9pZD04Nzk2MDkzMjg2NTczJmZyb21fZW1haWw9ZmFsc2U%3D%2FPiOVfKj3MOJgpVC3QrFZXA%3D%3D",
"click_count": "1",
"id": 8796093024350,
"clicked_at": "2014-03-31T05:08:12Z",
"unique_count": "1"
curl https://vrapi.verticalresponse.com/api/v1/messages/emails/8796093022831/stats/clicks
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
{
"success":
{
"code":200,
"message":"Hook deleted."
},
"links":
{
"up":
{
curl https://vrapi.verticalresponse.com/api/v1/hooks/1
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
--request DELETE
{
"url": "https://vrapi.verticalresponse.com/api/v1/hooks",
"items": [
{
"url": "https://vrapi.verticalresponse.com/api/v1/hooks/7",
"attributes": {
"id": 7,
"url": "http://requestb.in/st17kpst",
"event_types": [
"contact.create"
curl https://vrapi.verticalresponse.com/api/v1/hooks
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
curl https://vrapi.verticalresponse.com/api/v1/hooks/1
-H "Authorization: Bearer tndttwx95dsdfsfsfskvc"
-H "Content-Type:application/json" --request PUT --data '{"event_types":"contact.create"}'
{
"url": "https://vrapi.verticalresponse.com/api/v1/hooks/8",
"success": {
"code": 200,
"message": "Hook updated."
},
"links": {
"up": {
"url": "https://vrapi.verticalresponse.com/api/v1/hooks"
}