Content

Replace content

put/api/v1/content/{id}

Request

  • Base URL
    https://app.promptingco.com
  • URL
    https://app.promptingco.com/api/v1/content/{id}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer
    • or API key in cookie better-auth.session_token

Path parameters

idstring required

Request body

filePathstring
titlestring
contentstring
isManualboolean
sourceUrlstring
cssSelectorstring nullable
cssExcludeSelectorstring nullable
redirectToUrlstring nullable
redirectAudience'ai-referral' | 'all'
tiptapJsonunknown
descriptionstring nullable
descriptionForAgentstring nullable
metaTitlestring nullable
metaDescriptionstring nullable
canonicalUrlstring nullable
ogTitlestring nullable
ogDescriptionstring nullable
ogImagestring nullable
twitterTitlestring nullable
twitterDescriptionstring nullable
twitterImagestring nullable
noIndexboolean
tagsstring[]
prioritynumber nullable

Response

Successful response

oktrue required

Changes

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