Skip to main content
GET
/
user-social
/
{userId}
/
posts
User Posts
curl --request GET \
  --url https://api.dontdie.com/user-social/{userId}/posts \
  --header 'Authorization: Bearer <token>' \
  --header 'x-dd-client-id: <api-key>'
[
  {
    "id": "1234-5678-9012-3456",
    "event_date": "2021-01-01",
    "data_summary": "This is a post about a user",
    "data": "This is a post about a user",
    "user_id": "1234-5678-9012-3456",
    "community_id": "1234-5678-9012-3456",
    "poll_id": "1234-5678-9012-3456",
    "repost_id": "1234-5678-9012-3456",
    "post_summary": "This is a post about a user",
    "post_user_text": "This is a post about a user",
    "is_social": true,
    "created_at": "2021-01-01",
    "updated_at": "2021-01-01"
  }
]

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format: Bearer

x-dd-client-id
string
header
required

Your API client ID for the request

Path Parameters

userId
string
required

The ID of the user to get the posts for

Response

200 - application/json

OK

id
string<uuid>

The ID of the post

Example:

"1234-5678-9012-3456"

event_date
string

The date of the post

Example:

"2021-01-01"

data_summary
object
deprecated

The summary of the post

Example:

"This is a post about a user"

data
object
deprecated

The data of the post

Example:

"This is a post about a user"

user_id
string

The ID of the user who created the post

Example:

"1234-5678-9012-3456"

community_id
string

The ID of the community

Example:

"1234-5678-9012-3456"

poll_id
string

The ID of the poll

Example:

"1234-5678-9012-3456"

repost_id
string

The ID of the repost

Example:

"1234-5678-9012-3456"

post_summary
string

The summary of the post

Example:

"This is a post about a user"

post_user_text
string

The text of the post

Example:

"This is a post about a user"

is_social
boolean

Whether the post is a social post

Example:

true

created_at
string

The date of the post

Example:

"2021-01-01"

updated_at
string

The date of the post

Example:

"2021-01-01"