Skip to main content
POST
Enrich advertising asset IDs

Authorizations

x-api-key
string
header
required

A server-side Bily API key created under Settings > AI tools > Access keys. Select the intended workspace before creating it.

Headers

x-bily-organization-id
string

An organization ID returned by GET /context or GET /organizations. Omit it when a scoped key supplies the organization. Otherwise provide it when no organization is selected.

Example:

"org_01J8W7T9G3E6ZQ4M2K5N8P1R0S"

Path Parameters

resourceUrl
string
required

The canonical website or Shopify hostname returned by customer context. The hostname determines the resource type.

Example:

"store.example.com"

Body

application/json
channel
string
required
campaignIds
string[]
adsetIds
string[]
adIds
string[]

Response

Request completed successfully.

assets
object[]
required