Assets
Upload an image
Send multipart/form-data with a file field, or JSON with base64 data. Maximum 5MB. Allowed: jpeg, png, gif, webp, svg. Returns the CDN url to use as ogImage or inside page code.
post/api/v1/assets
Request
- Base URL: https://usewait.com
- URL: https://usewait.com/api/v1/assets
- Auth: HTTP bearer
Request body
Example request
{
"contentType": "image/png"
}Response
The uploaded asset.
Changes
No recorded changes to this operation across all 1 revision of this API.