Hi! I receive 400 response by running CURL examples from
- https://customer.io/docs/api/app/#operation/getPeopleFilter
- https://customer.io/docs/api/app/#operation/exportPeopleData
I didn’t change anything in the examples except for Authorization header.
I also tried other filter variants such as
```
“filter”: {}
```
or
```
“filter”: {“audience”:{“field”:”email”,”operator”:”exists”}}
```
and also got 400.
What could be wrong?
---
The script I run:
https://pastebin.com/8HDbyM5g
#!/bin/sh
curl --request POST \
--url https://api.customer.io/v1/exports/customers \
--header 'Authorization: Bearer MY_APP_API_TOKEN' \
--header 'content-type: application/json' \
--data '{"filters":{"and":\{"or":>{"segment":{"id":4}}],"not":{"and":"{"segment":{"id":4}}]},"segment":{"id":4},"attribute":{"field":"unsubscribed","operator":"eq","value":true}}]}}'
echo ""