GET Get Campaign​
Retrieve a single campaign by ID. Optionally include related data (template, subjects) via the with parameter. When viewCampaign is set, returns the campaign with its paginated emails. Also returns available email templates and the server's current time.
Required capability: fcrm_read_emails or fcrm_manage_emails — which one applies depends on the action being performed.
Enforced by CampaignPolicy::verifyRequest(), the policy default for this route group.
Authorizations​
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Parameters​
Path Parameters
The campaign ID.
Query Parameters
Include related data (e.g., template, subjects).
If set, returns the campaign with paginated emails instead of the standard response.
Responses​
Campaign retrieved successfully.