InTouch Hub · Blue Isle Software

Drip

Drip REST API — manage subscribers, tags, and e-commerce email automation workflows.

dripemailmarketingecommerce

Drip

Manage subscribers, tags, and e-commerce email automation workflows via the Drip REST API.

Drip is an e-commerce marketing automation platform (ECRM). This tool wraps the core contact + tag endpoints so you can read and manage your audience from any InTouch job, schedule, or the AI assistant.

What it does

Calls the real Drip v2 API (https://api.getdrip.com/v2/<account_id>/...) using HTTP Basic authentication — your API token is the username and the password is empty. No external Python packages: standard library only (urllib, json, base64). Response bodies are capped at 5 MB. The raw JSON response and HTTP status are returned so a downstream step (or the assistant) can interpret them; non-2xx responses are surfaced rather than thrown, so you can inspect Drip's error document.

Operations

operation method endpoint required params
list-subscribers GET /v2/{account}/subscribers accountId
get-contact GET /v2/{account}/subscribers/{id-or-email} accountId, contact/email
upsert-contact POST /v2/{account}/subscribers accountId, email
apply-tag POST /v2/{account}/tags accountId, email, tag
list-tags GET /v2/{account}/tags accountId

Inputs

Outputs

API key setup

  1. Log in to Drip.
  2. Go to Settings → User Settings → API Token.
  3. Copy your API Token — this is the apiKey.
  4. Your account id is the numeric id shown in your Drip dashboard URL (e.g. https://www.getdrip.com/<account_id>/...) — this is accountId.

Authentication is HTTP Basic with the token as the username and an empty password (Authorization: Basic base64("<apiKey>:")).

Examples

List the first page of subscribers:

operation = list-subscribers
apiKey    = <your token>
accountId = 9999999
perPage   = 50

Fetch one contact by email:

operation  = get-contact
apiKey     = <your token>
accountId  = 9999999
email      = [email protected]

Create or update a contact with a tag and a custom field:

operation    = upsert-contact
apiKey       = <your token>
accountId    = 9999999
email        = [email protected]
tag          = Customer
customFields = {"shirt_size":"Medium"}

Apply a tag to a contact:

operation = apply-tag
apiKey    = <your token>
accountId = 9999999
email     = [email protected]
tag       = SEO

List all tags in the account:

operation = list-tags
apiKey    = <your token>
accountId = 9999999