Create Post Subscription

POST {{baseUrl}}/api/v2/community/posts/:post_id/subscriptions

Creates a subscription to a given post.

Allowed for

  • End users

Agents with the Help Center manager role can optionally supply a subscription object containing a user_id value. If provided, the user associated with user_id will be subscrbed to the post.

Pagination

  • Cursor pagination (recommended)
  • Offset pagination

See Pagination.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: Created

{"subscription":{"locale":"\u003cstring\u003e","content_id":"\u003cinteger\u003e","content_type":"\u003cstring\u003e","created_at":"\u003cstring\u003e","id":"\u003cinteger\u003e","include_comments":"\u003cboolean\u003e","source_locale":"\u003cstring\u003e","updated_at":"\u003cstring\u003e","url":"\u003cstring\u003e","user_id":"\u003cinteger\u003e"}}