Opportunities

List all opportunities across all operators (department only)

Changed on
get/opportunities

Request

  • Base URL: https://api.ced.pagopa.it/api/ced-portal/v1
  • URL: https://api.ced.pagopa.it/api/ced-portal/v1/opportunities
  • Auth: HTTP bearer

Query parameters

offsetinteger
limitinteger
status'draft' | 'test_pending' | 'test_rejected' | 'test_passed' | 'published' | 'scheduled' | 'scheduled_suspension' | 'suspended' | 'deleted'

Filter by opportunity status. "scheduled" and "scheduled_suspension" are derived statuses (not stored): "scheduled" matches published opportunities whose dateFrom is still in the future; "published" matches those already effective (dateFrom <= today) with no future suspendFrom; "scheduled_suspension" matches live published opportunities with a future suspendFrom.

searchstring

Case-insensitive text search on the opportunity name and the operator name.

sortBy'createdAt' | 'updatedAt'
sortOrder'asc' | 'desc'
operatorIdstring
categoryIdstring
dateFromstring date
dateTostring date

Response

Paginated list of opportunities across all operators

totalinteger required

Changes

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status

    • ●

      added the new scheduled_suspension enum value to the // response property for the response status

    • ○

      added the new enum value scheduled_suspension to the query request parameter status

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property // to the response with the status