Skip to Content
Channels

Upload a channel identity image

POST
/api/projects/{projectId}/channels/{channelId}/image

Authorization

headerAuthorizationBearer <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.

Path Parameters

projectId*string
Length1 <= length
channelId*string
Length1 <= length

Query Parameters

expectedRevision?integer
Range1 <= value

Request Body

  1. body
base64*string

Base64-encoded raster image bytes (maximum decoded size 2 MB).

Length4 <= length <= 2796204

Response Body

Response for status 200

application/json
  1. response
channel*
warning?string|null
Example Request
curl -X POST 'https://postdot.example/api/projects/string/channels/string/image' \
  -H 'Content-Type: application/json' \
  -d '{
  "base64": "string"
}'
Example Response
{
  "channel": {
    "id": "string",
    "name": "string",
    "profileVersionId": "string",
    "state": "active",
    "archivedAt": -9007199254740991,
    "websiteUrl": "string",
    "imageUrl": "string",
    "imageSource": "upload",
    "executionMode": "automatic",
    "revision": -9007199254740991,
    "createdAt": -9007199254740991,
    "updatedAt": -9007199254740991,
    "projectId": "string",
    "profileId": "string"
  },
  "warning": "string"
}

Was this page helpful?