DocumentationAPI referenceQueue a batch of addresses

SATIK API · V1 BETA

Queue a batch of addresses

Requires a live key; test keys cannot create batches. The plan cap may be lower than 1,000. Register signed callbacks in the workspace.

POST

https://api.satik.in/v1/addresses/verify/batch

Use a server-side Bearer API key. Authentication guide →

Sample request (cURL)

Set the Postman variable SATIK_LIVE_KEY to a live key from your workspace.

curl --request POST 'https://api.satik.in/v1/addresses/verify/batch' \
  --header 'Authorization: Bearer {{SATIK_LIVE_KEY}}' \
  --header 'Content-Type: application/json' \
  --data '{
  "addresses": [
    {
      "address": "Flat 402, Sharma Apartments, MG Road, Bengaluru 560001",
      "order_id": "BATCH-ORDER-001"
    }
  ]
}'

Requires a live key and creates a real queued job. Processing consumes verification quota and may call Google. Save the returned batch_id as the Postman variable BATCH_ID to check progress. The worker must be running for queued jobs to progress.

In Postman, choose Import and paste this cURL command. These double-brace variables are resolved by Postman; for a terminal request, replace them with actual values. For local testing, replace https://api.satik.in/v1 with http://localhost:3001/api/v1, keeping the endpoint path.

Request schema

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "addresses"
        ],
        "properties": {
          "addresses": {
            "type": "array",
            "minItems": 1,
            "maxItems": 1000,
            "items": {
              "$ref": "#/components/schemas/AddressInput"
            }
          },
          "idempotency_key": {
            "type": "string"
          }
        }
      }
    }
  }
}

Responses and errors

HTTP 202
{
  "description": "Success",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "batch_id": {
            "type": "string"
          },
          "status": {
            "enum": [
              "queued"
            ]
          },
          "total": {
            "type": "integer"
          }
        }
      }
    }
  }
}
HTTP 400
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 401
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 403
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 409
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 422
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 429
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 500
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 502
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 503
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}
HTTP 504
{
  "description": "Request failed. Inspect error.code and request_id.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

View shared schemas →