Reads LinkedIn or Instagram posts from a connected account. Omit postId to list an author's posts (authorIdentifier defaults to the account holder); set postId to fetch one post. Requires a connected LinkedIn or Instagram account.
apiKeyAuth API key authentication. Create an API key in your user profile and include it in the x-api-key header.
In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid"me"1 <= length1 <= length0 <= value <= 9007199254740991101 <= value <= 100If set, fetch this single post instead of listing an author's posts
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://customermates.com/api/v1/messaging/social-posts/search" \ -H "Content-Type: application/json" \ -d '{ "connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a" }'{
"data": [
{
"object": "Post",
"id": "string",
"share_url": "string",
"created_at": "string",
"title": "string",
"text": "string",
"user_reacted": true,
"is_repost": true,
"reactions_counter": [
{
"reaction": "string",
"count": 0,
"property1": null,
"property2": null
}
],
"comments_counter": 0,
"reposts_counter": 0,
"author": {
"id": "string",
"object": "User",
"type": "individual",
"public_identifier": "string",
"display_name": "string",
"first_name": "string",
"last_name": "string",
"profile_url": "string",
"public_picture_url": "string",
"private_picture_download_url": "string",
"description": "string",
"specifics": {
"headline": "string",
"occupation": "string",
"industry": "string",
"location": "string",
"network_distance": "string",
"phone_number": "string",
"property1": null,
"property2": null
},
"property1": null,
"property2": null
},
"property1": null,
"property2": null
}
],
"total_count": 0,
"next_cursor": "string",
"property1": null,
"property2": null
}"string""string""string""string"