You can use Feedback APIs to programmatically create projects, get feedback, view replies and lot more. Let's take a quick look at the APIs:
Create projects: Creates a new project
Headers
Key | Data type | Description |
x-feedback-key | string | To be obtained from your feedback dashboard |
cURL for request
curl --location 'https://api.marmeto.org/feedback/v2/project/' \ --header 'x-feedback-key: feedback_1ixxxxz_162tq56evxxxxxxxxxxh7576fakx' \ --header 'Content-Type: application/json' \ --data '{ "name": "Marmeto 4 new proj", "websiteUrl": "https://your-client-website.com" }'
Body (raw)
Key | Description | Is it mandatory |
name | Name of the project | Yes |
websiteUrl | Website URL of the project | Yes |
Response
{
"status": true,
"messageCode": "PROJECT_S1",
"message": "Project created successfully",
"data": {
"snippet": "\n<!-- Feedback snippet START -->\n<script type=\"text/javascript\" async defer>\n if (\n new URLSearchParams(window.location.search).get(\"feedback\") ||\n sessionStorage.getItem(\"review-mode\") === \"true\"\n ) {\n var s = document.createElement(\"script\");\n s.src = \"https://feedback-cdn.marmeto.org/feedback.js?projectID=7XXXXa3-3XXb-4XXX-9XXX-b1fd6b3da6e8\";\n s.async = true;\n document.head.appendChild(s);\n }\n</script>\n<!-- Feedback snippet END -->",
"id": "7XXXXa3-3XXb-4XXX-9XXX-b1fd6b3da6e8",
"isActive": true,
"isDeleted": false,
"organizationId": "65XXXX25-acb6-4XXb-b7b4-4fXXXXXXb26",
"userId": "b4XXXXb5-1602-49XX-b398-7b62XXXX237f",
"name": "Bluer UK store",
"websiteUrl": "https://your-client-website.com",
"updatedAt": "2025-05-05T11:44:17.880Z",
"createdAt": "2025-05-05T11:44:17.880Z",
"deletedAt": null
}
}
Response explaination
Key | Data type | Description |
status | boolean. Expected values are true/false. |
|
messageCode | string |
|
message | string |
|
data | object |
|
snippet | string | Code snippet for the project which has to be added to the <head> tag of the project website. |
id | uuid | Unique id of this project. Use it to fetch details, feedbacks and replies associated with this project. |
isActive | boolean. Expected values are true/false. |
|
organizationId | uuid |
|
userId | uuid |
|
name | string | Name of the project provided by you while creating the project. |
websiteUrl | string |
|
updatedAt | Timestamp |
|
createdAt | Timestamp |
|