> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.respona.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.respona.com/_mcp/server.

# Create Order

POST https://api.respona.com/rest/api/v1/orders
Content-Type: application/json

Reference: https://docs.respona.com/api-reference/orders-api/orders/create-order

## Authentication

- `x-api-key` header (required) — Server-to-server API key. Never embed in a browser or mobile client.

## Request

### Body (application/json)

This endpoint expects a CreateOrderRequest.

- `placements` (list of PlacementRequest, required)
- `title` (string, optional) — Optional order title (max 255 chars). Defaults to "New order" when omitted.

## Response

### 200

OK

- `order_id` (string, required)
- `title` (string, required) — Order title. Defaults to "New order" when none was supplied on creation.
- `status` (enum, required) — Current order status. One of: DRAFT, LAUNCHED, IN_PROGRESS, COMPLETED, REJECTED, REFUNDED.
  - Allowed values: `DRAFT`, `LAUNCHED`, `IN_PROGRESS`, `COMPLETED`, `REJECTED`, `REFUNDED`
- `placements` (list of PlacementResponse, required)
- `price` (long, required) — Order price in integer USD cents (1 credit = 1 cent).
- `price_breakdown` (list of PriceBreakdownLineView, required)
- `created_at` (string, required)
- `updated_at` (string, required)
- `number` (string, optional) — Human-facing sequential order number. Assigned at launch - omitted while the order is a draft.
- `launched_at` (string, optional)
- `credits_charged` (long, optional)

## Types

### PlacementRequest

- `requested_url` (string, required) — URL the placed backlink should point to.
- `quality_tier` (enum, required) — Minimum domain-authority band for the placement. DR_20 = Starter (DR 20+), DR_30 = Standard (DR 30+), DR_40 = Authority (DR 40+), DR_50 = Power (DR 50+), DR_60 = Elite (DR 60+).
  - Allowed values: `DR_20`, `DR_30`, `DR_40`, `DR_50`, `DR_60`
- `requested_anchor` (string, optional)
- `content_guidelines` (string, optional)
- `domain_specifications` (string, optional)

### PlacementResponse

- `placement_id` (string, required)
- `status` (enum, required) — Current placement status. One of: DRAFT, ORDERED, PENDING_APPROVAL, REJECTED, IN_PROGRESS, APPROVED, LIVE, REFUNDED.
  - Allowed values: `DRAFT`, `ORDERED`, `PENDING_APPROVAL`, `REJECTED`, `IN_PROGRESS`, `APPROVED`, `LIVE`, `REFUNDED`
- `requested_url` (string, required)
- `requested_anchor` (string, required)
- `quality_tier` (enum, required) — Minimum domain-authority band for the placement. DR_20 = Starter (DR 20+), DR_30 = Standard (DR 30+), DR_40 = Authority (DR 40+), DR_50 = Power (DR 50+), DR_60 = Elite (DR 60+).
  - Allowed values: `DR_20`, `DR_30`, `DR_40`, `DR_50`, `DR_60`
- `price` (long, required) — Placement price in integer USD cents (1 credit = 1 cent).
- `rejected_count` (integer, required) — How many proposed domains the client has rejected for this placement.
- `rejection_limit` (integer, required) — Rejection budget. On the (rejection_limit)-th reject the placement auto-refunds.
- `price_breakdown` (list of PriceBreakdownLineView, required)
- `number` (string, optional) — Human-facing sequential placement number. Assigned at launch - omitted while the order is a draft.
- `publisher_url` (string, optional) — URL where the link was actually published. Omitted until the placement is live.
- `content_guidelines` (string, optional)
- `domain_specifications` (string, optional)
- `domain_rating` (integer, optional) — Domain Rating of the proposed publisher domain. Omitted until a domain is proposed.
- `domain_traffic` (long, optional) — Monthly organic traffic of the proposed publisher domain. Omitted until a domain is proposed.
- `approved_at` (string, optional) — When the proposed domain was approved (RFC 3339 UTC). Omitted until approved.
- `concern_status` (enum, optional) — Overlay status of an open concern on this placement (RAISED / IN_REVIEW). Omitted when no concern is active.
  - Allowed values: `RAISED`, `IN_REVIEW`, `RESOLVED`

### PriceBreakdownLineView

- `code` (string, required) — Price-line code. Order level: PLACEMENTS_SUBTOTAL. Placement level: BASE_DR_20 / BASE_DR_30 / BASE_DR_40 / BASE_DR_50 / BASE_DR_60 (base price for the quality band), CONTENT_GUIDELINES_20PCT (+20% when content guidelines are supplied), DOMAIN_SPECIFICATIONS_20PCT (+20% when domain specifications are supplied).
- `amount` (long, required)

## Examples

**Request**

```json
{
  "placements": [
    {
      "requested_url": "string",
      "quality_tier": "DR_20"
    }
  ]
}
```

**Response**

```json
{
  "order_id": "string",
  "title": "string",
  "status": "DRAFT",
  "placements": [
    {
      "placement_id": "string",
      "status": "DRAFT",
      "requested_url": "string",
      "requested_anchor": "string",
      "quality_tier": "DR_20",
      "price": 1,
      "rejected_count": 1,
      "rejection_limit": 1,
      "price_breakdown": [
        {
          "code": "string",
          "amount": 1
        }
      ],
      "number": "string",
      "publisher_url": "string",
      "content_guidelines": "string",
      "domain_specifications": "string",
      "domain_rating": 1,
      "domain_traffic": 1,
      "approved_at": "string",
      "concern_status": "RAISED"
    }
  ],
  "price": 1,
  "price_breakdown": [
    {
      "code": "string",
      "amount": 1
    }
  ],
  "created_at": "string",
  "updated_at": "string",
  "number": "string",
  "launched_at": "string",
  "credits_charged": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.respona.com/rest/api/v1/orders"

payload = { "placements": [
        {
            "requested_url": "string",
            "quality_tier": "DR_20"
        }
    ] }
headers = {
    "x-api-key": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.respona.com/rest/api/v1/orders';
const options = {
  method: 'POST',
  headers: {'x-api-key': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"placements":[{"requested_url":"string","quality_tier":"DR_20"}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.respona.com/rest/api/v1/orders"

	payload := strings.NewReader("{\n  \"placements\": [\n    {\n      \"requested_url\": \"string\",\n      \"quality_tier\": \"DR_20\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.respona.com/rest/api/v1/orders")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"placements\": [\n    {\n      \"requested_url\": \"string\",\n      \"quality_tier\": \"DR_20\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.respona.com/rest/api/v1/orders")
  .header("x-api-key", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"placements\": [\n    {\n      \"requested_url\": \"string\",\n      \"quality_tier\": \"DR_20\"\n    }\n  ]\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.respona.com/rest/api/v1/orders', [
  'body' => '{
  "placements": [
    {
      "requested_url": "string",
      "quality_tier": "DR_20"
    }
  ]
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.respona.com/rest/api/v1/orders");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"placements\": [\n    {\n      \"requested_url\": \"string\",\n      \"quality_tier\": \"DR_20\"\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["placements": [
    [
      "requested_url": "string",
      "quality_tier": "DR_20"
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.respona.com/rest/api/v1/orders")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```