Posts
This endpoint is used to obtain the list of posts of a social profile.
Retrieve posts
Attention! Data schema in development. Results might change.
List of all posts in Asters for socialAccountId
POST
https://api.asters.ai/external/posts/:socialAccountId
Call to retrieve all posts of a social account. It will be possible to search by:
— Page : Number that indicate page for pagination
— Labels : Array with list of identifiers. Labels associated with posts saved in Asters
— PostCollectionId : Identifier of post collections, useful to aggregate the posts published with same batch
---
The post url will be exported in two different forms:
— AstersLink : Only for Instagram Stories and other media files that are not available after 24h
— ProviderLink: All other cases
The Asters links are hosted on "AWS S3 Bucket on Frankfurt".
Path Parameters
socialAccountId*
String
Identifier of social socialaccount
language*
String
Language of the description
Headers
x-asters-token*
String
API Key generated in Asters for user authentication
Request Body
page
String
Page id, if null returns first page
labels
Array<String>
List of label ids
postCollectionId
String
Identifier of post collections, useful to aggregate the posts published with same batch
Labels
List of all labels in a workspace
GET
https://api.asters.ai/external/labels/:workspaceId
Returns labels in a workspace.
Path Parameters
metricId*
String
Identifier of the metric requested
Headers
x-asters-token*
String
API Key generated in Asters for user authentication
Request Body
socialAccountId*
String
Social account id of the account
startDate*
Date
Start date of the metrics
endDate*
Date
End date of the metrics
Last updated
Was this helpful?