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

# Get post status

GET https://api.algorhythm.app/v1/posts/{post_id}

Look up a post by the `post_id` returned from `POST /v1/posts`. Returns the current `status`; once the post is live, also returns the TikTok `platform_post_id` and `url`. Lets you confirm delivery without relying on the webhook.

**Rate limit:** 200 requests per minute per team.

Reference: https://docs.algorhythm.app/api-reference/posts/get-post-v-1-posts-post-id-get

## Authentication

- `X-API-Key` header (required) — API Key authentication via header

## Request

### Path parameters

- `post_id` (string, required)

## Response

### 200

Successful Response

- `post_id` (string, required) — The post identifier (the same value returned by `POST /v1/posts`).
- `profile_id` (string, required) — The farm profile this post belongs to.
- `status` (enum, required) — `processing` while the post uploads/publishes on the device, `posted` once it is live on TikTok, `failed` if the post errored out.
  - Allowed values: `processing`, `posted`, `failed`
- `platform_post_id` (string, optional, nullable) — TikTok's native post ID. `null` until the post is `posted`.
- `url` (string, optional, nullable) — Public TikTok URL of the post. `null` until the post is `posted`.
- `failure_reason` (string, optional, nullable) — Why the post failed, when `status` is `failed`. `null` otherwise.

## Errors

### 404 Not Found Error

Post not found, or it does not belong to your team.

- `any`

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

### 429 Too Many Requests Error

Rate limit exceeded.

- `any`

## Types

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (ValidationErrorCtx, optional)

### ValidationErrorLocItems

- string
- integer

### ValidationErrorCtx

## Examples

**Response**

```json
{
  "post_id": "273a704c-0114-4e9e-a574-e8ae3a4d427e",
  "profile_id": "f8a1c2d4-3b7e-4f9a-9c2d-1e5b7a8f9c3d",
  "status": "posted",
  "platform_post_id": "7255433468434549509",
  "url": "https://www.tiktok.com/@greenvalleyfarm/video/7255433468434549509"
}
```

**SDK Code**

```python
import requests

url = "https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

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"
	"net/http"
	"io"
)

func main() {

	url := "https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	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.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e")

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

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

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.get("https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.algorhythm.app/v1/posts/273a704c-0114-4e9e-a574-e8ae3a4d427e")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```