documents:npwp-detection

Check whether an image is an Indonesian NPWP card, and whether it is usable

post/v1/ai/documents/npwp-detection

Request

  • Base URL
    https://api.intura.co (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

imagestring nullable

The photograph, base64-encoded. A data: URL is accepted and its media type is read from the prefix. Bounded by MAX_UPLOAD_MB. Send this or object, never both.

objectstring nullable

A photograph already in storage, named by the object key POST /v1/platform/storage/uploads returned. Upload the capture straight from the browser or the phone to the presigned URL and send the key here: the image never passes through this request, so a large photograph costs an upload rather than an inference timeout. The key must be inside your own namespace. Send this or image, never both.

media_typestring nullable

The image's media type when it is not carried by a data: prefix. One of: image/jpeg, image/jpg, image/png, image/webp.

thresholdsobject nullable

Move the cuts for this one call. accept and review cut the document evidence; quality_accept and quality_retry cut the capture. Any subset is fine — whatever you leave out keeps Intura's default. GET /info lists all four with their ranges.

Example request

{
  "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ...",
  "object": "uploads/8f14e45f/2026/09/24/2c1a5b9e4d7f4a1b8c3d5e6f7a8b9c0d.jpg",
  "media_type": "image/jpeg",
  "thresholds": {
    "accept": 0.65,
    "quality_accept": 0.7
  }
}

Response

Successful Response

statusstring

Always success on a 2xx

codeinteger

Mirrors the HTTP status code

Changes

No recorded changes to this operation across all 1 revision of this API.