Destinations

Register a custom destination

Registers a custom citeables domain as a publishing destination for your organization and selects it for generation. Only type: citeables is supported. If your org already has a destination for the same domain, that existing destination is returned (with 200) instead of creating a duplicate.

post/org/destinations

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Request body

type'citeables' required

The destination type. Only citeables is supported.

namestring required

A display name for the destination.

domainstring required

The custom domain to register (e.g. blog.example.com).

Response

The existing destination for this domain (idempotent reuse).

publisher_idstring uuid required
scope'shared' | 'org' required

shared for a globally-seeded destination, org for one your organization registered.

typestring required

The destination type. Currently always citeables.

namestring required
slugstring required
display_urlstring required

The destination's display URL (its domain).

live_countinteger required

Count of your org's content currently live on this destination.

last_publish_atstring date-time

The latest publish among your org's content currently live on this destination, if any (absent once nothing is live).

selected_for_generationboolean required

Whether this destination is currently selected as a content-generation target.

Changes

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