library list
GET
/library/listThis endpoint will display list of Content Form Library
Request
Query Params
currentPage
number
optional
Page number default value = 1 if not passed
sortBy
enum<string>
optional
sorting order
Allowed values:
recentlyUsednotRecentlyUsedmostUsedleastUsed
q
string
optional
Search by keyword(Account user name)
sortOrder
enum<string>
optional
Order of sorting
Allowed values:
ASCDESC
type
enum<string>
optional
type 'POST' or 'Hashtag'
Allowed values:
hashTagpost
filterBy
number
optional
Uniq id of user by which you want to filter
tags
string
optional
tags by seprating ',' ex:mytag,newHastag
Header Params
x-api-key
string
required
required parameter to identify the api Getway
Default:
yFxaTyRTiH7YBUYeYiEeCYBMRGZA8wk5fsCJxVy1
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Library content Retrieved successfully
Data Schema
message
string
optional
Library content Retrieved successfully
response
object
optional
currentPage
number
optional
current page number
pageLimit
number
optional
page limit
totalRecords
number
optional
total records
totalPages
number
optional
total page
totalCount
number
optional
total Number of record
list
array [object {13}]
optional
Example
{
"message": "Library content Retrieved successfully",
"response": {
"totalPage": 1,
"totalRecord": 3,
"currentPage": 1,
"pageLimit": 50,
"totalCount": 3,
"list": [
{
"userData": {
"lastName": "saiyad",
"userName": "Mahammadakil"
},
"id": "ae85c094-e160-493b-a89e-bb026da229da",
"title": "Hii",
"content": {
"postDesc": "nm,",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-07-03T16:08:28.709Z",
"extraData": {
"place": null,
"enableShortUrl": false,
"currentActiveTab": "original",
"original": {
"postDesc": "nm,",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-07-03T16:08:28.709Z",
"extraData": {
"place": null,
"enableShortUrl": false
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {}
}
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {},
"boostExtraParams": {}
},
"type": "post",
"tags": [
"Tag"
],
"ownerId": 103953,
"createdBy": 103953,
"createdOn": "2023-07-03T16:08:28.709Z",
"lastEditedBy": 103953,
"lastEditedOn": "12 hours ago",
"lastUsed": "2023-07-03T16:54:10.645Z",
"totalUsed": 1
},
{
"id": "616dc42f-4140-4100-814e-1b8ed8c85aeb",
"title": "Sample Template - Festive Greetings",
"content": {
"postDesc": "Happy [Festival Name] to our wonderful community! 🎉\n\nAs we celebrate this special time, we want to express our sincere gratitude for your continued support and loyalty. It's because of you that we are able to do what we love.\n\nWe hope this [Festival Name] brings you joy, peace, and all the best this wonderful holiday has to offer. May this time of year be filled with love, understanding, and contentment as you journey towards a better year ahead. 🌟\n\nLet's spread the holiday cheer by sharing - how are you celebrating [Festival Name] this year?\n\n#Happy[FestivalName] #HolidayGreetings #Celebration #[Other Relevant Hashtags]",
"postTitle": "",
"postImage": [
"https://images.unsplash.com/photo-1609024849543-ff59df361d08?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfHNlYXJjaHw2fHxjaHJpc3RtYXN0fGVufDB8fHx8MTY4ODM3NzM5Nnww&ixlib=rb-4.0.3&q=80&w=1080"
],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 0,
"postType": "I",
"createdOn": "2023-07-03T09:43:40.464Z",
"extraData": {
"altTexts": [],
"place": null,
"enableShortUrl": false,
"currentActiveTab": "original",
"original": {
"postDesc": "Happy [Festival Name] to our wonderful community! 🎉\n\nAs we celebrate this special time, we want to express our sincere gratitude for your continued support and loyalty. It's because of you that we are able to do what we love.\n\nWe hope this [Festival Name] brings you joy, peace, and all the best this wonderful holiday has to offer. May this time of year be filled with love, understanding, and contentment as you journey towards a better year ahead. 🌟\n\nLet's spread the holiday cheer by sharing - how are you celebrating [Festival Name] this year?\n\n#Happy[FestivalName] #HolidayGreetings #Celebration #[Other Relevant Hashtags]",
"postTitle": "",
"postImage": [
"https://images.unsplash.com/photo-1609024849543-ff59df361d08?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfHNlYXJjaHw2fHxjaHJpc3RtYXN0fGVufDB8fHx8MTY4ODM3NzM5Nnww&ixlib=rb-4.0.3&q=80&w=1080"
],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 0,
"postType": "I",
"createdOn": "2023-07-03T09:43:40.464Z",
"extraData": {
"altTexts": [],
"place": null,
"enableShortUrl": false
},
"ownerId": 0,
"taggedPeople": {
"https://images.unsplash.com/photo-1609024849543-ff59df361d08?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfHNlYXJjaHw2fHxjaHJpc3RtYXN0fGVufDB8fHx8MTY4ODM3NzM5Nnww&ixlib=rb-4.0.3&q=80&w=1080": []
},
"utmSetId": "",
"utmParameters": {}
}
},
"ownerId": 0,
"taggedPeople": {
"https://images.unsplash.com/photo-1609024849543-ff59df361d08?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfHNlYXJjaHw2fHxjaHJpc3RtYXN0fGVufDB8fHx8MTY4ODM3NzM5Nnww&ixlib=rb-4.0.3&q=80&w=1080": []
},
"utmSetId": "",
"utmParameters": {},
"boostExtraParams": {}
},
"type": "post",
"tags": [
"Sample"
],
"ownerId": 0,
"createdBy": 0,
"createdOn": "2023-07-03T09:43:40.464Z",
"lastEditedBy": 0,
"lastEditedOn": "19 hours ago",
"lastUsed": "2023-07-03T09:43:40.464Z"
},
{
"userData": {
"lastName": "saiyad",
"userName": "Mahammadakil"
},
"id": "1ab47e28-aa76-43f9-a9a2-8cb67d7c4ec3",
"title": "Arena ",
"content": {
"postDesc": "Battel Ground",
"postTitle": "",
"postImage": [
"https://images.unsplash.com/photo-1547067592-463a85de7fd1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfGFsbHwyNHx8fHx8fDF8fDE2ODUzMzM0OTl8&ixlib=rb-4.0.3&q=80&w=1080"
],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "I",
"createdOn": "2023-06-28T11:47:34.740Z",
"extraData": {
"altTexts": [],
"place": null,
"enableShortUrl": false,
"currentActiveTab": "original",
"original": {
"postDesc": "Battel Ground",
"postTitle": "",
"postImage": [
"https://images.unsplash.com/photo-1547067592-463a85de7fd1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfGFsbHwyNHx8fHx8fDF8fDE2ODUzMzM0OTl8&ixlib=rb-4.0.3&q=80&w=1080"
],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "I",
"createdOn": "2023-06-28T11:47:34.740Z",
"extraData": {
"altTexts": [],
"place": null,
"enableShortUrl": false
},
"ownerId": 103953,
"taggedPeople": {
"https://images.unsplash.com/photo-1547067592-463a85de7fd1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfGFsbHwyNHx8fHx8fDF8fDE2ODUzMzM0OTl8&ixlib=rb-4.0.3&q=80&w=1080": []
},
"utmSetId": "",
"utmParameters": {}
}
},
"ownerId": 103953,
"taggedPeople": {
"https://images.unsplash.com/photo-1547067592-463a85de7fd1?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTAwODF8MHwxfGFsbHwyNHx8fHx8fDF8fDE2ODUzMzM0OTl8&ixlib=rb-4.0.3&q=80&w=1080": []
},
"utmSetId": "",
"utmParameters": {},
"boostExtraParams": {}
},
"type": "post",
"tags": [
"#MyTags"
],
"ownerId": 103953,
"createdBy": 103953,
"createdOn": "2023-05-29T04:38:29.235Z",
"lastEditedBy": 103953,
"lastEditedOn": "6 days ago",
"lastUsed": "2023-06-27T11:55:52.042Z",
"totalUsed": 4
}
]
}
}
Last modified: 18 days ago