Link object
Link
A FeedHive short link: the short URL people click and the destination it redirects to. Links created when a post publishes with Shorten links on carry that post's ID and the social account they were made for.
The Links endpoints need a plan that includes Links and an API key with the Links permissions.
| Field | Type | Description |
|---|---|---|
| id | string | Unique link identifier. |
| short_url | string | The short URL to share, such as https://fdhv.io/ab12c. |
| domain | string | The link's domain: FeedHive's short domain or your own link domain. |
| slug | string | The part after the domain. Generated, or chosen when the link uses your own domain. |
| destination_url | string | Where the link redirects. |
| title | string | The link's name in FeedHive. |
| description | string | null | Optional description. |
| preview_image_url | string | null | Image URL shown when the link is shared, if set. |
| preview_media_id | string | null | ID of an uploaded image shown when the link is shared, if set. |
| utm_source | string | null | UTM source added to the destination on each click. |
| utm_medium | string | null | UTM medium. |
| utm_campaign | string | null | UTM campaign. |
| utm_term | string | null | UTM term. |
| utm_content | string | null | UTM content. |
| labels | { id, title }[] | Labels on the link. |
| post_id | string | null | The post this link was created for, or null. |
| social_id | string | null | The social account the post link was made for, or null. |
| disabled | boolean | Whether the link is paused. A paused link doesn't redirect. |
| clicks | number | Clicks since the link was created, without bots. |
| created_at | string | ISO 8601 creation time. |
| updated_at | string | ISO 8601 time of the last change. |