Skip to main content
GET
/
contacts
/
import
Get import status
curl --request GET \
  --url https://brew.new/api/contacts/import \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "import": {
      "id": "<string>",
      "fileName": "<string>",
      "status": "pending",
      "totalRows": 123,
      "processedRows": 123,
      "addedCount": 123,
      "updatedCount": 123,
      "errorCount": 123,
      "errorMessage": "<string>",
      "createdAt": 123,
      "updatedAt": 123
    }
  },
  "meta": {
    "requestId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Use Authorization: Bearer brew_xxxxx header

Query Parameters

importId
string

Import job ID (omit to list recent imports)

Response

Import status or list of imports

success
enum<boolean>
required
Available options:
true,
false
data
object
required
meta
object