Skip to Content
Projects

Set a project identity image from a URL

POST
/api/projects/{projectId}/image/url

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

Request Body

  1. body
url*string
Length1 <= length <= 2048

Response Body

Response for status 200

application/json
  1. response
project*
warning?string|null
Example Request
curl -X POST 'https://postdot.example/api/projects/string/image/url' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "string"
}'
Example Response
{
  "project": {
    "id": "string",
    "name": "string",
    "timeZone": "string",
    "workspaceId": "string",
    "primaryCategoryId": "string",
    "websiteUrl": "string",
    "imageUrl": "string",
    "imageSource": "upload",
    "createdAt": -9007199254740991,
    "updatedAt": -9007199254740991
  },
  "warning": "string"
}

Was this page helpful?