v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1371119.6 KB
organizations

Creates a CTA.

post/v1/{+parent}/ctas

Path parameters

parentstring required

Required. The parent publication resource where this CTA will be created. Format: organizations/{organization}/publications/{publication}.

Query parameters

ctaIdstring

Optional. The unique identifier of the CTA to create. If not specified, the server will generate a random CTA ID.

Request body

displayNamestring

Required. The user-visible display name of the CTA.

namestring

Identifier. The resource name of the Cta. Format: organizations/{organization}/publications/{publication}/ctas/{cta}

type'TYPE_UNSPECIFIED' | 'NEWSLETTER_SIGNUP'

Required. The type of this CTA.

state'STATE_UNSPECIFIED' | 'DRAFT' | 'ACTIVE'

Output only. The current state of this CTA.

Response

Successful response