Skip to main content
GET
Company search

Authorizations

Authorization
string
header
required

RS256 access token from POST /oauth/token. Send Authorization: Bearer <token>.

Query Parameters

name
string | null

Company name to search (English or Thai). The server applies the match itself and ignores client-supplied wildcard characters (* % _ ? [ ]). After those characters are removed, at least three characters must remain.

reg_no
string | null

Full 13-digit registration number. Matched exactly after client-supplied wildcard characters (* % _ ? [ ]) are removed, regardless of the match parameter.

match
enum<string>
default:contains

How to match name. contains (the default) finds the text anywhere in the English or Thai name and ranks names that start with the text first. prefix is a starts-with match. Ignored when searching only by reg_no.

Available options:
contains,
prefix

Response

Successful Response

companies
Company · object[]
required