Send an offer: match a podcast to the campaign and notify the podcast owner
POST/v1/networks/:networkId/campaigns/:campaignId/offers
Creates a pending offer linking the podcast to the campaign and emails the podcast owner a tokenized review link. The campaign must have all fields required to send an offer filled in and, if variant_id is given, that variant must exist; the podcast must belong to this network; and no offer may already exist for the podcast (and variant) (any of these returns 400). The email is best-effort and never fails the request (the response's email_sent reports whether it went out). Requires the administrator network role.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Offer created and the owner notified
Response Headers
URL of the created offer
Missing podcast_id, campaign not ready to send, unknown variant, podcast not in network, or a duplicate offer
Missing or invalid API key
The API key is not authorized for this resource
Campaign or podcast not found