$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "slWorkspaceIdToken": "T00000000;xoxc-example;workspace-name",
< "slChannelUrl": "https://app.slack.com/client/T00000000/C00000000",
< "maxCount": 10,
< "texAuVariables": {
< "yourCompanyDescription": "Example company description",
< "yourUsp": "Example USP"
< },
< "connectedAccountId": "example_connected_account_id",
< "d": "xoxd-example",
< "user-agent": "Mozilla/5.0 ...",
< "txSlackUserId": "example-slack-user-id",
< "User-Agent": "Mozilla/5.0 ...",
< "txSmSelfProfileUrl": "example-self-profile-id",
< "proxy": {
< "ip": "http://proxy.example.com",
< "port": "1080",
< "username": "example_username",
< "password": "example_password"
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/automationagents~slack-channel-members-export/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'