Get one Campaign
Returns one Campaign by solarOS id inside the authenticated organization boundary with External References. Required scope: campaigns:read.
Returns one Campaign by solarOS id inside the authenticated organization boundary with External References. Required scope: campaigns:read.
Get one Campaign. Use an organization API key with campaigns:read. Check the response envelope and meta.requestId before triggering dependent workflow steps.
Required scopes
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| idrequired | path | string | Campaign identifier returned by the Organization API. |
Request body
This endpoint does not accept a JSON request body.
Responses
Campaign detail envelope
#/components/schemas/CampaignEnvelope
Missing or invalid organization API key
#/components/schemas/OrgApiError
Organization billing access or an endpoint-specific business quota denied the request
#/components/schemas/OrgApiError
Missing required scope: campaigns:read
#/components/schemas/OrgApiError
Campaign not found
#/components/schemas/OrgApiError
Rate limit exceeded
#/components/schemas/OrgApiError
Errors
Static examples
curl -X GET "$SOLAROS_BASE_URL/api/v1/campaigns/$SOLAROS_CAMPAIGN" \ -H "Authorization: Bearer $SOLAROS_API_KEY"