Skip to navigation

Create image

Adds an image in your Typeform account.

Specify the URL of your image or send your image in base64 format, which encodes the image data as ASCII text. You can use a tool like Base64 Image Encoder to get the base64 code for the image you want to add.

Authentication

Authorizationstring

To authenticate to any Typeform API, you’ll need to pass a public API access token to the Authorization header in the form of Bearer <accessToken>. For calls inside the private network the same applies, but a JWT should be passed instead of a public API access token.

Request

The image request payload. You must specify either image and file_name or url.

file_namestringOptional
File name for the image.
imagestringOptional

Base64 code for the image. Note that base64 encoders may add descriptors to the code (such as data:image/png;base64,). Do not include these descriptors in your image string---include only the base64 code.

urlstringOptional
URL of the image.

Response

Created