Access
Upload a workspace identity image
POST
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
workspaceId*stringLength
1 <= length- body
base64*stringBase64-encoded raster image bytes (maximum decoded size 2 MB).
Length
4 <= length <= 2796204Response for status 200
application/json- response
workspace*warning?string|nullcurl -X POST 'https://postdot.example/api/workspaces/string/image' \
-H 'Content-Type: application/json' \
-d '{
"base64": "string"
}'Example Response
{
"workspace": {
"id": "string",
"name": "string",
"slug": "string",
"isDefault": true,
"websiteUrl": "string",
"imageUrl": "string",
"imageSource": "upload",
"createdAt": 0,
"updatedAt": 0
},
"warning": "string"
}