Place an image on a whiteboard
Place an image on a whiteboard. Pass source_url (a public http/https image, fetched in the background, max 10 MB) or image_document_id (an image already in the whiteboard's Space; one outside the folder from documents.whiteboard_files_folder is copied into it). PNG, JPEG, GIF, WebP, AVIF and HEIC are accepted; HEIC is converted to WebP. The element appears at once with status loading and turns ready (with document_id) or failed (with an error code). With element_id the image goes into that instagram element instead (a post's image is replaced).
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: document_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/documents/123e4567-e89b-42d3-a456-426614174000/whiteboard/images" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{}'{ "document_id": "123e4567-e89b-42d3-a456-426614174000", "element_id": "example"}