Agency Extensions

Get Agency Capabilities

get
/agency/capabilities/

Returns all capabilities related to the agency including item sizes, item weights, and vehicle types available.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Success

application/json
Responseall of
get
/agency/capabilities/

Get Riders

get
/agency/get-riders/

Returns a paginated list of riders (agents) created by the agency.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
page_numberintegerOptional

The current page number

Default: 1
limitsintegerOptional

Number of riders to return per page

Default: 10
active_deliveriesbooleanOptional

Filter for agents with active deliveries

Default: false
locationstringOptional

Comma-separated latitude and longitude to sort agents by proximity

Example: 5.6456,-0.1124
Responses
200

Success

application/json
Responseall of
get
/agency/get-riders/

Last updated

Was this helpful?