Read import config
curl --request GET \
--url https://apiweb.mile.app/api/v3/import-configs \
--header 'Authorization: Bearer <token>'import requests
url = "https://apiweb.mile.app/api/v3/import-configs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://apiweb.mile.app/api/v3/import-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apiweb.mile.app/api/v3/import-configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apiweb.mile.app/api/v3/import-configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apiweb.mile.app/api/v3/import-configs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiweb.mile.app/api/v3/import-configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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": "« Previous",
"active": false
},
{
"url": "https://api.mile.app/api/v3/import-configs?limit=20&page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"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
}
}{
"status": false,
"message": "Bad request - invalid parameters provided."
}{
"status": false,
"message": "Internal server error, please contact support@mile.app."
}Import Config
Read import config
GET
/
import-configs
Read import config
curl --request GET \
--url https://apiweb.mile.app/api/v3/import-configs \
--header 'Authorization: Bearer <token>'import requests
url = "https://apiweb.mile.app/api/v3/import-configs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://apiweb.mile.app/api/v3/import-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://apiweb.mile.app/api/v3/import-configs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://apiweb.mile.app/api/v3/import-configs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://apiweb.mile.app/api/v3/import-configs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://apiweb.mile.app/api/v3/import-configs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"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": "« Previous",
"active": false
},
{
"url": "https://api.mile.app/api/v3/import-configs?limit=20&page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"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
}
}{
"status": false,
"message": "Bad request - invalid parameters provided."
}{
"status": false,
"message": "Internal server error, please contact support@mile.app."
}Authorizations
Use a valid Bearer token to authenticate.
Query Parameters
Filter by reference ID (e.g., flow ID).
Example: 66a988d53ae08a7ab52867c2
Sort order for results.
Example: asc or desc.
Default: desc
Limit of import config list. Example: 10. Default: 20. Max: 1000
⌘I