Skip to main content

Retrieve all Opportunities

ENDPOINT
GET https://api.codecoogs.com/v1/opportunities

Returns every opportunity, ordered by display_order. The website uses website_viewable=true to fetch only what has been approved for public display.

EXAMPLE
GET https://api.codecoogs.com/v1/opportunities?website_viewable=true&is_active=true

URL Parameters


website_viewable boolean Optional

Filters to opportunities flagged for the public website. Must be true or false.


is_active boolean Optional

Filters to active or inactive opportunities. Must be true or false.

Body Parameters


No parameters.

Returns

Returns a success status and an array of opportunity objects. This call returns a success status and an error message if a boolean parameter is not true or false, or if something else goes wrong.