Activities
Get all activities
GET /activities
Query string parameters
- Supports Pagination
users- comma separated list of user IDsteams- comma separated list of team IDscreated_from_leadbool - if true, only shows activities created via leadstart_date/end_datedate - filters activites by creation datelead_sources- comma separated list of lead sourceslead_types- comma separated list of lead type IDsrelations_paths- comma separated list of relation path IDsmilestone_types- comma separated list of milestone typesproduct_ids- comma separated list of product IDs
Response
Status code 200
{
"data": [
{
"id": "f665e23c-5501-2438-22b5-d22bbc74a623",
"activity_types": [
{
"id": 1,
"name": "Some type",
"is_milestone": false
}
],
"communication_channel": "email",
"extra_steps": [
{
"activity_id": "f4aaf74a-59c6-409b-8990-54b78eae1c75",
"extra_step_ids": [
"86247236-dc8f-4d4c-b406-fed9d7db97c3"
]
}
],
"created_at": "2015-02-11 09:03:09",
"updated_at": "2015-02-11 09:03:09"
}
],
"pagination": {
"total": 9,
"page": 1,
"per_page": 15,
"urls": {
"previous": null,
"next": null
}
}
}
Get all activities by case
GET /cases/:case_id/activities
Query string parameters
- Supports Pagination
Response
Status code 200
{
"data": [
{
"id": "f665e23c-5501-2438-22b5-d22bbc74a623",
"activity_types": [
{
"id": 1,
"name": "Some type",
"is_milestone": false
}
],
"communication_channel": "email",
"extra_steps": [
{
"activity_id": "f4aaf74a-59c6-409b-8990-54b78eae1c75",
"extra_step_ids": [
"86247236-dc8f-4d4c-b406-fed9d7db97c3"
]
}
],
"created_at": "2015-02-11 09:03:09",
"updated_at": "2015-02-11 09:03:09"
}
],
"pagination": {
"total": 9,
"page": 1,
"per_page": 15,
"urls": {
"previous": null,
"next": null
}
}
}
Find an activity
GET /cases/:case_id/activities/:activity_id
Response
Status code 200
{
"id": "f665e23c-5501-2438-22b5-d22bbc74a623",
"activity_types": [
{
"id": 1,
"name": "Some type",
"is_milestone": true
}
],
"extra_steps": [
{
"activity_id": "f4aaf74a-59c6-409b-8990-54b78eae1c75",
"extra_step_ids": [
"86247236-dc8f-4d4c-b406-fed9d7db97c3"
]
}
],
"communication_channel": "email",
"note": {
"id": 1,
"note": "Sit sunt ut odit ut.. Laudantium voluptas quia excepturi dolorum ad assumenda.. Voluptas ipsum consequatur reprehenderit.",
"user": {
"id": 1,
"first_name": "Doe",
"last_name": "John",
"phone_number": "+4588888888",
"job_title": "Animal",
"email": "info@easir.com",
"email_notifications": false,
"profile_picture": "http://cdn.cutestpaw.com/wp-content/uploads/2013/06/l-Baby.jpeg",
"system_user": false,
"created_at": "2014-01-01 12:45:56",
"updated_at": "2014-01-02 00:11:22"
},
"updated": false,
"created_at": "2015-02-11 09:03:09",
"updated_at": "2015-02-11 09:03:09"
},
"correspondence": {
"email": {
"id": "4dde798d-5a9a-4554-bded-446d31b00fc1",
"activity_id": "3acd8e3d-83f9-40b2-ada9-ec1291a72c7f",
"correspondence_id": "fa691bc7-1967-4f68-8648-8054e68222cc",
"user": {
"id": 1,
"first_name": "Doe",
"last_name": "John",
"phone_number": "+4588888888",
"job_title": "Animal",
"email": "info@easir.com",
"email_notifications": false,
"profile_picture": "http://cdn.cutestpaw.com/wp-content/uploads/2013/06/l-Baby.jpeg",
"system_user": false,
"created_at": "2014-01-01 12:45:56",
"updated_at": "2014-01-02 00:11:22"
},
"contacts": [
{
"id": "8e9af08d-7f33-363e-b9d7-2795d1f4aeb4",
"b2c": false,
"account": {
"id": "107c5621-c650-3772-92dc-65f73d530745",
"name": "Birch A/S"
},
"user": {
"id": 26,
"first_name": "Cody",
"last_name": "Schmitt",
"phone_number": "550.403.1031",
"job_title": "Business Analysis Director",
"email": "24@example.com",
"email_notifications": false,
"profile_picture": null,
"system_user": false,
"created_at": "2018-11-15 20:46:46",
"updated_at": "2019-01-03 02:51:20"
},
"team_id": 1,
"team": {
"id": 1,
"name": "Team 1",
"address_1": "Savannah 123",
"address_2": "Under the tree on the left",
"zip_code": "4730",
"city": "Umzimkulu",
"state": "KwaZulu-Natal",
"country": null,
"phone_number": "031 308 7900",
"website": "https://easir.com",
"vat": "1234567890123456",
"team_type": null,
"group_id": 1,
"use_social_lookup": false,
"created_at": "2014-01-01 12:45:56",
"updated_at": "2014-01-02 00:11:22"
},
"status": "opportunity",
"fixed_fields": [
{
"id": 10,
"type": "text",
"name": "salutation",
"label": "Salutation",
"description": null,
"value": "Prof.",
"validation": null,
"required": false,
"hidden": false,
"read_only": false,
"sort_order": 0
}
],
"custom_fields": [
{
"id": 8,
"type": "text",
"name": "email",
"label": "Custom E-mail",
"description": null,
"value": null,
"validation": "email",
"required": false,
"hidden": false,
"read_only": false,
"sort_order": 11
}
],
"created_at": "2015-02-24 12:34:56",
"updated_at": "2015-02-24 12:34:56",
"latest_activity_at": null,
"social_profile": {},
"consent": {
"email": {
"consent_given": false,
"updated_at": "2019-02-11 12:50:05"
},
"letter": {
"consent_given": false,
"updated_at": "2019-02-05 12:50:05"
},
"call": {
"consent_given": false,
"updated_at": "2019-02-08 12:50:05"
},
"sms": {
"consent_given": null,
"updated_at": null
}
}
}
],
"case_id": "ac174b2a-791f-321d-9016-bb6ad789983d",
"relations_path_name": "Case type",
"type": "activity-outgoing",
"sender": "info@easir.com",
"from": [
{
"user_id": 1
}
],
"recipients": [
{
"email_address": "mail1@example.com"
},
{
"email_address": "mail@example.com",
"contact": {
"id": "024217da-f2b3-4854-a24f-04418f560725",
"name": "john doe"
},
"account": {
"id": "0de95f95-a5b9-2960-1d21-5d7cccfa45ad",
"name": "Some company"
}
}
],
"cc": [
{
"email_address": "mail3@example.com"
},
{
"email_address": "mail4@example.com"
},
{
"email_address": "mail34@example.com",
"contact": {
"id": "024217da-f2b3-4854-a24f-04418f560725",
"name": "john doe"
},
"account": {
"id": "0de95f95-a5b9-2960-1d21-5d7cccfa45ad",
"name": "Praesent Consulting"
}
}
],
"bcc": [
{
"email_address": "mail5@example.com"
},
{
"email_address": "mail6@example.com"
},
{
"email_address": "mail65464365@example.com",
"contact": {
"id": "024217da-f2b3-4854-a24f-04418f560725",
"name": "john doe"
},
"account": {
"id": "0de95f95-a5b9-2960-1d21-5d7cccfa45ad",
"name": "Praesent Consulting"
}
}
],
"attachments": [
"9a8d0758-6182-4e16-92a6-d9a4adfeabb7"
],
"subject": "nesciunt quis laudantium eveniet",
"content": "Sit officia veritatis velit a perspiciatis quia. Quidem ratione voluptatem voluptas qui ex maxime esse dolorem. Omnis natus optio tempore nisi iure. Est id alias quia. Ut est autem repellat enim eaque dolores vero. Sunt eum et autem facilis. Sapiente saepe non magni autem. Assumenda distinctio aut autem minus provident dolorum. Id voluptatem non modi ad. Et minima fugit ut voluptatem aut quia hic.",
"parsed": {
"fragments": [
{
"content": "Sit officia veritatis velit a perspiciatis quia. Quidem ratione voluptatem voluptas qui ex maxime esse dolorem. Omnis natus optio tempore nisi iure. Est id alias quia. Ut est autem repellat enim eaque dolores vero. Sunt eum et autem facilis. Sapiente saepe non magni autem. Assumenda distinctio aut autem minus provident dolorum. Id voluptatem non modi ad. Et minima fugit ut voluptatem aut quia hic.",
"is_hidden": false,
"is_signature": false,
"is_quoted": false
}
],
"visible_text": "Sit officia veritatis velit a perspiciatis quia. Quidem ratione voluptatem voluptas qui ex maxime esse dolorem. Omnis natus optio tempore nisi iure. Est id alias quia. Ut est autem repellat enim eaque dolores vero. Sunt eum et autem facilis. Sapiente saepe non magni autem. Assumenda distinctio aut autem minus provident dolorum. Id voluptatem non modi ad. Et minima fugit ut voluptatem aut quia hic."
},
"body": "<html><head></head><body>Sit officia veritatis velit a perspiciatis quia. Quidem ratione voluptatem voluptas qui ex maxime esse dolorem. Omnis natus optio tempore nisi iure. Est id alias quia. Ut est autem repellat enim eaque dolores vero. Sunt eum et autem facilis. Sapiente saepe non magni autem. Assumenda distinctio aut autem minus provident dolorum. Id voluptatem non modi ad. Et minima fugit ut voluptatem aut quia hic.</body></html>",
"sent_at": "2015-02-11 09:03:09",
"created_at": "2015-02-11 09:03:09",
"updated_at": "2015-02-11 09:03:09"
},
"letter": null
},
"product_details": {
"id": "9de8fe50-af18-a4b6-3632-3a5c371dae8c",
"products": [
{
"id": "a61db97b-1d90-e744-16c5-a7274ceb55eb",
"name": "Adipiscing Elit Associates",
"quantity": 3,
"type": "487",
"price": 3109,
"discount": 10,
"comment": "Some comment"
},
{
"id": null,
"name": "Mi Felis PC",
"quantity": 0,
"type": "488",
"price": 5412,
"discount": 0,
"comment": null
},
{
"id": "650ef4e4-5df3-c465-fbae-1aa06ff6693f",
"name": "Erat Eget Ltd",
"quantity": 3,
"type": "487",
"price": 8432,
"discount": 10,
"comment": "Some comment"
},
{
"id": null,
"name": "Eu Corporation",
"quantity": 0,
"type": "488",
"price": 4057,
"discount": 0,
"comment": null
}
],
"created_at": "2015-02-11 09:03:11",
"updated_at": "2015-02-11 09:03:11"
},
"task": [],
"created_at": "2015-02-11 09:03:09",
"updated_at": "2015-02-11 09:03:09"
}
Create a new activity
POST /cases/:case_id/activities
Parameters
activity_typesarray - List of the activity types ids.- Required
communication_channelstring- Must be
email,call,letterormeeting. - Required
- Must be
extra_stepsarray - List of extra step ids.user_idintegersourcestring - Source of activity.- Between 1 and 255 characters.
Different types of payload
You can pass additional payload when creating a new activity, which is shown below.
Email correspondence
Parameters
correspondence.email.correspondence_idUUID - When left out, this will start a new correspondence. Use if this is part of a thread.correspondence.email.recipientsarray - Objects containing either email-addresses or contact to send to.- See recipients array format below.
- Required when
correspondence.emailexists
correspondence.email.ccarray - Objects containing either email-addresses or contact to send cc to.correspondence.email.bccarray - Objects containing either email-addresses or contact to send bcc to.correspondence.email.attachmentsarray - File-ids (will be converted to attachment IDs after saving).correspondence.email.subjectstring - Email subject.- Required when
correspondence.emailexists
- Required when
correspondence.email.contentstring - Content of the email.- Note that Merge Fields can be used in this field (see the chapter Merge Fields for more information)
- Required when
correspondence.emailexists
correspondence.email.template_idinteger - Which email template to use- Required when
correspondence.emailexists
- Required when
correspondence.email.content_suggestion_idUUID - Indicates used content-suggestion for predicting
Format of recipients, cc, and bcc arrays
It's possible to add an e-mail address directly, or reference a contact, for example
[
{
"email_address": "customer@example.com"
},
{
"contact": "943cef92-f9b4-4fcb-b4e4-834f34915973"
}
]
Payload
{
"activity_types": [
"a203539b-f06c-442c-8ad0-f5a56f0615f6"
],
"communication_channel": "email",
"correspondence": {
"email": {
"recipients": [
{
"email_address": "mail@example.com"
}
],
"cc": [
{
"email_address": "mail2@example.com"
}
],
"subject": "Subject",
"content": "CONTENT",
"attachments": [
"9c11d08a-b0fd-4989-88d8-c9536d39e236",
"c9536d39-c4f3-4113-1337-fe2369c11d08"
],
"template_id": 2
}
},
"user_id": 1
}
Letter correspondence
Parameters
correspondence.letter.contentstring- Required when
correspondence.letterexists - Supports Merge Fields
- Required when
correspondence.letter.template_idinteger- Required when
correspondence.letterexists
- Required when
correspondence.email.content_suggestion_idUUID - Indicates used content-suggestion for predicting
Payload
{
"activity_types": [
"a203539b-f06c-442c-8ad0-f5a56f0615f6"
],
"communication_channel": "letter",
"correspondence": {
"letter": {
"content": "Hello",
"template_id": 1
}
},
"user_id": 1
}
Response
Status code 201
{
"id": "618caac1-943a-443d-a449-48193788ea84",
"activity_types": [
{
"id": "a203539b-f06c-442c-8ad0-f5a56f0615f6",
"name": "Contract"
}
],
"communication_channel": "email",
"note": null,
"correspondence": {
"email": {
"id": "2413af3a-2c15-49c9-b53f-0c99f684ac25",
"activity_id": null,
"correspondence_id": "8194b060-4d5a-4586-8ec2-a0e5bfc6b94c",
"user": {
"id": 1,
"first_name": "Jane",
"last_name": "Doe",
"phone_number": "+4588888888",
"job_title": "Sales Executive",
"email": "demo@easir.com",
"email_notifications": false,
"profile_picture": "https:\/\/randomuser.me\/api\/portraits\/thumb\/women\/5.jpg",
"system_user": false,
"created_at": "2014-01-01 12:45:56",
"updated_at": "2017-04-25 09:04:36"
},
"contacts": null,
"case_id": null,
"relations_path_name": "Case type",
"type": "activity-outgoing",
"sender": "demo@easir.com",
"from": [
{
"user_id": 1
}
],
"recipients": [
{
"email_address": "mail@example.com"
}
],
"cc": [
{
"email_address": "mail2@example.com"
}
],
"bcc": [],
"subject": "Subject",
"attachments": null,
"content": "CONTENT",
"parsed": {
"fragments": [
{
"content": "CONTENT",
"is_hidden": false,
"is_signature": false,
"is_quoted": false
}
],
"visible_text": "CONTENT"
},
"body": null,
"sent_at": null,
"created_at": "2017-04-26 07:48:12",
"updated_at": "2017-04-26 07:48:12"
},
"letter": {
"content": "Hello",
"template_id": 1,
"attachment_id": "e958d299-a5b6-42a0-b6cd-22cd835d7397"
}
},
"product_detail": null,
"product_details": null,
"task": null,
"extra_steps": [],
"created_at": "2017-04-26 07:48:12",
"updated_at": "2017-04-26 07:48:12"
}
Task
Parameters
complete_taskUUID- Must be a valid UUID and an existing task.
task.start_atdate- Y-m-d H:i:s format.
- Must be after "now".
- Required when
taskexists
task.end_atdate- Y-m-d H:i:s format.
- Must be after
task.start_at - Required when
taskexists
task.typestring - Task type- Must be either
email,call,meetingorremind_me - Required when
taskexists
- Must be either
task.user_idinteger - If the assigned user is not the logged in user.task.next_activity_idUUID - If you want to suggest the next milestone, you can provide a milestone id.task.detailsstring - Max 1024 characters
Payload
{
"activity_types": [
"a203539b-f06c-442c-8ad0-f5a56f0615f6"
],
"communication_channel": "call",
"complete_task": "d13d15bb-2c4a-45cc-8d5a-c83aa2c548d4",
"task": {
"start_at": "2017-07-15 12:34:53",
"end_at": "2017-07-15 13:33:33",
"type": "meeting"
},
"user_id": 1
}
Response
Status code 201
{
"id": "1338da82-d5b8-413d-8224-c63b236ae856",
"activity_types": [
{
"id": "a203539b-f06c-442c-8ad0-f5a56f0615f6",
"name": "Contract"
}
],
"communication_channel": "call",
"note": null,
"correspondence": {
"email": null,
"letter": null
},
"product_detail": null,
"product_details": null,
"task": {
"id": "0ba37fc2-9ac4-4a7f-a890-b468c1e19956",
"details": null,
"type": "meeting",
"case": {
"id": "fb8091cb-7a1c-3f51-b42e-949656b5d687",
"case_number": 767
},
"activity_id": "1338da82-d5b8-413d-8224-c63b236ae856",
"user": {
"id": 1,
"first_name": "Jane",
"last_name": "Doe",
"phone_number": "+4588888888",
"job_title": "Sales Executive",
"email": "demo@easir.com",
"email_notifications": false,
"profile_picture": "5.jpg",
"user_type": {
"name": "admin"
},
"company": {},
"system_user": false,
"created_at": "2014-01-01 12:45:56",
"updated_at": "2017-04-25 09:04:36"
},
"next_activity": null,
"status": "later",
"start_at": "2017-07-15 12:34:53",
"end_at": "2017-07-15 13:33:33",
"completed_at": null,
"created_at": "2017-04-26 08:16:25",
"updated_at": "2017-04-26 08:16:25"
},
"extra_steps": [],
"created_at": "2017-04-26 08:16:25",
"updated_at": "2017-04-26 08:16:25"
}
Automated communications
Parameters
automated_communications.*.send_atdate- Y-m-d H:i:s format.
- Must be after "now".
- Required
automated_communications.*.template_idinteger- Must be of type email and exist.
automated_communications.*.subjectstring- Min 1 char.
- Required
automated_communications.*.contentstring- Min 1 char.
- Required
automated_communications.*.attachmentsarray - List of file-ids.- Required
Payload
{
"activity_types": [
"a203539b-f06c-442c-8ad0-f5a56f0615f6"
],
"communication_channel": "call",
"complete_task": "d13d15bb-2c4a-45cc-8d5a-c83aa2c548d4",
"automated_communications": [
{
"send_at": "2017-07-12 23:23:23",
"subject": "HEJHEJHEJ",
"content": "INDHOLDINDHOLDINDHOLD",
"template_id": 2,
"attachments": [
"29aed944-3ea9-465d-a8ca-919e6775e2a5",
"fc54f470-2eb3-44e5-947d-b3909013c583"
]
}
],
"user_id": 1
}
Response
Status code 201
{
"id": "54eb9417-f4ed-4cab-83d0-81513a00b265",
"activity_types": [
{
"id": "a203539b-f06c-442c-8ad0-f5a56f0615f6",
"name": "Contract"
}
],
"communication_channel": "email",
"note": null,
"correspondence": {
"email": null,
"letter": null
},
"product_detail": null,
"product_details": null,
"task": null,
"extra_steps": [],
"created_at": "2017-04-26 08:19:43",
"updated_at": "2017-04-26 08:19:43"
}
Note
Parameters
note.notestring- Maximum 65535 characters.
- Required when
noteexists
note.notify.usersarray - User ids to notify.note.notify.teamsarray - Team ids to notify.
Payload
{
"activity_types": [
"a203539b-f06c-442c-8ad0-f5a56f0615f6"
],
"communication_channel": "call",
"note" : {
"note" : "[#Team 1~1] [@Great User~30] My note for them",
"notify": {
"users": [1, 2, 3],
"teams": [1]
}
},
"user_id": 1
}
Response
Status code 201
{
"id": "1338da82-d5b8-413d-8224-c63b236ae856",
"activity_types": [
{
"id": "a203539b-f06c-442c-8ad0-f5a56f0615f6",
"name": "Contract"
}
],
"communication_channel": "call",
"note": {
"id": 206,
"note": "[#Team 1~1] [@Great User~30] My note for them",
"user": {
"id": 1,
"first_name": "Jane",
"last_name": "Doe",
"phone_number": "+4588888888",
"job_title": "Sales Executive",
"email": "demo@easir.com",
"email_notifications": false,
"profile_picture": "https://randomuser.me/api/portraits/thumb/women/5.jpg",
"system_user": false,
"created_at": "2014-01-01 12:45:56",
"updated_at": "2019-02-08 13:39:39"
},
"updated": false,
"created_at": "2019-02-13 07:34:30",
"updated_at": "2019-02-13 07:34:30"
},
"correspondence": {
"email": null,
"letter": null
},
"product_detail": null,
"product_details": null,
"task": null,
"extra_steps": [],
"created_at": "2017-04-26 08:16:25",
"updated_at": "2017-04-26 08:16:25"
}
Product details
Parameters
product_details.productsarray - Is an array of objects with the following rules.product_details.products.*.typestring - The product type.- Can be
piecesorhours. - Required
- Can be
product_details.products.*.idstring - If the product exists send the product id. You can overwrite the price etc, but we need the id for reports.product_details.products.*.namestring - Product name- Required
product_details.products.*.quantityinteger - Product Quantity- Required
product_details.products.*.priceinteger/float - Product price.- Required
product_details.products.*.discountinteger/float - Product discount.product_details.products.*.commentstring - Adds a comment for the line.
product_details.stock_vehicle_idsarray - an array of uuids of stock vehicles
Payload
{
"activity_types": [
"a203539b-f06c-442c-8ad0-f5a56f0615f6"
],
"communication_channel": "call",
"product_details": {
"products": [
{
"name": "Product name",
"quantity": 10,
"type": "pieces",
"price": 10.95,
"discount": 0,
"comment": "SOME COMMENT"
},
{
"id": "f066bc3e-347f-3768-a280-b24aab19318f",
"name": "Adipiscing Elit Associates",
"quantity": 1,
"type": "pieces",
"price": 235,
"discount": 10
}
],
"stock_vehicles": []
},
"user_id": 1
}
Response
Status code 201
{
"id": "cf070927-cd6b-4882-a44b-44d6b06dae3c",
"activity_types": [
{
"id": "a203539b-f06c-442c-8ad0-f5a56f0615f6",
"name": "Contract"
}
],
"communication_channel": "call",
"note": null,
"correspondence": {
"email": null,
"letter": null
},
"product_detail": {
"id": "064b5e2c-2a1b-46f5-80d0-9ef654da00bd",
"products": [
{
"id": null,
"name": "Product name",
"quantity": 10,
"type": "pieces",
"price": 10.95,
"discount": 0,
"comment": "SOME COMMENT"
},
{
"id": "f066bc3e-347f-3768-a280-b24aab19318f",
"name": "Adipiscing Elit Associates",
"quantity": 1,
"type": "pieces",
"price": 235,
"discount": 10,
"comment": null
}
],
"created_at": "2017-04-26 08:23:27",
"updated_at": "2017-04-26 08:23:27"
},
"product_details": {
"id": "064b5e2c-2a1b-46f5-80d0-9ef654da00bd",
"products": [
{
"id": null,
"name": "Product name",
"quantity": 10,
"type": "pieces",
"price": 10.95,
"discount": 0,
"comment": "SOME COMMENT"
},
{
"id": "f066bc3e-347f-3768-a280-b24aab19318f",
"name": "Adipiscing Elit Associates",
"quantity": 1,
"type": "pieces",
"price": 235,
"discount": 10,
"comment": null
}
],
"created_at": "2017-04-26 08:23:27",
"updated_at": "2017-04-26 08:23:27"
},
"task": null,
"extra_steps": [],
"created_at": "2017-04-26 08:23:27",
"updated_at": "2017-04-26 08:23:27"
}
The product_detail field is deprecated and will be removed January 15th, 2019. The product_details field can be used instead.
You can use the correspondence.letter.file_id to retrieve the PDF (using the file manager download endpoint)
Suggest next milestone
GET /cases/:case_id/milestone-suggestions
Parameters
datedate- Y-m-d H:i:s format.
- Must be after "now".
- Required
milestone_idUUID- Must be valid UUID from the same relations path as the case.
- Required
If no suggestion is found, a 404 will be returned.
Response
Status code 200
An activity type object is returned.
Suggest content suggestion
GET /cases/:case_id/content-suggestions/:type
Parameters
typestring One of the following:emailorletter- Required
Response
Status code 200
{
"data": [
{
"content_suggestion_id": "17498b87-d835-4a97-9428-24ae1dcfd9a4",
"amount": 8
},
{
"content_suggestion_id": "995f88fc-befa-48eb-a4c6-9b54d9558266",
"amount": 5
},
{
"content_suggestion_id": "17498b87-d835-4a97-9428-24ae1dcfd9a5",
"amount": 4
},
{
"content_suggestion_id": "995f88fc-befa-48eb-a4c6-9b54d9558265",
"amount": 1
}
]
}