Skip to main content
POST
This endpoint is changing in a breaking way as we restructure how Protection Levels work. Contact us at api_support@stora.co and read this guide before starting any integration.

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Query Parameters

expand
string[]

This endpoint supports expandable responses. For more, see the documentation page.

Body

application/json

Create Opportunity Request

contact
object
required
site
object | null

The site associated with the opportunity

line_items
object[] | null

List of line items for the opportunity. At most one item per type is allowed.

Maximum array length: 2

Deal Unit Type Line Item

metadata
object | null

Set of key-value pairs for storing additional information on the opportunity. Learn more about metadata.

Response

opportunity successfully created

Single Opportunity

opportunity
object

Opportunity

meta
object