Links
Set Link OpenGraph
Set custom OpenGraph metadata for a link to control social media previews.
Requires:
- Feature: links.opengraph
Blocked by:
- Link deleted (status=3)
- Revoked workspace
- Revoked domain
Workspace Type: Classic or Gallery workspaces only.
post/links/{link_id}/opengraph
Request
- Base URLhttps://api.rebrandly.com/v1
- URLhttps://api.rebrandly.com/v1/links/{link_id}/opengraph
- AuthAPI key in header apikey
Path parameters
link_idstring required
Link public ID
Headers
Workspacestring
Example:workspace123abc
Workspace public ID
apikeystring required
API key for authentication
Request body
Response
OpenGraph metadata set
Changes
No recorded changes to this operation across all 1 revision of this API.