Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Posts

32 routes. Paths are relative to https://api.intersink.com/v1. This group belongs to a feature in beta.

All groups

Create a new post

POST/posts

Needs a signed-in user (Bearer token or access_token cookie).

Request body application/json

FieldTypeDescription
titlerequiredstringTitle of the post At most 255 characters.
descriptionstringMain description/content of the post
sub_descriptionstringSub description of the post
meta_titlestringMeta title for SEO At most 255 characters.
meta_descriptionstringMeta description for SEO
meta_keywordsstringMeta keywords for SEO At most 255 characters.
locationstringCoordinates as "lat,lng", stored rounded to about 110 m. Leave it out when unknown: no default city is ever filled in, and a post with no place of its own gets location null (or its channel business city, marked source: "channel"). At most 255 characters.
placestringWhere it was posted, for people ("Shoreditch, London") At most 120 characters.
parent_idstringParent Post ID if it is a reply or sub-post
download_linkstringDownload link if applicable At most 255 characters.
project_linkstringProject link if applicable At most 255 characters.
requiresstringRequirements or prerequisites At most 255 characters.
transcriptstringTranscript text if video/audio
attributestringPost attributes/tags
typestringPost type (e.g., post, article, video). campaign/event/job/fundraiser are reserved. At most 255 characters.
group_idstringPost into a community group (members only; never public)
publicbooleanIs this post public?
feeobjectFee amount if applicable
topicstringTopic ID
hashtagsstringHashtags (comma-separated string) At most 255 characters.
downloadsobjectDownloads count
usersstringUsers (comma-separated UUIDs)
statusstringPost status: draft or published (moderation may hold it) One of: "draft", "published".
publishedstringPublished date/time
active_profile_idstringProfile to post as (must belong to the caller; defaults to the session profile)

Response

201. The payload in data is not described in the spec yet.

One public post of the channel (x-ref / X-App-Key), with media, counts and the viewer's like

GET/posts/{id}

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query

Response

200. The payload in data is of type object.

Update my post

PATCH/posts/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Request body application/json

FieldTypeDescription
titlestringTitle of the post At most 255 characters.
descriptionstringMain description/content of the post
sub_descriptionstringSub description of the post
meta_titlestringMeta title for SEO At most 255 characters.
meta_descriptionstringMeta description for SEO
meta_keywordsstringMeta keywords for SEO At most 255 characters.
locationstringCoordinates as "lat,lng", stored rounded to about 110 m. Leave it out when unknown: no default city is ever filled in, and a post with no place of its own gets location null (or its channel business city, marked source: "channel"). At most 255 characters.
placestringWhere it was posted, for people ("Shoreditch, London") At most 120 characters.
parent_idstringParent Post ID if it is a reply or sub-post
download_linkstringDownload link if applicable At most 255 characters.
project_linkstringProject link if applicable At most 255 characters.
requiresstringRequirements or prerequisites At most 255 characters.
transcriptstringTranscript text if video/audio
attributestringPost attributes/tags
typestringPost type (e.g., post, article, video). campaign/event/job/fundraiser are reserved. At most 255 characters.
group_idstringPost into a community group (members only; never public)
publicbooleanIs this post public?
feeobjectFee amount if applicable
topicstringTopic ID
hashtagsstringHashtags (comma-separated string) At most 255 characters.
downloadsobjectDownloads count
usersstringUsers (comma-separated UUIDs)
statusstringPost status: draft or published (moderation may hold it) One of: "draft", "published".
publishedstringPublished date/time
active_profile_idstringProfile to post as (must belong to the caller; defaults to the session profile)

Response

200. The payload in data is not described in the spec yet.

Delete my post

DELETE/posts/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Fetch comments and replies for a post

GET/posts/{id}/comments

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Add a comment or reply to a post

POST/posts/{id}/comments

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Dislike or Un-dislike a post

POST/posts/{id}/dislike

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Make a donation on a post

POST/posts/{id}/donate

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
Idempotency-Keystring, headerOptional client-generated key (8-128 chars, [A-Za-z0-9_-]). A retry with the same key and body replays the first response (Idempotent-Replayed: true); 409 while the first is in flight; 422 if the body differs.

Request body application/json

FieldTypeDescription
amountrequirednumberMinimum 1, maximum 10000000.
messagerequiredstringAt most 255 characters.
namestringAt most 255 characters.
active_profile_idstring
anonymousboolean

Response

201. The payload in data is not described in the spec yet.

Get all donations for a post

GET/posts/{id}/donations

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Attach a file to a post

POST/posts/{id}/files

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is of type object.

Remove a file from a post

DELETE/posts/{id}/files/{file_id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
file_idrequirednumber, path

Response

200. The payload in data is not described in the spec yet.

Attach multiple files to a post in bulk

POST/posts/{id}/files/bulk

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. data is object[].

Like or Unlike a post

POST/posts/{id}/like

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Profiles who liked a post + total count (drawer)

GET/posts/{id}/likes

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
limitrequiredstring, query
offsetrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Repost, quote-repost, or unrepost a post

POST/posts/{id}/repost

Needs a signed-in user (Bearer token or access_token cookie).

No comment = plain repost/unrepost toggle. A non-empty comment makes it a quote repost (adds/updates the quote text; never toggles off). The quote is trimmed, max 280 characters, and moderated (400 when not approved). Response: { reposted, quoted, comment }.

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is of type object.

Profiles who reposted a post + total count (drawer)

GET/posts/{id}/reposts

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
limitrequiredstring, query
offsetrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Save or Unsave a post

POST/posts/{id}/save

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path
active_profile_idrequiredstring, query

Response

201. The payload in data is not described in the spec yet.

Share or Unshare a post

POST/posts/{id}/share

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Profiles who shared a post + total share count

GET/posts/{id}/shares

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path
limitrequiredstring, query
offsetrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Record a post view (deduplicated per viewer)

POST/posts/{id}/view

Public: no sign-in needed.

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Update my comment

PATCH/posts/comment/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Delete my comment

DELETE/posts/comment/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Like or Unlike a comment

POST/posts/comment/{id}/like

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

201. The payload in data is not described in the spec yet.

Fetch all comments written by me

GET/posts/comments/my

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Get posts feed only from followed profiles

GET/posts/following

Needs a signed-in user (Bearer token or access_token cookie).

Response

200. The payload in data is not described in the spec yet.

Fetch all posts liked by me

GET/posts/likes/my

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query
includerequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is of type object.

Fetch all my posts

GET/posts/my

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Fetch a single post of mine

GET/posts/my/{id}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
idrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Get a profile's combined feed: its own posts + reposts (with attribution)

GET/posts/profile/{profileId}

Public: no sign-in needed.

Parameters

NameTypeDescription
profileIdrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Fetch all posts reposted by me

GET/posts/reposts/my

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query

Response

200. The payload in data is not described in the spec yet.

Fetch all posts saved by me

GET/posts/saves/my

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
active_profile_idrequiredstring, query
includerequiredstring, query
pagerequiredstring, query
limitrequiredstring, query

Response

200. The payload in data is of type object.

Get trending posts feed based on views, comments, and likes

GET/posts/trending

Public: no sign-in needed.

Response

200. The payload in data is not described in the spec yet.