POST/api/v1/workspaces/{workspace_id}/branding/{kind}

Upload a logo or favicon

Uploads an image and returns its URL. It isn't used until you save that URL in the workspace's branding with Update a workspace.

API token required30 per hour per IP

Guide: Branding

Code samples and Try it

Path parameters

#
  • workspace_idstringRequired

    The workspace's id, from the address of its settings page (markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.

  • kindstringRequired

    logo or favicon.

Request body

#

multipart/form-data, required

  • filefileRequired

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
200 response: 2 fields (BrandingAssetResponse)
  • urlstring
  • kind"favicon" | "logo"
Did this page help?