List all Companies
Changed onList all companies associated to this account
get/companies
Request
- Base URLhttps://api.travelperk.com
- URLhttps://api.travelperk.com/companies
- AuthAPI key in header Authorization
Query parameters
offsetinteger
[optional] Pagination offset index, 0 based (page number). Defaults to 0.
limitinteger
[optional] Maximum number of elements to return per page. Allowed values are in the range [1, 50]. See more info in Pagination. Defaults to 10.
include_disabledboolean
[optional] Controls whether to include disabled companies in the results. The account's default company is always included regardless of this setting. Defaults to false.
Response
200
Example response
{
"limit": 10,
"total": 2,
"companies": [
{
"name": "My Company Ltd",
"tax_id": "instant"
}
]
}Changes
- info
endpoint added
- info