Skip to main content

Get Campaign

GET/api/v1/campaign/{campaign_id}

Get campaign details

cURL example

curl -X GET \
  'http://localhost:8000/api/v1/campaign/{campaign_id}' \
  -H 'Authorization: Bearer <API_KEY>'

Parameters

NameLocationTypeDescription
campaign_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

200Successful Response
application/json
View schema
{
  "$ref": "#/components/schemas/CampaignResponse"
}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}