GET
/
admin
/
fields
/
options
/
{program_id}
/
{type}
curl --request GET \
  --url https://api.helpyousponsor.com/v1/admin/fields/options/{program_id}/{type} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "program": {},
    "fieldOptions": {},
    "fields": [
      {}
    ],
    "type": "<string>",
    "reports": [
      {}
    ],
    "details": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

program_id
string
required

Program ID for which to fetch field options, or 'all' for all programs

type
string
required

Type of the field options to retrieve

Example:

"all or available"

Response

200 - application/json
Detailed field options retrieved successfully
data
object