Rehost a brand asset for email or social use

Creates a real hosted copy of an existing brand asset using the dashboard media rehost pipeline. Use this when a brand asset read returns url: null, such as a Drive-linked asset, before referencing it in generated content.

post/brand-kit/assets/{id}/rehost

Request

  • Base URL: https://sendinel.ai/api/v1
  • URL: https://sendinel.ai/api/v1/brand-kit/assets/{id}/rehost
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://sendinel.ai/oauth/authorize, token URL https://sendinel.ai/oauth/token)

Path parameters

idstring uuid required

Brand media asset id.

Request body

purpose'email' | 'social' required
platformsstring[]

Optional target platform context for social validation.

Response

Hosted asset URL and asset metadata

Changes

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