Archive submission
Archive an NPS submission.
DELETE /nps/submissions/{npsSubmissionId}This does not delete the row for good. It sets an archived time. The submission stops showing in Contendar, in list endpoints, and in analytics, but the data is kept.
Authentication
Send your API key as a bearer token. See Authentication .
Path parameters
| Parameter | Type | Notes |
npsSubmissionId | UUID | The ID of the submission. |
Query parameters
| Parameter | Type | Notes |
projectId | UUID | Required. The project the submission belongs to. |
Response
{ "success": true }Errors
Returns 404 if no submission with that ID exists in the project.
Example
curl -X DELETE "https://app.contendar.com/api/v1/nps/submissions/d3f2e5c4-8b6a-4d0c-9e3f-4a5b6c7d8e9f?projectId=YOUR_PROJECT_ID" \
-H "Authorization: Bearer ck_your_key_here"Related pages
Was this helpful?