68.0
Add a custom font to a Marketing Cloud Next content workspace by using Connect API. Use custom fonts in emails, landing pages, forms, and content blocks without relying on a publicly available content delivery network (CDN) URL. You can upload a font file or specify a reference to a font file at an external URL.
This table lists the Custom Font content use cases that Connect API supports.
| Supported Use Case | HTTP Verb | URI |
|---|---|---|
| Add a font | POST | /services/data/{apiVersion}/connect/cms/contents |
| Retrieve font information | GET | /services/data/{apiVersion}/connect/cms/contents/{contentId} |
To create Custom Font content from a file, send a multipart/form-data request that includes the content definition and the font file. To create Custom Font content from a URL, send an application/json request. For URL sources, the API doesn't validate that the URL resolves to a font file. Use a direct URL to a font binary, such as a .woff2, .ttf, or .otf file.
For more information, see Manage Custom Fonts in Marketing Cloud Next.
Let us know so we can improve!