POST /v1/marketing/campaigns/{campaign_id}:simulate
SimulateCampaign evaluates a real customer fact without emitting a Grant, changing a wallet, reserving quota, or creating a coupon code.
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
campaign_idpath · string · required
Request body
campaign_idstringcustomer_account_idstring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/marketing/campaigns/{campaign_id}:simulate' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"customer_account_id": "<value>"
}'Response contract
200 · OK
amountstringbenefit_typestringcampaign_idstringcampaign_revision_idstringcustomer_account_idstringeligiblebooleanexisting_benefit_grant_idstringreasonstringsource_factstringtrigger_typestring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.