AttuneMail DocsTroubleshooting
Customer events

Connect Segment or RudderStack

Reuse a Segment-compatible server library by changing the data-plane URL and write key.

Updated 2026-08-236 minCreate a compatible connection

Connection settings

SettingValue
Data-plane or API base URLhttps://www.attunemail.com/v1
Write keyThe one-time AttuneMail connection secret
Collection environmentServer-side only
Preferred transportBatch, up to 500 messages

Supported calls

  • track for customer behavior
  • identify for customer traits
  • group for company or account context
  • alias for identifier transitions
  • page and screen for deliberate server-side navigation signals
  • batch for mixed message types and efficient delivery

Safe cutover

  1. 01

    Create a staging connection

    Mirror a small, non-sensitive event set and compare received counts and schemas.

  2. 02

    Preserve messageId

    Forward the producer's original message ID so retries and dual-delivery do not create duplicate customer events.

  3. 03

    Validate identity

    Confirm anonymous-to-known transitions and customer email traits before enabling any journey.

  4. 04

    Move production traffic

    Create a separate production connection, update the destination, then monitor failures and unknown schemas.

Send compatible messages

Mixed batch payload
Copy
cURLNode.jsPython
curl -u 'ame_replace_me:' -H 'Content-Type: application/json' -d '{"batch":[{"type":"identify","messageId":"id_123","userId":"cus_123","traits":{"email":"customer@example.com"}},{"type":"track","messageId":"evt_123","userId":"cus_123","event":"workspace.created"}]}' https://www.attunemail.com/v1/batch