List opportunities

GET
/opportunities

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

status?string
Value in"draft" | "active" | "fulfilled" | "paused" | "stopped" | "completed"
limit?integer
Default25
Range1 <= value <= 100
cursor?string

Response Body

application/json

application/json

curl -X GET "https://terac.com/api/external/v2/opportunities"
{
  "data": [
    {
      "id": "string",
      "title": "string",
      "status": "draft",
      "num_participants": 0,
      "pricing": {
        "cost_per_participant_cents": 0,
        "total_cost_cents": 0,
        "currency": "usd"
      },
      "created_at": "2019-08-24T14:15:22Z"
    }
  ],
  "pagination": {
    "next_cursor": "string",
    "has_more": true
  }
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}