Skip to content
Skip to Content
DevelopersAPI referenceImports

Import progress

GET
/v1/imports/{id}

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.

Path Parameters

id*string

Response Body

The import

application/json
  1. response
id*string
format*string
Value in"netscape""pocket""karakeep""omnivore""instapaper""readwise""linkwarden""mymind""onetab"
status*string
Value in"pending""running""done""failed"
total*integer

Entries found in the file

imported*integer
skipped*integer

Entries already saved before, or not usable (for example javascript: links)

error?|

Why the import failed, in words the user can read

error_code?|

error as a code: file_missing, unreadable (params format), unsupported_format (format), stopped, plan_limit (on a done import that stopped at the plan's item limit; params left, plan, limit, allowed, upgrade_to). Null when there is no error. Show error for a code you do not know.

error_params?|null
finished_at?|
Formatdate-time
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -X GET 'https://example.com/v1/imports/string'
Example Response
{  "id": "string",  "format": "netscape",  "status": "pending",  "total": 0,  "imported": 0,  "skipped": 0,  "error": "string",  "error_code": "string",  "error_params": {    "property1": "string",    "property2": "string"  },  "finished_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}