Imports
List imports
Find import submissions for the filers your connection can access.
/api/v1/imports/submissions/list- Authentication
- OAuth 2.0 access token
- Required scopes
imports.read- Idempotency key
- Not required
- Rate-limit cost
- 2 units
How to use this endpoint
Keep the same filters when following next_cursor. A restricted connection can return an empty page with a next cursor and no total count.
curl --request GET 'https://api.efilemagic.com/api/v1/imports/submissions/list' \
--header 'Authorization: Bearer <access-token>' \
--get \
--data-urlencode 'limit=25'Replace placeholders with your own values. Use the API resource origin provided for your environment.
Request fields
7 fieldsquery.qOptionalstring
Search text used to filter this collection. Maximum characters: 256.
query.filer_idOptionalstring (uuid)
ID of the filer that owns this operation's records.
query.statusOptionalstring
Allowed values: "upload_pending", "queued", "processing", "completed", "failed".
query.sort_byOptionalstring
Field used to order results. Allowed values: "created_at", "relevance".
query.sort_orderOptionalstring
Ascending or descending result order. Allowed values: "asc", "desc".
query.limitOptionalinteger
Maximum number of results requested for this page. Minimum: 1. Maximum: 100.
query.cursorOptionalstring
Opaque next_cursor from the previous page. Keep the other filters unchanged. Minimum characters: 1. Maximum characters: 2048.
Headers (2)
AuthorizationRequired- OAuth RS256 access token issued for the EFM API resource. Interactive EFM session tokens are rejected.
DPoPConditional / optional- Required when the application, connection, or credential is proof-of-possession bound.
curl --request GET 'https://api.efilemagic.com/api/v1/imports/submissions/list' \
--header 'Authorization: Bearer <access-token>' \
--get \
--data-urlencode 'limit=25'Replace placeholders with your own values. Use the API resource origin provided for your environment.
On success, data contains the fields below. meta includes api_version and request_id. Keep request_id when reporting a problem.
Response fields
3 fieldsitemsAlways returnedarray<object>
Maximum items: 100.
Nested fields (37)
chunk_checksumsMay be omittedarray<object>
Type: array<object>.
completed_atMay be omittedstring (date-time) | null
Type: string (date-time) | null.
content_typeAlways returnedstring
Maximum characters: 128.
created_atAlways returnedstring (date-time)
Type: string (date-time).
created_byAlways returnedobject
Type: object.
created_by_user_idMay be omittedstring (uuid) | null
Type: string (uuid) | null.
default_form_idMay be omittedstring | null
Type: string | null.
default_schema_revMay be omittedinteger | null
Type: integer | null.
default_tax_yearMay be omittedinteger | null
Type: integer | null.
detected_import_kindAlways returnedstring
Determined from uploaded file contents. Native Publication 1220 uses pub1220. Allowed values: "unknown", "standard_template", "inline_filer_template", "pub1220", "advanced_mapping".
file_nameAlways returnedstring
Maximum characters: 180.
filer_idMay be omittedstring (uuid) | null
Type: string (uuid) | null.
final_checksum_sha256May be omittedstring | null
Type: string | null.
imported_countAlways returnedinteger
Minimum: 0.
last_errorMay be omittedstring | null
Maximum characters: 2000.
mappingMay be omittedobject | null
Type: object | null.
next_row_numberAlways returnedinteger
Minimum: 1.
notification_sent_atMay be omittedstring (date-time) | null
Type: string (date-time) | null.
notify_emailMay be omittedstring (email) | null
Type: string (email) | null.
providerAlways returnedstring
Allowed values: "spreadsheet", "custom_spreadsheet", "generic_spreadsheet", "quickbooks_online", "xero", "bill", "zoho_books", "freshbooks", "business_central".
pub1220_corrections_skippedMay be omittedinteger
Minimum: 0.
pub1220_counts_completeMay be omittedboolean
Type: boolean.
pub1220_modeMay be omittedstring
Allowed values: "general_information", "with_details".
rolling_checksum_sha256May be omittedstring | null
Type: string | null.
row_count_processedAlways returnedinteger
Minimum: 0.
row_count_totalAlways returnedinteger
Minimum: 0.
rows_per_chunkAlways returnedinteger
Minimum: 1.
sha256May be omittedstring | null
Pattern: ^[a-f0-9]{64}$
size_bytesAlways returnedinteger
Minimum: 0.
skip_reason_countsMay be omittedobject | null
Additional values: integer.
skipped_countAlways returnedinteger
Minimum: 0.
statusAlways returnedstring
Type: string.
submission_idAlways returnedstring (uuid)
Type: string (uuid).
target_scopeAlways returnedstring
Type: string.
updated_atAlways returnedstring (date-time)
Type: string (date-time).
validation_issue_countAlways returnedinteger
Minimum: 0.
versionAlways returnedinteger
Minimum: 1.
next_cursorMay be omittedstring | null
Maximum characters: 4096.
total_countMay be omittedinteger | null
Minimum: 0.
{
"data": {
"items": [],
"next_cursor": null,
"total_count": null
},
"meta": {
"api_version": "v1",
"request_id": "example-request-id"
}
}No matching records. Synthetic empty-page example. Follow a non-null next_cursor even when items is empty. A null total_count means no count was supplied.
Errors to handle
Errors use {error: {code, message}, meta}. Check the code and message before retrying. Authentication, validation and availability errors can occur before the operation runs.
- 400
invalid_request - Check required fields, selectors and supported values.
- 401
invalid_token - Obtain a valid OAuth token for this resource. Check its expiry and current authorization.
- 403
insufficient_scope - Request the listed scopes through the application's authorization flow.
- 403
forbidden - Check the connection's permissions and allowed filers. More scopes alone may not grant access.
- 404
not_found - Check the resource ID and its owning filer. Batch reads report missing IDs as documented.
- 422
validation_failed - Correct the reported validation issues before retrying.
- 429
rate_limited - Wait for Retry-After before retrying. Avoid concurrent retries.
- 500
internal_error - Retain request_id; retry with bounded backoff.
- 503
service_unavailable - Retry with bounded backoff.