Get Offers by Company

Details#

This endpoint returns offers from the company specified by companyId.

URL : /offers/company/:companyId

Method :

GET

Authentication

Auth is required to get hidden Offers. Only Admins or owners of hidden Offers will see them if isHidden is set to true. Otherwise, if in god mode, god_token must be provided.

Parameters#

god_token#

Body Parameter
Optional
String

If set, will use this for validating the usage of god mode (in case no session details are available, i.e., no logged-in user).

Request examples#

Example 1 - Valid Request#

Code :

200 OK

/offers/company/62601cb7cb39d3001b3664d9

Example 2 - Non-Existing Company#

Code :

422 UNPROCESSABLE ENTITY

/offers/company/62601cb7cb39d3001b3664d9