Read a contact submission
Read one submission by the ID list submissions returns.
GET https://sitepaste.com/api/v1/public/sites/{siteId}/contact-submissions/{submissionId}
Requires the data scope.
Usage
curl "https://sitepaste.com/api/v1/public/sites/default/contact-submissions/s7xkqw3mz9r2" \
-H "Authorization: Bearer $TOKEN"
Authorizations
| Header | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token (Authorization: Bearer sp_...). Created in the dashboard under Account > Tokens. See authentication. |
Response
The submission record, in the shape list submissions returns each entry in.
400 when {submissionId} is malformed; 404 when it is well formed but names no submission on the site.