Advertisement
Guest User

Untitled

a guest
Sep 14th, 2023
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. curl --request POST \
  4. --url https://api.customer.io/v1/exports/customers \
  5. --header 'Authorization: Bearer MY_APP_API_TOKEN' \
  6. --header 'content-type: application/json' \
  7. --data '{"filters":{"and":[{"or":[{"segment":{"id":4}}],"not":{"and":[{"segment":{"id":4}}]},"segment":{"id":4},"attribute":{"field":"unsubscribed","operator":"eq","value":true}}]}}'
  8.  
  9. echo ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement