Clone a queue item
POST/social-media-posting/category/queues/:queueId/items/:itemId/clone
Duplicates an existing queue item at a specified order position. Requires an active edit session.
Request
Version stringrequired
API Version
Available options
v3queueId stringrequired
itemId stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location ID
sessionIdstringrequired
Edit session ID
ordernumberrequired
Order for the cloned item (typically between source and next item)
{
"locationId": "609e126a1c4ae1001291e1b5",
"sessionId": "60af88475f1b2c001f5d5f4b",
"order": 1.5
}
Queue item cloned successfully.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
statusCodenumberrequired
resultsobjectrequired
traceIdstring
{
"success": true,
"statusCode": 201,
"results": {
"message": "Queue item cloned successfully",
"queueItem": {
"_id": "60af88475f1b2c001f5d5f4b",
"order": 1000,
"variations": [
{
"_id": "60af88475f1b2c001f5d5f4c",
"content": "Check out our latest blog post! #marketing #socialmedia",
"mentions": [
{
"platform": "instagram",
"username": "example_user",
"offset": 10,
"length": 12
}
],
"ogTags": {
"metaLink": "https://example.com",
"metaImage": "https://example.com/image.png",
"ogTitle": "Example Title"
}
}
],
"primaryImage": "https://example.com/images/post-image.png",
"lastScheduledTime": null,
"queueId": "60af88475f1b2c001f5d5f4a",
"postId": "60af88475f1b2c001f5d5f4d",
"modifiedPostPayload": {
"_id": "61bb16833b3f2791f9715be2",
"source": "composer",
"locationId": "ve9EPM428h8vShlRW1KT",
"displayDate": "2023-08-02T00:00:00.000Z",
"createdAt": "2023-08-02T00:00:00.000Z",
"updatedAt": "2023-08-02T00:00:00.000Z",
"accountId": "w37swmmLbA02zgqKPpxITe",
"error": "Failed due to auth token",
"postId": "323534534435",
"publishedAt": "2021-06-22T05:32:49.463Z",
"thumbnail": "https://storage.googleapis.com/test/test/media/test.jpeg",
"accountIds": [
"aF3KhyL8JIuBwzK3m7Ly_iVrVJ2uoXNF0wzcBzgl5_12554616564525983496"
],
"summary": "Sample Summary",
"media": [
{
"url": "https://example.com/image.jpg",
"type": "image/jpeg",
"caption": "Sample caption",
"altText": "A sunset over the ocean with silhouetted palm trees"
}
],
"status": "published",
"createdBy": "Lx1EI6YIgQYMQi0ytFXv",
"type": "post",
"tags": [
"aF3KhyL8JIuBwzK3m7Ly_iVrVJ2uoXNF0wzcBzgl5_12554616564525983496"
],
"ogTagsDetails": {
"metaImage": "https://example.com/image.jpg",
"metaLink": "https://www.yahoo.com/",
"ogTitle": "Page Title",
"ogDescription": "Page Description"
},
"postApprovalDetails": {
"approver": "iVrVJ2uoXNF0wzcBzgl5",
"approvalStatus": "approved"
},
"tiktokPostDetails": {
"privacyLevel": "PUBLIC_TO_EVERYONE",
"enableComment": true
},
"gmbPostDetails": {
"gmbEventType": "STANDARD",
"actionType": "BOOK"
},
"user": {
"id": "6284c43d519161e96cc09c13",
"firstName": "Harry",
"lastName": "Spencer",
},
"linkedinPostDetails": {
"pdfTitle": "Q4 Marketing Strategy Presentation",
"postAsPdf": true,
"poll": {
"question": "What is your favorite color?",
"options": [
{
"text": "Red"
}
],
"settings": {
"duration": "SEVEN_DAYS"
}
}
},
"pinterestPostDetails": {
"title": "10 Easy Home Decor Ideas for 2024",
"link": "https://yoursite.com/blog/home-decor-ideas",
"pinterestBoards": [
{
"accountId": "6887d6de1d8175813d50dab8",
"boards": [
"987654321098765432",
"234567890123456789"
]
},
{
"accountId": "682c7d1710a2fe3d805a3513",
"boards": [
"111222333444555666"
]
}
],
"shortenedLinks": [
"string"
]
},
"facebookPostDetails": {
"type": "post",
"textFormatPresetId": "303063890126415"
},
"instagramPostDetails": {
"type": "post",
"collaborators": {
"accountId1": [
"username1",
"username2"
],
"accountId2": [
"username3",
"username4"
]
},
"showOnFeed": true,
"publishViaPushNotification": true,
"publisherNote": "When publishing, add swipe up link to the landing page so that we can direct them to the sales page"
},
"youtubePostDetails": {
"title": "How to Build a Successful Marketing Strategy in 2024",
"privacyLevel": "public",
"type": "video"
},
"mediaOptimization": true
},
"parentPostId": "60af88475f1b2c001f5d5f4e",
"errors": [
"INVALID_USER_ID",
"PIXABAY_MEDIA"
],
"currentVariation": 0,
"createdAt": "2024-12-09T13:41:21.385Z",
"updatedAt": "2024-12-09T13:41:21.385Z",
"deleted": false,
"locationId": "fvg1TXIiVxGcdOaL0riG"
}
},
"traceId": "string"
}