Skip to content

Rule.io SDK


Rule.io SDK / client/src / CreateBrandStyleFromDomainPayload

Interface: CreateBrandStyleFromDomainPayload

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:205

Payload for BrandStylesClient.createFromDomain.

Example

typescript
const style = await client.brandStyles.createFromDomain({ domain: 'example.com' });

Properties

domain

domain: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:207

Domain to fetch brand assets from (e.g. 'example.com').