Create or update subscriber
documentedCreate or update a subscriber.
POST /v2/{account_id}/subscribersSubscribersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.getdrip.com/v2/{{$account_id}}/subscribers" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "User-Agent: Keychains Drip Client" \
-u {{GETDRIP_API_KEY}}: \
-d @- << 'EOF'
{
"subscribers": [{
"email": "{{$email}}",
"time_zone": "{{$time_zone}}",
"first_name": "{{$first_name}}",
"last_name": "{{$last_name}}",
"custom_fields": {
"shirt_size": "{{$shirt_size}}"
},
"tags": ["{{$tag}}"]
}]
}
EOF