Skip to Content
Posts

Keep a quote on the post until it can be posted

Text meant for another account that quotes this post once it is published. Postdot never publishes it; the same text is kept once.

POST
/api/projects/{projectId}/posts/{postId}/pending-quotes

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
postId*string
Length1 <= length

Request Body

  1. body
label*string
Lengthlength <= 500
text*string
Match\S
Length1 <= length <= 10000

Response Body

Response for status 200

application/json
  1. response
pendingQuotes*array<>
Example Request
curl -X POST 'https://postdot.example/api/projects/string/posts/string/pending-quotes' \
  -H 'Content-Type: application/json' \
  -d '{
  "label": "string",
  "text": "string"
}'
Example Response
{
  "pendingQuotes": [
    {
      "id": "string",
      "label": "string",
      "text": "string",
      "createdAt": 0
    }
  ]
}

Was this page helpful?