cURL
curl --request POST \ --url https://api.givebutter.com/v1/campaigns \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "code": "<string>", "account_id": "<string>", "event_id": "<string>", "type": "<string>", "title": "<string>", "subtitle": "<string>", "description": "<string>", "slug": "<string>", "url": "<string>", "goal": 123, "raised": 123, "donors": 123, "currency": "<string>", "cover": "<string>", "status": "<string>", "timezone": "<string>", "end_at": "<string>", "settings": [ { "name": "<string>", "value": "<string>" } ], "created_at": "<string>", "updated_at": "<string>", "event": { "title": "<string>", "type": "<string>", "location_name": "<string>", "address_formatted": "<string>", "google_place_id": "<string>", "start_at": "<string>", "end_at": "<string>", "timezone": "<string>", "details": "<string>", "private": "<string>", "tickets_required": "<string>", "livestream": "<string>", "livestream_start_at": "<string>", "livestream_end_at": "<string>", "created_at": "<string>", "updated_at": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
CampaignResource
Show child attributes
Was this page helpful?