Skip to Content
Access

Use the workspace website favicon as its identity image

POST
/api/workspaces/{workspaceId}/image/favicon

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

workspaceId*string
Length1 <= length

Response Body

Response for status 200

application/json
  1. response
workspace*
warning?string|null
Example Request
curl -X POST 'https://postdot.example/api/workspaces/string/image/favicon'
Example Response
{
  "workspace": {
    "id": "string",
    "name": "string",
    "slug": "string",
    "isDefault": true,
    "websiteUrl": "string",
    "imageUrl": "string",
    "imageSource": "upload",
    "createdAt": 0,
    "updatedAt": 0
  },
  "warning": "string"
}

Was this page helpful?