POST
/
admin
/
sponsorships
/
{program_id}
/
headers
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/sponsorships/{program_id}/headers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": "1",
  "filter": true,
  "program_id": 1
}'
{
  "data": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

program_id
integer
required

Program ID for which to fetch sponsored table data

Body

application/json
ID and client ID to fetch details for
client_id
string
Example:

"1"

filter
boolean
program_id
integer
Example:

1

Response

200 - application/json
Sponsored table data fetched successfully
data
object[]