Draft list
GET
/draft/listThis endpoint will display All Draft's
Request
Query Params
page
number
optional
Page number default value = 1 if not passed
limit
number
optional
Number of draft displayed, default value = 10 if not passed.
q
string
optional
Search by keyword(Draft Desc)
group
string
optional
Filter Draft by groupId (group = 123-456-789, 123-456-789, ... )
platform
string
optional
Filter Draft by platform ( platform = 5, 9, 13, ... )
account
string
optional
Filter Draft by account, (account = 1010711,1010717)
multiFilter
boolean
optional
multifilter is given or Not.
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
Draft list displayed successfully
Data Schema
message
string
optional
Draft list displayed successfully
response
object
optional
companyName
string
optional
company user name
currentPage
number
optional
current page number
pageLimit
number
optional
page limit
totalRecords
number
optional
total records
totalPages
number
optional
total page
list
array [object {30}]
optional
Example
{
"message": "Draft List Displayed successfully.",
"response": {
"currentPage": 1,
"pageLimit": 50,
"totalRecords": 2,
"totalPages": 1,
"companyName": "MyUsername",
"list": [
{
"postDesc": "Draft1",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "Jun 06, 2023 05:46 PM",
"extraData": {
"place": null,
"enableShortUrl": true,
"currentActiveTab": "original",
"original": {
"postDesc": "Draft1",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-06-06T12:16:34.459Z",
"extraData": {
"place": null,
"enableShortUrl": true
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {},
"via": "yFxaTyRTiH7YBUYeYiEeCYBMRGZA8wk5fsCJxVy1"
}
},
"ownerId": 103953,
"taggedPeople": {},
"via": "Web",
"boostExtraParams": {},
"draftId": "e180be9f-c9ae-44e5-8bd2-f51e98d619b4",
"account": [
{
"isReconnect": false,
"accountId": 5,
"profilePicture": "https://graph.facebook.com/112993365040579/picture?type=square&access_token=EAAU579TDpf0BAG1E4qVlR2ZAUZAOKwHAZB4hZAnsgEvF6kgIWCZAk5hFsYc3pa1xg28jMw3LUlNd5Nx3NhaTgtWwVXhtKIXZBWaBVbV6w1hoZBfGEim5Wd6KON5pYiXMc3t3rPPpB0Ik8vXSEIcHogZBegsjRMl1EVDbCIZC6LjAX0FkbMwcShpe44GtWmOX2So0ZD",
"accountUsername": "FB_Page",
"accountUrl": "https://www.facebook.com/TestPage-112993365040579/",
"color": "#3b5998",
"postSharingAccess": {
"hasPermission": true,
"hasTask": true
},
"socialInboxAccess": {
"hasPermission": true,
"hasTask": true
},
"pageAnalyticsAccess": {
"hasPermission": true,
"hasTask": true
},
"loginId": 1010711,
"isPaused": false,
"accountMaster": {
"accountName": "Facebook Pages",
"scenario": "facebook-official"
}
}
]
},
{
"postDesc": "Draft2",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "Jun 06, 2023 05:46 PM",
"extraData": {
"place": null,
"enableShortUrl": true,
"currentActiveTab": "original",
"original": {
"postDesc": "Draft2",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-06-06T12:16:13.231Z",
"extraData": {
"place": null,
"enableShortUrl": true
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {},
"via": "yFxaTyRTiH7YBUYeYiEeCYBMRGZA8wk5fsCJxVy1"
}
},
"ownerId": 103953,
"taggedPeople": {},
"via": "Web",
"boostExtraParams": {},
"draftId": "771187e4-4ea5-44ed-8ac0-3d76e7775959",
"account": [
{
"isReconnect": false,
"accountId": 5,
"profilePicture": "https://graph.facebook.com/117912234570127/picture?type=square&access_token=EAAU579TDpf0BAAjMAw3OtTZBN9SPmLVPUSvJZC4M61NblYnMUhCsdrpiGJOsvrLNevZAEUG70kCiugsuXVSaav5FZCxC3E76t3Q0p3fj0s1DzV1gZB38wcWLjCkTLVZBVfyvTa3yZBhokzGbQHkcwqQgprRBG2eBgJfXWefM6Sk2kh3SgnEtMkALgqbl7sTyP8ZD",
"accountUsername": "FB_Profile",
"accountUrl": "https://www.facebook.com/AKIL-117912234570127/",
"color": "#3b5998",
"postSharingAccess": {
"hasPermission": true,
"hasTask": true
},
"socialInboxAccess": {
"hasPermission": true,
"hasTask": true
},
"pageAnalyticsAccess": {
"hasPermission": true,
"hasTask": true
},
"loginId": 1010710,
"isPaused": false,
"accountMaster": {
"accountName": "Facebook Pages",
"scenario": "facebook-official"
}
},
{
"isReconnect": false,
"accountId": 5,
"profilePicture": "https://graph.facebook.com/112993365040579/picture?type=square&access_token=EAAU579TDpf0BAG1E4qVlR2ZAUZAOKwHAZB4hZAnsgEvF6kgIWCZAk5hFsYc3pa1xg28jMw3LUlNd5Nx3NhaTgtWwVXhtKIXZBWaBVbV6w1hoZBfGEim5Wd6KON5pYiXMc3t3rPPpB0Ik8vXSEIcHogZBegsjRMl1EVDbCIZC6LjAX0FkbMwcShpe44GtWmOX2So0ZD",
"accountUsername": "FB_Page",
"accountUrl": "https://www.facebook.com/TestPage-112993365040579/",
"color": "#3b5998",
"postSharingAccess": {
"hasPermission": true,
"hasTask": true
},
"socialInboxAccess": {
"hasPermission": true,
"hasTask": true
},
"pageAnalyticsAccess": {
"hasPermission": true,
"hasTask": true
},
"loginId": 1010711,
"isPaused": false,
"accountMaster": {
"accountName": "Facebook Pages",
"scenario": "facebook-official"
}
}
]
}
]
}
}
Last modified: 18 days ago