Skip to main content
cURL
curl "https://app.tatango.com/api/v2/lists/ID/webhooks/WEBHOOK_ID" -d '{"webhook":{"url":"https://example.com/webhook"}}' -X PUT \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -u emailaddress@mydomain.com:my_api_key \
  -H "Host: example.org" \
  -H "Cookie: "
{
  "status": "Webhook updated",
  "webhook": {
    "callback_url": "http://localhost.dev/null?api_key=foo_bar_baz",
    "created_at": "2016-09-07T14:11:13-07:00",
    "enabled": true,
    "id": 4,
    "list_id": 29,
    "message_sent": false,
    "subscribe": true,
    "unsubscribe": true,
    "updated_at": "2016-09-07T14:11:13-07:00"
  }
}

Documentation Index

Fetch the complete documentation index at: https://platform.tatango.com/llms.txt

Use this file to discover all available pages before exploring further.

Request URL

PUT https://app.tatango.com/api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}

Authorizations

Authorization
string
header
required

Tatango authenticates API requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.

Path Parameters

ID
integer
required

The ID of the list

WEBHOOK_ID
integer
required

The ID of the webhook

Body

application/json
webhook
object

Response

200 - application/json

Webhook updated successfully

status
string
required
Example:

"Webhook updated"

webhook
object
required