Skip to main content
GET
Get raw phytosanitary records for the authenticated company

Authorizations

Authorization
string
header
required

Scoped API token for external B2B endpoints. Send it in the Authorization header as Bearer <keyId>.<token>.

Query Parameters

startTime
string
required

Start date in YYYY-MM-DD format.

Pattern: ^\d{4}-\d{2}-\d{2}$
endTime
string
required

End date in YYYY-MM-DD format.

Pattern: ^\d{4}-\d{2}-\d{2}$

Response

Company phytosanitary records retrieved successfully.

status
enum<string>
Available options:
success
Example:

"success"

range
object
companyTimezone
string
Example:

"America/Monterrey"

companyId
string
Example:

"comp_12345"

totalRecords
integer
Example:

3

records
object[]