Skip to content

Instantly share code, notes, and snippets.

@tandevmode
Last active January 16, 2020 02:58
Show Gist options
  • Save tandevmode/e10deab45f3789039bca2125a223501d to your computer and use it in GitHub Desktop.
Save tandevmode/e10deab45f3789039bca2125a223501d to your computer and use it in GitHub Desktop.
curl -v -X POST https://api.line.me/v2/bot/audienceGroup/upload \
-H 'Authorization: Bearer {channel access token}' \
-H 'Content-Type: application/json' \
-d '{
"description": "regularCustomerGroup",
"isIfaAudience": "false",
"audiences":[
{
"id":"Uc0a294155281..."
},
{
"id":"Uf2h675789989..."
}
],
"audiences[].id":"user id"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment