content-agent

Update Content Item Endpoint

Update a content item (creative prompt, copy, status, schedule, etc.).

patch/api/v1/content-agent/items/{item_id}

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/content-agent/items/{item_id}
  • Auth: HTTP bearer

Path parameters

item_idinteger required

Query parameters

client_user_idinteger nullable

Client user ID to view data for

Headers

x-lapis-dev-tokenstring nullable
x-assume-user-idinteger nullable

Request body

scheduled_datestring nullable
themestring nullable
descriptionstring nullable
content_typestring nullable
platformstring nullable
dimensionsstring nullable
creative_promptstring nullable
ad_copyobject nullable
statusstring nullable
budgetnumber nullable
target_audienceobject nullable
campaign_objectivestring nullable

Response

Successful Response

idinteger required
calendar_idinteger nullable
content_typestring required
platformstring required
scheduled_datestring nullable
themestring nullable
descriptionstring nullable
creative_promptstring nullable
ad_copyobject nullable
dimensionsstring nullable
budgetnumber nullable
duration_daysinteger nullable
target_audienceobject nullable
campaign_objectivestring nullable
image_urlstring nullable
statusstring required

Changes

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