Skip to content

Attach or use a photo in content

POST
/cms/photo/{id}/use

Creates a new attachment for an existing photo and associates it with a content item.

id
required
integer

Photo attachment id

object
id

Existing article id. If omitted, a new draft article is created.

integer
inline

If true, creates an inline image attachment.

boolean

Attachment added

object
id

New Attachment ID

integer
content_id

Content ID the attachment was added to

integer