POST /proposal
NOTE: The EPA API has sunset on September 30, 2026. Endpoints are no longer accessible. For alternatives, see EPA to PDP Migration.
Creates a new proposal.
Before you create a proposal, be sure to have the following information available:
The partner seat ID in The Trade Desk platform. To retrieve a list of seat IDs, use the GET /proposal/seats endpoint.
The seller ID value from the sellers.json file or a unique ID of the seller.
The external deal ID from the bid request in The Trade Desk platform.
At least one creative format restriction for each deal.
Request example
To create a proposal, use the POST /proposal endpoint and include the required proposal and deal information.
{
"DisplayName": "Test Proposal",
"Buyer": {
"BuyerId": "5168"
},
"Seller": {
"SellerId": "Test",
"SellerName": "Test Seller"
},
"Deals": [
{
"DisplayName": "Test Deal",
"ExternalDealId": "4263497813",
"PublisherIds": [
"1234"
],
"DealType": "Preferred",
"PreferredDealTerms": {
"RateType": "CPM",
"Rate": {
"Amount": 0.05,
"CurrencyCode": "USD"
}
},
"CreativeRestrictions": {
"CreativeFormat": "Display"
}
}
]
}
For details on the individual properties, see Proposal object and Deals object.
Response example
A successful response to a POST /proposal request returns a Proposal object with a proposal ID and RevisionNumber set to 1.
{
"ProposalId": 1234,
"DisplayName": "Test Proposal",
"RevisionNumber": 1,
"Buyer": {
"BuyerId": "5168"
},
"Seller": {
"SellerId": "Test",
"SellerName": "Test Seller"
},
"Deals": [
{
"DealId": 5367297813,
"DisplayName": "Test Deal",
"ExternalDealId": "4263497813",
"PublisherIds": [
"1234"
],
"DealType": "Preferred",
"PreferredDealTerms": {
"RateType": "CPM",
"Rate": {
"Amount": 0.05,
"CurrencyCode": "USD"
}
},
"CreativeRestrictions": {
"CreativeFormat": "Display"
},
"CreateTime": "2021-08-19T18:53:18.05",
"UpdateTime": "2021-08-19T18:53:18.05"
}
],
"Notes": [],
"Originator": "Seller",
"LastUpdatedBy": "Seller",
"ProposalState": "Proposed",
"SellerAccepted": "false",
"BuyerAccepted": "false",
"CreatedTime":"2021-08-19T18:53:18.05",
"UpdatedTime":"2021-08-20T23:01:41.05"
}
For details on the individual properties, see Proposal object and Deals object.
Error codes and messages
The following table provides a list of common errors and their respective HTTP error codes.
| HTTP Code | Status | Description |
|---|---|---|
| 400 | Bad Request | The request had missing or invalid parameters. |
| 404 | Not Found | The buyer seat does not exist. |