curl --location --request GET '/api/segments' \ --header 'Authorization: {{auth}}' \ --form 'search[type]="campaign"'
{}