Skip to content

Create Advertiser

POST
/api/public/advertisers
curl --request POST \
--url https://backend.podscribe.ai/api/public/advertisers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "advertiserName": "example", "itunesId": "example" }'

Create a new advertiser or return an existing one if it already exists.

Provide either advertiserName or itunesId, but not both. When itunesId is provided, the endpoint resolves or creates the show and returns the Smart Promo advertiser tied to that show.

Media typeapplication/json
One of:
object
advertiserName
required

The name of the advertiser to create. Mutually exclusive with itunesId.

string
>= 1 characters
itunesId

Podcast iTunes ID. Mutually exclusive with advertiserName.

string
>= 1 characters
Examplegenerated
{
"advertiserName": "example",
"itunesId": "example"
}

Successfully created or retrieved advertiser

Media typeapplication/json
object
advertiserName

The advertiser name

string
lookupName

The lookup name for the advertiser

string
Examplegenerated
{
"advertiserName": "example",
"lookupName": "example"
}

Invalid request data

Invalid token or insufficient permissions

Internal server error