Get all imports

GET /api/v1/import

Query parameters

  • include string

    Comma separated list of relationships to include in the response. Valid relationships are [initiatedBy].

  • filter[uuid] string

    Filter by a comma separated list of UUIDs.

  • filter[types] string

    Filter by a comma separated list of import types.

  • filter[statuses] string

    Filter by a comma separated list of import statuses.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC. Defaults to 'created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string
      • created_at string
      • updated_at string
      • type string
      • mode string
      • headers array[string]
      • mapping object
        Hide mapping attributes Show mapping attributes object
        • fname string
        • lname string
        • email string
      • status string
      • total_jobs integer
      • progress integer
      • jobs_remaining integer
      • failed_jobs integer
      • error_report object
        Hide error_report attributes Show error_report attributes object
        • uuid string
        • created_at string
        • original_created_at string
        • updated_at string
        • uploaded_at string
        • status string
        • filename string
        • name string
        • extension string
        • type string
        • size string
        • path string
        • last_modified string
        • progress string
        • download_url string
        • folder_name string
        • folder string
        • documentable_type string
        • documentable string
        • navigator object
          Hide navigator attributes Show navigator attributes object
          • model_type string
          • model_uuid string
        • firm string
        • account string
        • tags string
      • errors object
        Hide errors attributes Show errors attributes object
        • client object
          Hide client attributes Show client attributes object
          • example array
          • description string
        • errors object
          Hide errors attributes Show errors attributes object
          • example object
            Hide example attribute Show example attribute object
            • send_welcome_email array[string]
          • description string
      • account object
        Hide account attributes Show account attributes object
        • uuid string
        • created_at string
        • updated_at string
        • type string
        • role string
        • first_name string
        • last_name string
        • name string
        • email string
        • firm string
        • primary_phone_number string
        • primary_email string
        • current_time_entry string
        • assigned_adviser string
        • assigned_administrator string
        • assigned_paraplanner string
        • introduced_by string
        • groups string
        • tags string
        • owners string
        • first_contact_date string
        • next_review_date string
        • previous_review_date string
        • anniversary_review_date string
        • with_login boolean
        • has_joint_account boolean
        • can_be_deleted string
        • joint_account_circle string
        • ownership_percentage integer
        • inactive_at string
        • custom_fields string
        • external_references string
GET /api/v1/import
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/import' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "mode": "store",
      "type": "clients",
      "uuid": "06255581-bb7e-4e15-b91b-d212b8803bd3",
      "errors": {
        "client": {
          "example": [],
          "description": "Client that failed importing"
        },
        "errors": {
          "example": {
            "send_welcome_email": [
              "The send welcome email field is required."
            ]
          },
          "description": "The reasons why the client failed importing"
        }
      },
      "status": "processing",
      "account": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Gareth Thompson",
        "role": "client",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "client",
        "uuid": "06a6141a-aa37-4d5f-8b93-4f1ae9e479c4",
        "email": "gareth@codepotato.co.uk",
        "groups": "App\\Http\\Resources\\GroupResource",
        "owners": "App\\Http\\Resources\\AccountResource",
        "last_name": "Thompson",
        "created_at": "2025-06-25T15:10:39+01:00",
        "first_name": "Gareth",
        "updated_at": "2025-06-25T15:10:39+01:00",
        "with_login": true,
        "inactive_at": "2025-06-25",
        "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
        "introduced_by": "App\\Http\\Resources\\AccountResource",
        "primary_email": "App\\Http\\Resources\\ContactDetailResource",
        "can_be_deleted": "false",
        "assigned_adviser": "App\\Http\\Resources\\AccountResource",
        "next_review_date": "2025-06-25T15:10:39+01:00",
        "has_joint_account": true,
        "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
        "first_contact_date": "2025-06-25T15:10:39+01:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
        "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
        "joint_account_circle": "App\\Http\\Resources\\CircleResource",
        "ownership_percentage": 100,
        "previous_review_date": "2025-06-25T15:10:39+01:00",
        "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
        "assigned_administrator": "App\\Http\\Resources\\AccountResource",
        "anniversary_review_date": "2025-06-25T15:10:39+01:00"
      },
      "headers": [
        "fname",
        "lname",
        "email"
      ],
      "mapping": {
        "email": "email",
        "fname": "first_name",
        "lname": "last_name"
      },
      "progress": 100,
      "created_at": "2025-06-25T15:10:39+01:00",
      "total_jobs": 4,
      "updated_at": "2025-06-25T15:10:39+01:00",
      "failed_jobs": 1,
      "error_report": {
        "firm": "App\\Http\\Resources\\FirmResource",
        "name": "Welcome to Plannr",
        "path": "Gareth Thompson/Subfolder/Welcome to Plannr.pdf",
        "size": "21691783",
        "tags": "App\\Http\\Resources\\TagResource",
        "type": "type",
        "uuid": "ff0dfd4f-fc56-4516-b17b-420594290aee",
        "folder": "App\\Http\\Resources\\FolderResource",
        "status": "uploaded",
        "account": "App\\Http\\Resources\\MinimalAccountResource",
        "filename": "Welcome to Plannr.pdf",
        "progress": "100",
        "extension": "pdf",
        "navigator": {
          "model_type": "account",
          "model_uuid": "3c7b816f-8892-4304-b958-6d6641fd2f29"
        },
        "created_at": "2025-06-25T15:10:39+01:00",
        "updated_at": "2025-06-25T15:10:39+01:00",
        "folder_name": "folder 2",
        "uploaded_at": "2025-06-25T15:10:39+01:00",
        "documentable": "Object",
        "download_url": "https://api.plannrcrm.com/file/1c57d818-fc01-4d87-903d-58629ce659bb/download",
        "last_modified": "2025-06-25T15:10:39+01:00",
        "documentable_type": "account",
        "original_created_at": "2025-06-25T15:10:39+01:00"
      },
      "jobs_remaining": 1
    }
  ]
}