Growth

Generate a Growth Mission for an opportunity

GET
/api/v1/opportunities/{opportunity_id}/missions

Compares a business-side, a PayPal-side and a hybrid intervention for this opportunity's target segment - audience size, offer, budget and expected customers, each grounded in this merchant's own transaction and acquisition-channel history. Read-only: nothing is created until the merchant picks an option and calls POST /campaigns.

Authorization

HTTPBearer
AuthorizationBearer <token>

JWT access token

In: header

Path Parameters

opportunity_id*string
Formatuuid

Query Parameters

merchant_id?|

Optional merchant to act on. Must be one you are a member of.

Formatuuid

Header Parameters

X-Merchant-ID?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/opportunities/497f6eca-6276-4993-bfeb-53cbbbba6f08/missions"
{  "data": {    "allocation_basis": "historical",    "arbitrage": {      "better_roi": 0,      "better_surface": "BUSINESS",      "confidence": "low",      "evidence_count": 0,      "recommended_shift_pct": 0,      "worse_roi": 0,      "worse_surface": "BUSINESS"    },    "business_option": {      "audience_label": "string",      "audience_size": 0,      "budget": 0,      "channel": "string",      "expected_customers": 0,      "expected_incremental_revenue": 0,      "historical_conversion_pct": 0,      "label": "string",      "offer_description": "string",      "offer_type": "string",      "provenance": "string",      "surface": "BUSINESS"    },    "business_pct": 0,    "dont_discount": {      "high_propensity_pct": 0,      "reasoning": "string",      "recommendation": "string"    },    "hybrid_option": {      "audience_label": "string",      "audience_size": 0,      "budget": 0,      "channel": "string",      "expected_customers": 0,      "expected_incremental_revenue": 0,      "historical_conversion_pct": 0,      "label": "string",      "offer_description": "string",      "offer_type": "string",      "provenance": "string",      "surface": "BUSINESS"    },    "opportunity_id": "5c7fee95-8917-4b3c-8649-bbbc4ef0c4f7",    "paypal_option": {      "audience_label": "string",      "audience_size": 0,      "budget": 0,      "channel": "string",      "expected_customers": 0,      "expected_incremental_revenue": 0,      "historical_conversion_pct": 0,      "label": "string",      "offer_description": "string",      "offer_type": "string",      "provenance": "string",      "surface": "BUSINESS"    },    "paypal_pct": 0,    "recommendation_reason": "string",    "recommended_surface": "BUSINESS",    "title": "string"  },  "meta": {},  "success": true}