BlogPosts

Create blog post

Creates a new blog post.

post/blog_posts

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/blog_posts
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

titlestring
contentstring
status'draft' | 'published' | 'scheduled' | 'archived'
slugstring
excerptstring
blog_category_idinteger nullable
published_atstring date-time nullable
scheduled_atstring date-time nullable

Response

Blog post created

idstring required
objectstring required
titlestring required
slugstring required
contentstring required
status'draft' | 'published' | 'scheduled' | 'archived' required
excerptstring required
published_atstring date-time nullable required
scheduled_atstring date-time nullable required
created_atstring date-time required
updated_atstring date-time required
urlstring required
categorystring nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.