{"openapi":"3.1.0","info":{"title":"Formspark API","version":"1.0.0","description":"Create and manage forms, and read their submissions. Authenticate with an API token created in the Formspark dashboard. A token carries the access of the account that created it, so it reaches every workspace that account belongs to. Reading or writing a workspace's forms and submissions requires that workspace to be on a paid plan. Requests are rate limited per IP address, and a rejected request should be retried after a pause."},"servers":[{"url":"https://api.formspark.io/public/v1"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"Problem":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"number"},"detail":{"type":"string"},"code":{"type":"string"}},"required":["type","title","status","detail","code"],"additionalProperties":{}}},"parameters":{}},"paths":{"/me":{"get":{"summary":"Describe the current token","tags":["Token"],"security":[{"bearerAuth":[]}],"responses":{"200":{"description":"The token's name, scopes and expiry.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["workspaces:read","workspaces:write","forms:read","forms:write","submissions:read","submissions:write"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["name","scopes","expiresAt","lastUsedAt","createdAt"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/workspaces":{"get":{"summary":"List workspaces","description":"Every workspace the token's owner is a member of, newest first. Returns up to 25 workspaces unless a larger limit is asked for.","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"startingAfter","in":"query"}],"responses":{"200":{"description":"A page of the accessible workspaces.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"plan":{"type":"string","enum":["FREE","BUNDLE_50000","DEALIFY"]},"submissionsQuota":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","plan","submissionsQuota","createdAt","updatedAt"]}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["data","hasMore","nextCursor"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Create a workspace","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128}},"required":["name"]}}}},"responses":{"201":{"description":"The created workspace.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"plan":{"type":"string","enum":["FREE","BUNDLE_50000","DEALIFY"]},"submissionsQuota":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","plan","submissionsQuota","createdAt","updatedAt"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/workspaces/{workspaceId}":{"patch":{"summary":"Update a workspace","tags":["Workspaces"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"workspaceId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128}},"required":["name"]}}}},"responses":{"200":{"description":"The updated workspace.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"plan":{"type":"string","enum":["FREE","BUNDLE_50000","DEALIFY"]},"submissionsQuota":{"type":"number"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","plan","submissionsQuota","createdAt","updatedAt"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/forms":{"get":{"summary":"List forms","description":"Newest first. Returns up to 25 forms unless a larger limit is asked for.","tags":["Forms"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"startingAfter","in":"query"},{"schema":{"type":"string","minLength":1},"required":true,"name":"workspaceId","in":"query"}],"responses":{"200":{"description":"A page of the workspace's forms.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"technology":{"type":["string","null"]},"workspaceId":{"type":"string"},"notificationEmails":{"type":"array","items":{"type":"string"}},"emailThreading":{"type":"boolean"},"webhookUrl":{"type":["string","null"]},"slackChannel":{"type":["string","null"]},"customHoneypot":{"type":["string","null"]},"customSpamWords":{"type":["string","null"]},"spamProtection":{"type":["string","null"],"enum":["BOTPOISON","GOOGLE_RECAPTCHA_V2","HCAPTCHA","TURNSTILE",null]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","description","technology","workspaceId","notificationEmails","emailThreading","webhookUrl","slackChannel","customHoneypot","customSpamWords","spamProtection","createdAt","updatedAt"]}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["data","hasMore","nextCursor"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Create a form","description":"Creates a form and applies any settings supplied alongside it.","tags":["Forms"],"security":[{"bearerAuth":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"description":{"type":["string","null"],"maxLength":512},"technology":{"type":["string","null"],"maxLength":128},"notificationEmails":{"type":"array","items":{"type":"string","maxLength":128,"format":"email"},"maxItems":100},"emailThreading":{"type":"boolean"},"webhookUrl":{"type":["string","null"],"maxLength":512,"format":"uri","description":"Where each submission is delivered. Must be an http or https URL, and must resolve to a public address when called."},"slackChannel":{"type":["string","null"],"maxLength":128},"customHoneypot":{"type":["string","null"],"maxLength":128},"customSpamWords":{"type":["string","null"],"maxLength":2560},"spamProtection":{"type":["string","null"],"enum":["BOTPOISON","GOOGLE_RECAPTCHA_V2","HCAPTCHA","TURNSTILE",null],"description":"The challenge a submitter must pass. Can only be set on a form whose secret key for that provider is already stored, which is done in the dashboard. Null disables it."},"workspaceId":{"type":"string","minLength":1}},"required":["name","workspaceId"]}}}},"responses":{"201":{"description":"The created form.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"technology":{"type":["string","null"]},"workspaceId":{"type":"string"},"notificationEmails":{"type":"array","items":{"type":"string"}},"emailThreading":{"type":"boolean"},"webhookUrl":{"type":["string","null"]},"slackChannel":{"type":["string","null"]},"customHoneypot":{"type":["string","null"]},"customSpamWords":{"type":["string","null"]},"spamProtection":{"type":["string","null"],"enum":["BOTPOISON","GOOGLE_RECAPTCHA_V2","HCAPTCHA","TURNSTILE",null]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","description","technology","workspaceId","notificationEmails","emailThreading","webhookUrl","slackChannel","customHoneypot","customSpamWords","spamProtection","createdAt","updatedAt"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/forms/{formId}":{"get":{"summary":"Retrieve a form","tags":["Forms"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"formId","in":"path"}],"responses":{"200":{"description":"The form.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"technology":{"type":["string","null"]},"workspaceId":{"type":"string"},"notificationEmails":{"type":"array","items":{"type":"string"}},"emailThreading":{"type":"boolean"},"webhookUrl":{"type":["string","null"]},"slackChannel":{"type":["string","null"]},"customHoneypot":{"type":["string","null"]},"customSpamWords":{"type":["string","null"]},"spamProtection":{"type":["string","null"],"enum":["BOTPOISON","GOOGLE_RECAPTCHA_V2","HCAPTCHA","TURNSTILE",null]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","description","technology","workspaceId","notificationEmails","emailThreading","webhookUrl","slackChannel","customHoneypot","customSpamWords","spamProtection","createdAt","updatedAt"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"patch":{"summary":"Update a form","description":"Applies only the fields present in the body; everything else is left untouched.","tags":["Forms"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"formId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128},"description":{"type":["string","null"],"maxLength":512},"technology":{"type":["string","null"],"maxLength":128},"notificationEmails":{"type":"array","items":{"type":"string","maxLength":128,"format":"email"},"maxItems":100},"emailThreading":{"type":"boolean"},"webhookUrl":{"type":["string","null"],"maxLength":512,"format":"uri","description":"Where each submission is delivered. Must be an http or https URL, and must resolve to a public address when called."},"slackChannel":{"type":["string","null"],"maxLength":128},"customHoneypot":{"type":["string","null"],"maxLength":128},"customSpamWords":{"type":["string","null"],"maxLength":2560},"spamProtection":{"type":["string","null"],"enum":["BOTPOISON","GOOGLE_RECAPTCHA_V2","HCAPTCHA","TURNSTILE",null],"description":"The challenge a submitter must pass. Can only be set on a form whose secret key for that provider is already stored, which is done in the dashboard. Null disables it."}}}}}},"responses":{"200":{"description":"The updated form.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":["string","null"]},"technology":{"type":["string","null"]},"workspaceId":{"type":"string"},"notificationEmails":{"type":"array","items":{"type":"string"}},"emailThreading":{"type":"boolean"},"webhookUrl":{"type":["string","null"]},"slackChannel":{"type":["string","null"]},"customHoneypot":{"type":["string","null"]},"customSpamWords":{"type":["string","null"]},"spamProtection":{"type":["string","null"],"enum":["BOTPOISON","GOOGLE_RECAPTCHA_V2","HCAPTCHA","TURNSTILE",null]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","description","technology","workspaceId","notificationEmails","emailThreading","webhookUrl","slackChannel","customHoneypot","customSpamWords","spamProtection","createdAt","updatedAt"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete a form","tags":["Forms"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"formId","in":"path"}],"responses":{"204":{"description":"The form was deleted."},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/forms/{formId}/submissions":{"get":{"summary":"List a form's submissions","description":"Newest first. Spam and deleted submissions are excluded.","tags":["Submissions"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"formId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"startingAfter","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":256},"required":false,"name":"search","in":"query"}],"responses":{"200":{"description":"A page of submissions.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"formId":{"type":"string"},"data":{"type":"object","additionalProperties":{}},"createdAt":{"type":"string","format":"date-time"}},"required":["id","formId","data","createdAt"]}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["data","hasMore","nextCursor"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/workspaces/{workspaceId}/submissions":{"get":{"summary":"List a workspace's submissions","description":"Newest first across every form in the workspace. Spam and deleted submissions are excluded.","tags":["Submissions"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"workspaceId","in":"path"},{"schema":{"type":"integer","minimum":1,"maximum":100},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string"},"required":false,"name":"startingAfter","in":"query"},{"schema":{"type":"string","minLength":1,"maxLength":256},"required":false,"name":"search","in":"query"}],"responses":{"200":{"description":"A page of submissions.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"formId":{"type":"string"},"data":{"type":"object","additionalProperties":{}},"createdAt":{"type":"string","format":"date-time"}},"required":["id","formId","data","createdAt"]}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["data","hasMore","nextCursor"]}}}},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/submissions/{submissionId}":{"delete":{"summary":"Delete a submission","tags":["Submissions"],"security":[{"bearerAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"submissionId","in":"path"}],"responses":{"204":{"description":"The submission was deleted."},"400":{"description":"The request was malformed or failed validation.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"The token is missing, malformed, revoked or expired.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The token lacks the scope this operation requires, or the workspace is not upgraded, or a limit was reached.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"The resource does not exist.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"The submission is quarantined spam and cannot be deleted.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"The caller is being rate limited and should retry later.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Something went wrong on our end.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"webhooks":{}}