Skip to main content
POST
Colombia Laws Search

Authorizations

Authorization
string
header
required

Use Authorization: Bearer YOUR_API_KEY

Headers

Idempotency-Key
string

Optional client-chosen key for this request (any string up to 255 characters, e.g. a UUID). Every Croma operation is an idempotent lookup: repeating a request with the same body returns the same result and creates nothing, so retrying after a timeout or network failure is always safe. The key is echoed back in the Idempotency-Key response header so you can correlate a retry with its first attempt. Each attempt that reaches the API counts against the rate limit.

Maximum string length: 255
Example:

"0f8e9a42-6b7c-4d1e-9a3f-2c5d7e8f9a0b"

Body

application/json
query
string
default:""

Free-text search over law titles and content. Omit to list all.

Maximum string length: 200
law_type
string
default:""

Filter by law type (e.g. ley, decreto). Omit for all types.

Maximum string length: 60
year
string
default:""

Filter by publication year (yyyy). Omit for all years.

status
string
default:""

Filter by law status (e.g. in_force). Omit for any status.

Maximum string length: 40
jurisdiction
string
default:""

Filter by jurisdiction. Omit for all jurisdictions.

Maximum string length: 60
page
integer
default:1

1-based page number for paginated results.

Required range: 1 <= x <= 1000
per_page
integer
default:50

Results per page (1-100).

Required range: 1 <= x <= 100

Response

Successful response

data
object
required