Skip to main content
POST
Upload an image

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

form_id
string
required

The form's id, as shown in the dashboard and in the form's endpoint URL

Body

multipart/form-data
file
file
required

PNG, JPEG or GIF, up to 5 MB. The thank you page placements also take WebP and SVG; the email placements refuse them because email clients do not display those formats.

use
enum<string>
required

Where the image will be shown. One of self_email_notification_logo (the email you get on every submission), auto_response_logo (the reply the person who submitted receives), after_submit_logo (the thank you page) or after_submit_logo_dark (the thank you page in its dark look).

Available options:
self_email_notification_logo,
auto_response_logo,
after_submit_logo,
after_submit_logo_dark
name
string

A name for the file. Letters, digits, dashes and underscores.

Maximum string length: 64
Pattern: ^[A-Za-z0-9_-]+$

Response

url
string
required
Example:

"https://cdn.formcarry.com/.../logo.png"