Edit a draft and refresh its quote.

patch/v1/drafts/{id}

Request

  • Base URL: https://paperagent.dev
  • URL: https://paperagent.dev/v1/drafts/{id}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://paperagent.dev/oauth/authorize, token URL https://paperagent.dev/oauth/token, scopes: letters:write)
    • API key in header X-Api-Key
    • HTTP bearer

Path parameters

idstring required

Request body

tier'standard' | 'proof_of_mailing' | 'certified' | 'certified_err' | 'registered'
colourboolean
from_address_idstring nullable
extrasstring[]

Response

Success

notestring required

Changes

No recorded changes to this operation across all 1 revision of this API.