admin-email-templates

Add Attachment

Upload a file and attach it to the template.

Files are stored in the tenant's configured object storage (GCS or OBS). Capped at 10 MB per attachment.

post/api/v1/admin/email-templates/{template_id}/attachments

Request

  • Base URL
    https://api.ninjavan.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ninjavan.co/api/v1/admin/email-templates/{template_id}/attachments
  • Auth
    none declared

Path parameters

template_idinteger required

Headers

authorizationstring nullable
X-API-Keystring nullable

Request body multipart/form-data

filestring binary required

Response

Successful Response

idinteger required
template_idinteger required
storage_keystring required
filenamestring required
content_typestring nullable
size_bytesinteger nullable
created_byinteger nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 10 revisions of this API.