Curate content (v2)
Create a curation for any channel within an organization. Note that the v2 api requires a key generated from within the organization-level settings.
Provided that you are curating the same url, Letterhead will not create a duplicate curation, and you can use this endpoint to also update one if it is already in the system.
Version note: at present, you can only pass one channel identifier to channels. Shortly, you will able to pass multiple, or none - which will represent “all channels.”
scrape is not presently an option, but will be added.
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
required | When true, instructs the endpoint that you’re authenticating with an organization key as opposed to some other method. In almost all cases you will want to set this value to true.
Example
truerequired | string[] | An array of channel identifiers (or channel “slugs”) across which to create a curation.
Example
{{channelSlug}}optional | html content for the curation, only p and formatting elements are allowed. You would use this if
Example
optional | Plain text excerpt of the curated content. Will overwrite what we fetch from the URL.
Example
optional | The URL of a featured image to associate with this piece of content.
Example
optional | The Y-md H:i:s formatted date of publication.
Example
optional | The name of the site the curated content originated from.
Example
optional | string[] | An optional array of string tags with which to associate this piece of content. Example: ['dogs', 'canines']
Example
optional | Title of the curated content. Will overwrite what we fetch from the URL.
Example
required | URL to the content you would like Letterhead to crawl. We will fetch what we can glean from the site’s Open Graph.
Example
https://letterhead.aiResponses
Section titled “ Responses ”Still can’t find what you need? Contact support.