--- title: "API reference: Imports" slug: "api-reference-import" updated: 2026-07-31T06:51:16Z published: 2026-07-31T06:51:16Z canonical: "help.elaine.io/api-reference-import" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.elaine.io/llms.txt > Use this file to discover all available pages before exploring further. # API reference: Imports API reference: Imports documents the function signatures, parameters, return values, and error behavior of the Elaine HTTP API. > [!NOTE] > Note > > Function availability depends on the Elaine release and enabled features. Authenticate HTTP requests with an Elaine-issued Bearer JWT. ## Function overview | array\|integer | api_getImportStatus ( string $filename ) | | --- | --- | | | Returns the status of the import via the import file name $filename. | ## Functions ## ### **api_getImportStatus** #### array|integer api_getImportStatus( string $filename ) SINCE 5.11.3 Returns the status of the import via the import file name `$filename`. The return array contains the following information: - `'i_id'`: import ID - `'ev_id'`: recipient group ID - `'i_status'`: `'pending'`,`'processing'`,`'finished'` oder `'rollback'` - `'i_start'`: start time of the import as string - `'i_finish'`: end time of the import as string - `'sieis_report'`: the full report of the import in JSON format (only with SIES imports). #### Parameters | string | $filename | Name of the import file | | --- | --- | --- | #### Return Value | array\|integer | Status data of the imported file | | --- | --- | ## Related topics - [API reference](/new-public-docs/docs/en/api-reference) - [Call the HTTP API with cURL](/new-public-docs/docs/en/api-http-requests) - [Authentication, network security, and VPN](/new-public-docs/docs/en/api-authentication-security)