channels
messenger
audiences-messenger

Create custom audience

Create a new custom audience for marketing messages. Users can be uploaded to this audience to grow the marketing messages subscriber base.

post/messenger/1/audiences

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

namestring required

Custom audience name.

descriptionstring

Custom audience description.

adAccountIdstring required

Facebook ad account ID.

pageIdstring required

Facebook page ID linked to marketing messages.

Example request

{
  "name": "My CRM Audience",
  "description": "Q3 campaign target users",
  "adAccountId": "act_3339405976215927",
  "pageId": "108968269613427"
}

Response

Audience created successfully.

idstring

Meta custom audience ID.

namestring

Custom audience name.

descriptionstring

Custom audience description.

adAccountIdstring

Facebook ad account ID.

pageIdstring

Facebook page ID.

Example response

{
  "id": "52512562968362",
  "name": "My CRM Audience",
  "description": "Q3 campaign target users",
  "adAccountId": "act_3339405976215927",
  "pageId": "108968269613427"
}

Changes

No recorded changes to this operation across all 1 revision of this API.