List Posts
curl --request GET \
--url https://relay.snipp.gg/posts \
--header 'relay-key: <api-key>'import requests
url = "https://relay.snipp.gg/posts"
headers = {"relay-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'relay-key': '<api-key>'}};
fetch('https://relay.snipp.gg/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://relay.snipp.gg/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"relay-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://relay.snipp.gg/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("relay-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://relay.snipp.gg/posts")
.header("relay-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.snipp.gg/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["relay-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"posts": [
{
"code": "AbCd1234",
"url": "https://snipp.gg/p/AbCd1234",
"title": "Nice shot",
"description": null,
"privacy": "unlisted",
"created_at": "2026-09-30T18:42:11.512Z",
"view_count": 128,
"like_count": 42,
"comment_count": 3,
"priority": false,
"file_count": 1,
"files": [
{
"name": "a1b2c3d4e5f6789012345678abcdef01.png",
"url": "https://i.snipp.gg/123456789012345678/a1b2c3d4e5f6789012345678abcdef01.png",
"size": 2487312,
"mime_type": "image/png",
"width": 1920,
"height": 1080,
"thumbnail_url": null
}
],
"team_id": null,
"author": {
"id": "123456789012345678",
"username": "playerone",
"nickname": "Player One",
"avatar": "https://i.snipp.gg/avatars/123456789012345678/7e1f0a2b3c4d5e6f708192a3b4c5d6e7.png",
"verified": false,
"plan": "plus"
},
"liked": false,
"moderated": false,
"restricted": false
},
{
"code": "ZxCv9012",
"url": "https://snipp.gg/p/ZxCv9012",
"title": null,
"description": null,
"privacy": "private",
"created_at": "2026-09-28T10:00:00.000Z",
"view_count": 0,
"like_count": 0,
"comment_count": 0,
"priority": true,
"file_count": 1,
"files": [
{
"name": "c3d4e5f6789012345678abcdef010203.mp4",
"url": "https://i.snipp.gg/123456789012345678/c3d4e5f6789012345678abcdef010203.mp4?e=1790035200&s=9f2c4b7d1e8a3f6c0b5d2e9a7c4f1b8e3d6a0c9f2b5e8d1a4c7f0b3e6d9a2c5f",
"size": 48213904,
"mime_type": "video/mp4",
"width": 1920,
"height": 1080,
"thumbnail_url": "https://i.snipp.gg/123456789012345678/thumb/d4e5f6789012345678abcdef01020304.jpg?e=1790035200&s=9f2c4b7d1e8a3f6c0b5d2e9a7c4f1b8e3d6a0c9f2b5e8d1a4c7f0b3e6d9a2c5f"
}
],
"team_id": null,
"author": {
"id": "123456789012345678",
"username": "playerone",
"nickname": "Player One",
"avatar": "https://i.snipp.gg/avatars/123456789012345678/7e1f0a2b3c4d5e6f708192a3b4c5d6e7.png",
"verified": false,
"plan": "plus"
},
"liked": false,
"moderated": false,
"restricted": false
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0"
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}Posts
List Posts
List your personal posts, newest first. Requires gallery access on the key.
GET
/
posts
List Posts
curl --request GET \
--url https://relay.snipp.gg/posts \
--header 'relay-key: <api-key>'import requests
url = "https://relay.snipp.gg/posts"
headers = {"relay-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'relay-key': '<api-key>'}};
fetch('https://relay.snipp.gg/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://relay.snipp.gg/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"relay-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://relay.snipp.gg/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("relay-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://relay.snipp.gg/posts")
.header("relay-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay.snipp.gg/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["relay-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"posts": [
{
"code": "AbCd1234",
"url": "https://snipp.gg/p/AbCd1234",
"title": "Nice shot",
"description": null,
"privacy": "unlisted",
"created_at": "2026-09-30T18:42:11.512Z",
"view_count": 128,
"like_count": 42,
"comment_count": 3,
"priority": false,
"file_count": 1,
"files": [
{
"name": "a1b2c3d4e5f6789012345678abcdef01.png",
"url": "https://i.snipp.gg/123456789012345678/a1b2c3d4e5f6789012345678abcdef01.png",
"size": 2487312,
"mime_type": "image/png",
"width": 1920,
"height": 1080,
"thumbnail_url": null
}
],
"team_id": null,
"author": {
"id": "123456789012345678",
"username": "playerone",
"nickname": "Player One",
"avatar": "https://i.snipp.gg/avatars/123456789012345678/7e1f0a2b3c4d5e6f708192a3b4c5d6e7.png",
"verified": false,
"plan": "plus"
},
"liked": false,
"moderated": false,
"restricted": false
},
{
"code": "ZxCv9012",
"url": "https://snipp.gg/p/ZxCv9012",
"title": null,
"description": null,
"privacy": "private",
"created_at": "2026-09-28T10:00:00.000Z",
"view_count": 0,
"like_count": 0,
"comment_count": 0,
"priority": true,
"file_count": 1,
"files": [
{
"name": "c3d4e5f6789012345678abcdef010203.mp4",
"url": "https://i.snipp.gg/123456789012345678/c3d4e5f6789012345678abcdef010203.mp4?e=1790035200&s=9f2c4b7d1e8a3f6c0b5d2e9a7c4f1b8e3d6a0c9f2b5e8d1a4c7f0b3e6d9a2c5f",
"size": 48213904,
"mime_type": "video/mp4",
"width": 1920,
"height": 1080,
"thumbnail_url": "https://i.snipp.gg/123456789012345678/thumb/d4e5f6789012345678abcdef01020304.jpg?e=1790035200&s=9f2c4b7d1e8a3f6c0b5d2e9a7c4f1b8e3d6a0c9f2b5e8d1a4c7f0b3e6d9a2c5f"
}
],
"team_id": null,
"author": {
"id": "123456789012345678",
"username": "playerone",
"nickname": "Player One",
"avatar": "https://i.snipp.gg/avatars/123456789012345678/7e1f0a2b3c4d5e6f708192a3b4c5d6e7.png",
"verified": false,
"plan": "plus"
},
"liked": false,
"moderated": false,
"restricted": false
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0"
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}{
"error": {
"type": "invalid_request",
"message": "<string>",
"username": "<string>",
"quota": 123,
"used": 123,
"resets_at": "2023-11-07T05:31:56Z",
"failed": [
{
"index": 123,
"error": "<unknown>"
}
]
}
}List your own posts, newest first.
Behavior
- Returns every personal post you own, whatever its privacy, including moderated and restricted ones. Drafts and team posts are not included.
- Results are paginated: pass
limit(1 to 100, default 30) and the previous page’snext_cursorascursor. - Each item is a full post object, with
moderatedandrestrictedsince you own it. - File URLs on private posts are signed and expire after 24 hours. List again for fresh ones.
- Team keys are not accepted here and get
401.
Examples
curl "https://relay.snipp.gg/posts?limit=50" \
-H "relay-key: YOUR_RELAY_KEY"
Responses
{
"posts": [
{
"code": "AbCd1234",
"url": "https://snipp.gg/p/AbCd1234",
"title": "Nice shot",
"description": null,
"privacy": "unlisted",
"created_at": "2026-09-30T18:42:11.512Z",
"view_count": 128,
"like_count": 42,
"comment_count": 3,
"priority": false,
"file_count": 1,
"files": [
{
"name": "a1b2c3d4e5f6789012345678abcdef01.png",
"url": "https://i.snipp.gg/123456789012345678/a1b2c3d4e5f6789012345678abcdef01.png",
"size": 2487312,
"mime_type": "image/png",
"width": 1920,
"height": 1080,
"thumbnail_url": null
}
],
"team_id": null,
"author": {
"id": "123456789012345678",
"username": "playerone",
"nickname": "Player One",
"avatar": "https://i.snipp.gg/avatars/123456789012345678/7e1f0a2b3c4d5e6f708192a3b4c5d6e7.png",
"verified": false,
"plan": "plus"
},
"liked": false,
"moderated": false,
"restricted": false
},
{
"code": "ZxCv9012",
"url": "https://snipp.gg/p/ZxCv9012",
"title": null,
"description": null,
"privacy": "private",
"created_at": "2026-09-28T10:00:00.000Z",
"view_count": 0,
"like_count": 0,
"comment_count": 0,
"priority": true,
"file_count": 1,
"files": [
{
"name": "c3d4e5f6789012345678abcdef010203.mp4",
"url": "https://i.snipp.gg/123456789012345678/c3d4e5f6789012345678abcdef010203.mp4?e=1790035200&s=9f2c4b7d1e8a3f6c0b5d2e9a7c4f1b8e3d6a0c9f2b5e8d1a4c7f0b3e6d9a2c5f",
"size": 48213904,
"mime_type": "video/mp4",
"width": 1920,
"height": 1080,
"thumbnail_url": "https://i.snipp.gg/123456789012345678/thumb/d4e5f6789012345678abcdef01020304.jpg?e=1790035200&s=9f2c4b7d1e8a3f6c0b5d2e9a7c4f1b8e3d6a0c9f2b5e8d1a4c7f0b3e6d9a2c5f"
}
],
"team_id": null,
"author": {
"id": "123456789012345678",
"username": "playerone",
"nickname": "Player One",
"avatar": "https://i.snipp.gg/avatars/123456789012345678/7e1f0a2b3c4d5e6f708192a3b4c5d6e7.png",
"verified": false,
"plan": "plus"
},
"liked": false,
"moderated": false,
"restricted": false
}
],
"has_more": true,
"next_cursor": "eyJ0IjoiMjAyNi0wOS0yOFQxMDowMDowMC4wMDBaIiwiayI6IlF3RXI1Njc4In0"
}
Errors
| Status | Type | When |
|---|---|---|
400 | invalid_request | Invalid limit or cursor |
401 | unauthorized | Missing or invalid key |
403 | suspended | Your account is suspended |
429 | rate_limited | More than 20 requests in 30 seconds |
Authorizations
Your relay key from snipp.gg/settings/relay
Query Parameters
Items per page, 1 to 100.
Required range:
1 <= x <= 100next_cursor from the previous page.