Get submission details
Returns one form submission by ID, including captured customer details, billing/shipping data, submitted field values, and request metadata when present.
/v1/submissions/:submissionIdAuthorization
api_key_auth API key authentication. Use "Bearer YOUR_API_KEY" format.
In: header
Path Parameters
The ID of the submission to retrieve. Use the list submissions endpoint first if you need to discover a submission ID by email, name, customer, page, or date range.
^[0-9a-fA-F]{24}$
Query Parameters
Set to false to return test-mode records created while a page was in test mode. Defaults to the mode of the API key. Test API keys can only read test data.
truefalseReturns
Submission retrieved successfully
A single form submission returned by the seller API.
- idstring
Unique submission record ID.
- statusstring
Submission processing status.
succeededfailed - orderStatusstring
Lifecycle status set by the seller. Valid values: active, canceled.
canceledmeans the seller canceled the submission: it no longer counts toward "Prevent duplicate submissions" and its files left the customer portal.activecanceled - canceledAt?string, nullable
ISO 8601 timestamp when the submission was canceled.
date-time
- canceledReason?string, nullable
The reason given when the submission was canceled.
- canceledBy?string, nullable
ID of the dashboard user who canceled the submission. Absent when it was canceled through the seller API.
- canceledByApiKey?string, nullable
ID of the API key that canceled the submission, when it was canceled through the seller API. The key may have been deleted since;
canceledByApiKeyNamekeeps its name. - canceledByApiKeyName?string, nullable
Name of the API key that canceled the submission, as it was at the time. Kept when the key is deleted later.
- sellerId?string, nullable
Seller ID that owns this submission.
- pageId?string, nullable
Page ID for the form that received this submission.
- customerId?string, nullable
Associated customer ID, if the submission is linked to a customer record.
- customerEmail?string, nullable
Customer email captured on the submission.
- customerName?string, nullable
Customer name captured on the submission. This can differ from
billing.nameorshipping.name. - formTitle?string, nullable
Public title of the form that received the submission.
Billing details captured on the submission.
Shipping details captured on the submission.
Submitted form field values in display order.
- livemode?boolean, nullable
Whether the submission was created in live mode (
true) or test mode (false). - locale?string, nullable
Locale active when the submission was created.
- sessionId?string, nullable
Checkout/session ID associated with the submission.
- clientIp?string, nullable
Client IP address recorded at submission time.
- userAgent?string, nullable
Client user agent string recorded at submission time.
- screenWidth?number, nullable
Client screen width recorded at submission time.
- visitId?string, nullable
Tracked visit ID associated with the submission.
- queryParameters?Record<string, string>, nullable
Query parameters captured from the page URL at submission time. Values are stringified in API output.
- pageSlug?string, nullable
Page slug for the form that received the submission.
- createdAtstring
ISO 8601 timestamp when the submission was created.
date-time
- updatedAtstring
ISO 8601 timestamp when the submission was last updated.
date-time
- idstring
Bad request - Invalid request parameters
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Unauthorized - Missing or invalid API key
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Forbidden - Insufficient permissions or validation error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Submission not found
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
Rate Limit Exceeded - Please try again later.
- messagestring
Human-readable error message.
Internal server error
- statusstring
Indicates the request failed.
error - typestring
Machine-readable error category.
- messagestring
Human-readable error message.
Optional validation details for invalid requests.
import { createCheckoutPageClient } from '@checkoutpage/sdk';const checkoutpage = createCheckoutPageClient({ apiKey: process.env.CHECKOUTPAGE_API_KEY!,});const response = await checkoutpage.submissions.get('6812fe6e9f39b6760576f01c');{
"data": {
"id": "6812fe6e9f39b6760576f01c",
"status": "succeeded",
"orderStatus": "active",
"canceledAt": "2019-08-24T14:15:22Z",
"canceledReason": "string",
"canceledBy": "string",
"canceledByApiKey": "string",
"canceledByApiKeyName": "string",
"sellerId": "string",
"pageId": "string",
"customerId": "string",
"customerEmail": "string",
"customerName": "string",
"formTitle": "string",
"billing": {
"name": "string",
"companyName": "string",
"email": "string",
"billingEmail": "string",
"phone": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
}
},
"shipping": {
"name": "string",
"phone": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
}
},
"fields": [
{
"fieldId": "string",
"label": "string",
"value": "string",
"values": [
"string"
],
"element": "string",
"type": "string",
"meta": {
"property1": null,
"property2": null
},
"reference": "string"
}
],
"livemode": true,
"locale": "string",
"sessionId": "string",
"clientIp": "string",
"userAgent": "string",
"screenWidth": 0,
"visitId": "string",
"queryParameters": {
"property1": "string",
"property2": "string"
},
"pageSlug": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"status": "error",
"type": "ValidationError",
"message": "Bad request - Invalid body: Field 'email' must be a valid email address",
"errors": [
{
"param": "email",
"message": "must be a valid email address"
}
]
}{
"status": "error",
"type": "error",
"message": "Missing or invalid API key"
}{
"status": "error",
"type": "error",
"message": "Insufficient permissions requires: BOOKINGS_WRITE"
}{
"status": "error",
"type": "error",
"message": "Submission not found"
}{
"message": "API key rate limit exceeded. Please try again later."
}{
"status": "error",
"type": "error",
"message": "Internal server error"
}