All Products
Search
Document Center

Chat App Message Service:CreateCustomAudience

Last Updated:Dec 22, 2025

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

CustSpaceId

string

Yes

The Space ID of the Independent Software Vendor (ISV) sub-customer or the instance ID of the direct customers. This is the channel ID. Find the ID on the Channel Management page.

cams-***

PageId

string

Yes

The Page ID for Messenger.

239***

AdAccountId

string

Yes

The Meta ad account ID.

23**

Name

string

Yes

The name of the custom audience.

audience name

Description

string

No

The description.

desc

UploadType

string

Yes

The upload type. Valid values:

  • excel

  • intf

excel

FilePath

string

No

The file path.

bucket/file.xlsx

Response elements

Element

Type

Description

Example

object

AccessDeniedDetail

string

Details about the access denial.

CustomAudienceId

string

The ID of the custom audience.

393**

Message

string

The error message.

OK

RequestId

string

The request ID.

dd**

Code

string

The request status code.

  • OK indicates that the request was successful.

  • For other error codes, see Error codes.

OK

Success

boolean

Indicates whether the call was successful.

  • true: successful.

  • false: failed.

false

Examples

Success response

JSON format

{
  "AccessDeniedDetail": "None",
  "CustomAudienceId": "393**",
  "Message": "OK",
  "RequestId": "dd**",
  "Code": "OK",
  "Success": false
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.