Skip to main content
GET
/
import-configs
Read import config
curl --request GET \
  --url https://apiweb.mile.app/api/v3/import-configs \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "code": 200,
  "message": "Success.",
  "data": {
    "current_page": 1,
    "data": [
      {
        "_id": "67b5a1234567890abcdef001",
        "name": "Delivery Order Import - Flow A",
        "description": "Column mapping preset for daily delivery order import",
        "collection": "task",
        "referenceType": "flow",
        "referenceId": "66a988d53ae08a7ab52867c2",
        "fields": [
          {
            "id": "orderNumber",
            "headerColumn": "Order No"
          },
          {
            "id": "customerName",
            "headerColumn": "Customer"
          },
          {
            "id": "billItem",
            "sheet": "Bill Items",
            "fields": [
              {
                "id": "name",
                "headerColumn": "Item Name"
              },
              {
                "id": "qty",
                "headerColumn": "Quantity"
              },
              {
                "id": "unitPrice",
                "headerColumn": "Price"
              }
            ]
          }
        ],
        "organizationId": "66791b2bf001a712b77b3622",
        "updatedTime": "2026-02-19T08:30:00.000000Z",
        "createdTime": "2026-02-19T08:30:00.000000Z"
      }
    ],
    "first_page_url": "https://api.mile.app/api/v3/import-configs?limit=20&page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "https://api.mile.app/api/v3/import-configs?limit=20&page=1",
    "links": [
      {
        "url": null,
        "label": "&laquo; Previous",
        "active": false
      },
      {
        "url": "https://api.mile.app/api/v3/import-configs?limit=20&page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "Next &raquo;",
        "active": false
      }
    ],
    "next_page_url": null,
    "path": "https://api.mile.app/api/v3/import-configs",
    "per_page": 20,
    "prev_page_url": null,
    "to": 1,
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Query Parameters

referenceId
string

Filter by reference ID (e.g., flow ID). Example: 66a988d53ae08a7ab52867c2

sortOrder
string

Sort order for results. Example: asc or desc. Default: desc

limit
integer

Limit of import config list. Example: 10. Default: 20. Max: 1000

Response

Success

status
boolean

Status of response.

data
object

Paginated list of import configs.