Skip to content

Collections

POST/api/v1.2/collections

Create a collection

Pixelfed only User token

Body parameters

titlestringrequired

descriptionstring

visibilitystring

sortstring

sensitiveboolean

status_idsarray

Returns

curl -X POST "https://pixelfed.social/api/v1.2/collections" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public",
    "sort": "oldest",
    "status_ids": ["728341901556629504", "728341901556629511"]
  }'
Response
{
  "id": "691204417380331520",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "visibility": "public",
  "sort": "oldest",
  "sensitive": false,
  "post_count": 1,
  "max_posts": 1000,
  "thumbnail": {
    "status_id": "728341901556629504",
    "type": "image",
    "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
    "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
    "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
  },
  "url": "https://pixelfed.social/c/691204417380331520",
  "is_owner": true,
  "account": {
    "id": "2",
    "username": "dansup",
    "acct": "dansup",
    "display_name": "dansup",
    "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
    "local": true
  },
  "published_at": "2026-02-11T07:05:41.000Z",
  "created_at": "2026-02-11T07:05:41.000Z",
  "updated_at": "2026-02-11T07:05:41.000Z",
  "rejected": [{
    "status_id": "728341901556629511",
    "error": "Only public and unlisted posts can be added to collections."
  }]
}
GET/api/v1.2/collections/self

List your collections

Pixelfed only User token

Query parameters

limitinteger

cursorstring

Returns

curl "https://pixelfed.social/api/v1.2/collections/self?limit=20" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "data": [{
    "id": "691204417380331520",
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public",
    "sort": "oldest",
    "sensitive": false,
    "post_count": 14,
    "max_posts": 1000,
    "thumbnail": {
      "status_id": "728341901556629504",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
      "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
      "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
    },
    "url": "https://pixelfed.social/c/691204417380331520",
    "is_owner": true,
    "account": {
      "id": "2",
      "username": "dansup",
      "acct": "dansup",
      "display_name": "dansup",
      "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
      "local": true
    },
    "published_at": "2026-02-11T07:05:41.000Z",
    "created_at": "2026-02-11T06:58:20.000Z",
    "updated_at": "2026-03-30T06:48:12.000Z"
  }, {
    "id": "691180225419190272",
    "title": "Winter light",
    "description": null,
    "visibility": "draft",
    "sort": "recent",
    "sensitive": false,
    "post_count": 0,
    "max_posts": 1000,
    "thumbnail": null,
    "url": "https://pixelfed.social/c/691180225419190272",
    "is_owner": true,
    "account": {
      "id": "2",
      "username": "dansup",
      "acct": "dansup",
      "display_name": "dansup",
      "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
      "local": true
    },
    "published_at": null,
    "created_at": "2026-02-11T05:22:03.000Z",
    "updated_at": "2026-02-11T05:22:03.000Z"
  }],
  "meta": {
    "next_cursor": "eyJpZCI6NjkxMTgwMjI1NDE5MTkwMjcyLCJfcG9pbnRzVG9OZXh0SXRlbXMiOnRydWV9",
    "prev_cursor": null
  }
}
GET/api/v1.2/accounts/{id}/collections

List an account's collections

Pixelfed only User token

Path parameters

idstringrequired

Query parameters

limitinteger

cursorstring

Returns

curl "https://pixelfed.social/api/v1.2/accounts/2/collections?limit=20" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "data": [{
    "id": "691204417380331520",
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public",
    "sort": "oldest",
    "sensitive": false,
    "post_count": 14,
    "max_posts": 1000,
    "thumbnail": {
      "status_id": "728341901556629504",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
      "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
      "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
    },
    "url": "https://pixelfed.social/c/691204417380331520",
    "is_owner": false,
    "account": {
      "id": "2",
      "username": "dansup",
      "acct": "dansup",
      "display_name": "dansup",
      "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
      "local": true
    },
    "published_at": "2026-02-11T07:05:41.000Z",
    "created_at": "2026-02-11T06:58:20.000Z",
    "updated_at": "2026-03-30T06:48:12.000Z"
  }],
  "meta": {
    "next_cursor": null,
    "prev_cursor": null
  }
}
GET/api/v1.2/collections/{id}

Get a collection

Pixelfed only User token

Path parameters

idstringrequired

Returns

curl "https://pixelfed.social/api/v1.2/collections/691204417380331520" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "id": "691204417380331520",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "visibility": "public",
  "sort": "oldest",
  "sensitive": false,
  "post_count": 14,
  "max_posts": 1000,
  "thumbnail": {
    "status_id": "728341901556629504",
    "type": "image",
    "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
    "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
    "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
  },
  "url": "https://pixelfed.social/c/691204417380331520",
  "is_owner": false,
  "account": {
    "id": "2",
    "username": "dansup",
    "acct": "dansup",
    "display_name": "dansup",
    "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
    "local": true
  },
  "published_at": "2026-02-11T07:05:41.000Z",
  "created_at": "2026-02-11T06:58:20.000Z",
  "updated_at": "2026-03-30T06:48:12.000Z"
}
PATCH/api/v1.2/collections/{id}

Update a collection

Pixelfed only User token

Path parameters

idstringrequired

Body parameters

titlestring

descriptionstring

visibilitystring

sortstring

sensitiveboolean

Returns

curl -X PATCH "https://pixelfed.social/api/v1.2/collections/691204417380331520" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "visibility": "public",
    "sort": "recent"
  }'
Response
{
  "id": "691204417380331520",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "visibility": "public",
  "sort": "recent",
  "sensitive": false,
  "post_count": 14,
  "max_posts": 1000,
  "thumbnail": {
    "status_id": "728602264871018496",
    "type": "image",
    "url": "https://pixelfed.social/storage/m/_v2/2/breakwater.jpg",
    "preview_url": "https://pixelfed.social/storage/m/_v2/2/breakwater_thumb.jpg",
    "blurhash": "UbG8%Tof00ay~qofRjj[IUWB%Mof-;WBRjay"
  },
  "url": "https://pixelfed.social/c/691204417380331520",
  "is_owner": true,
  "account": {
    "id": "2",
    "username": "dansup",
    "acct": "dansup",
    "display_name": "dansup",
    "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
    "local": true
  },
  "published_at": "2026-02-11T07:05:41.000Z",
  "created_at": "2026-02-11T06:58:20.000Z",
  "updated_at": "2026-10-17T09:14:03.000Z"
}
DELETE/api/v1.2/collections/{id}

Delete a collection

Pixelfed only User token

Path parameters

idstringrequired

Returns

curl -X DELETE "https://pixelfed.social/api/v1.2/collections/691204417380331520" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "id": "691204417380331520",
  "deleted": true
}
GET/api/v1.2/collections/{id}/items

List collection posts

Pixelfed only User token

Path parameters

idstringrequired

Query parameters

sortstring

limitinteger

cursorstring

Returns

curl "https://pixelfed.social/api/v1.2/collections/691204417380331520/items?sort=recent&limit=20" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "data": [{
    "id": "728602264871018496",
    "added_at": "2026-03-30T06:48:12.000Z",
    "status": {
      "_v": 1,
      "id": "728341901556629504",
      "shortcode": "W4kQ2pLm",
      "uri": "https://pixelfed.social/p/dansup/728341901556629504",
      "url": "https://pixelfed.social/p/dansup/728341901556629504",
      "content": "Golden hour at the pier",
      "content_text": "Golden hour at the pier",
      "created_at": "2026-09-14T17:42:10.000Z",
      "favourites_count": 31,
      "reblogs_count": 2,
      "reply_count": 4,
      "favourited": true,
      "reblogged": false,
      "bookmarked": false,
      "sensitive": false,
      "visibility": "public",
      "pf_type": "photo",
      "local": true,
      "media_attachments": [{
        "id": "728341067224219648",
        "type": "image",
        "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
        "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
        "description": "Wooden pier at sunset, two people fishing at the far end",
        "mime": "image/jpeg",
        "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
      }],
      "account": {
        "id": "2",
        "username": "dansup",
        "acct": "dansup",
        "display_name": "dansup",
        "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
        "local": true
      }
    }
  }],
  "meta": {
    "sort": "recent",
    "next_cursor": "eyJvcmRlciI6MTksImlkIjo3Mjg2MDIyNjQ4NzEwMTg0OTYsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0",
    "prev_cursor": null
  }
}
POST/api/v1.2/collections/{id}/items

Add posts to a collection

Pixelfed only User token

Path parameters

idstringrequired

Body parameters

status_idsarrayrequired

Returns

curl -X POST "https://pixelfed.social/api/v1.2/collections/691204417380331520/items" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "status_ids": ["728602264871018496", "731877240951128064"]
  }'
Response
{
  "added": ["728602264871018496"],
  "existing": [],
  "rejected": [{
    "status_id": "731877240951128064",
    "error": "This account does not allow their posts to be added to collections."
  }],
  "collection": {
    "id": "691204417380331520",
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public",
    "sort": "oldest",
    "sensitive": false,
    "post_count": 15,
    "max_posts": 1000,
    "thumbnail": {
      "status_id": "728341901556629504",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
      "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
      "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
    },
    "url": "https://pixelfed.social/c/691204417380331520",
    "is_owner": true,
    "account": {
      "id": "2",
      "username": "dansup",
      "acct": "dansup",
      "display_name": "dansup",
      "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
      "local": true
    },
    "published_at": "2026-02-11T07:05:41.000Z",
    "created_at": "2026-02-11T06:58:20.000Z",
    "updated_at": "2026-10-17T09:20:44.000Z"
  }
}
DELETE/api/v1.2/collections/{id}/items/{status_id}

Remove a post from a collection

Pixelfed only User token

Path parameters

idstringrequired

status_idstringrequired

Returns

curl -X DELETE "https://pixelfed.social/api/v1.2/collections/691204417380331520/items/728602264871018496" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "removed": "728602264871018496",
  "collection": {
    "id": "691204417380331520",
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public",
    "sort": "oldest",
    "sensitive": false,
    "post_count": 14,
    "max_posts": 1000,
    "thumbnail": {
      "status_id": "728341901556629504",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
      "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
      "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
    },
    "url": "https://pixelfed.social/c/691204417380331520",
    "is_owner": true,
    "account": {
      "id": "2",
      "username": "dansup",
      "acct": "dansup",
      "display_name": "dansup",
      "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
      "local": true
    },
    "published_at": "2026-02-11T07:05:41.000Z",
    "created_at": "2026-02-11T06:58:20.000Z",
    "updated_at": "2026-10-17T09:31:02.000Z"
  }
}
GET/api/v1.2/statuses/{id}/collections

List your collections for a post

Pixelfed only User token

Path parameters

idstringrequired

Query parameters

limitinteger

cursorstring

Returns

curl "https://pixelfed.social/api/v1.2/statuses/728602264871018496/collections" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "data": [{
    "id": "691204417380331520",
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public",
    "sort": "oldest",
    "sensitive": false,
    "post_count": 14,
    "max_posts": 1000,
    "thumbnail": {
      "status_id": "728341901556629504",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
      "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
      "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
    },
    "url": "https://pixelfed.social/c/691204417380331520",
    "is_owner": true,
    "account": {
      "id": "2",
      "username": "dansup",
      "acct": "dansup",
      "display_name": "dansup",
      "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
      "local": true
    },
    "published_at": "2026-02-11T07:05:41.000Z",
    "created_at": "2026-02-11T06:58:20.000Z",
    "updated_at": "2026-03-30T06:48:12.000Z",
    "contains": true,
    "removed_by_author": false
  }],
  "meta": {
    "status_id": "728602264871018496",
    "can_collect": true,
    "reason": null,
    "next_cursor": null,
    "prev_cursor": null
  }
}
POST/api/v1.2/statuses/{id}/collections

Add a post to several collections

Pixelfed only User token

Path parameters

idstringrequired

Body parameters

addarray

removearray

Returns

curl -X POST "https://pixelfed.social/api/v1.2/statuses/728602264871018496/collections" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "add": ["691204417380331520", "702331908811022336"],
    "remove": ["690911342260477952"]
  }'
Response
{
  "status_id": "728602264871018496",
  "added": ["691204417380331520", "702331908811022336"],
  "removed": ["690911342260477952"],
  "rejected": [],
  "collection_ids": ["691204417380331520", "702331908811022336"]
}
GET/api/v1.2/statuses/{id}/collected_by

List collections holding your post

Pixelfed only User token

Path parameters

idstringrequired

Query parameters

limitinteger

cursorstring

Returns

curl "https://pixelfed.social/api/v1.2/statuses/728341901556629504/collected_by" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "data": [{
    "id": "715560218340229120",
    "title": "Coastlines",
    "description": "Shorelines I keep coming back to",
    "visibility": "public",
    "sort": "recent",
    "sensitive": false,
    "post_count": 37,
    "max_posts": 1000,
    "thumbnail": {
      "status_id": "728341901556629504",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
      "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
      "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
    },
    "url": "https://pixelfed.social/c/715560218340229120",
    "is_owner": false,
    "account": {
      "id": "481",
      "username": "mira",
      "acct": "mira",
      "display_name": "Mira",
      "avatar": "https://pixelfed.social/storage/avatars/481/avatar.jpg",
      "local": true
    },
    "published_at": "2026-06-02T18:11:47.000Z",
    "created_at": "2026-06-02T18:09:30.000Z",
    "updated_at": "2026-09-15T02:03:19.000Z"
  }],
  "meta": {
    "total": 2,
    "next_cursor": null,
    "prev_cursor": null
  }
}
DELETE/api/v1.2/statuses/{id}/collected_by/{collection_id}

Remove your post from a collection

Pixelfed only User token

Path parameters

idstringrequired

collection_idstringrequired

Returns

curl -X DELETE "https://pixelfed.social/api/v1.2/statuses/728341901556629504/collected_by/715560218340229120" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "status_id": "728341901556629504",
  "removed": 1
}
DELETE/api/v1.2/statuses/{id}/collected_by

Remove your post from every collection

Pixelfed only User token

Path parameters

idstringrequired

Returns

curl -X DELETE "https://pixelfed.social/api/v1.2/statuses/728341901556629504/collected_by" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "status_id": "728341901556629504",
  "removed": 2
}
GET/api/v1.2/collections/settings

Get your collection settings

Pixelfed only User token

Returns

curl "https://pixelfed.social/api/v1.2/collections/settings" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "can_collect": "everyone",
  "policies": ["everyone", "followers", "nobody"]
}
PUT/api/v1.2/collections/settings

Update your collection settings

Pixelfed only User token

Body parameters

can_collectstringrequired

Returns

curl -X PUT "https://pixelfed.social/api/v1.2/collections/settings" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "can_collect": "followers"
  }'
Response
{
  "can_collect": "followers",
  "policies": ["everyone", "followers", "nobody"]
}
GET/api/v1.1/collections/accounts/{id}

List an account's collections (v1.1)

Pixelfed only User token

Path parameters

idstringrequired

Query parameters

pageinteger

Returns

curl "https://pixelfed.social/api/v1.1/collections/accounts/2?page=1" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
[{
  "id": "691204417380331520",
  "pid": "2",
  "visibility": "public",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "thumb": "https://pixelfed.social/storage/m/_v2/2/harbour_thumb.jpg",
  "url": "https://pixelfed.social/c/691204417380331520",
  "updated_at": "2026-03-30T06:48:12.000000Z",
  "published_at": "2026-02-11T07:05:41.000000Z",
  "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
  "username": "dansup",
  "post_count": 14
}]
GET/api/v1.1/collections/self

List your collections (v1.1)

Pixelfed only User token

Query parameters

pageinteger

Returns

curl "https://pixelfed.social/api/v1.1/collections/self" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
[{
  "id": "691204417380331520",
  "pid": "2",
  "visibility": "public",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "thumb": "https://pixelfed.social/storage/m/_v2/2/harbour_thumb.jpg",
  "url": "https://pixelfed.social/c/691204417380331520",
  "updated_at": "2026-03-30T06:48:12.000000Z",
  "published_at": "2026-02-11T07:05:41.000000Z",
  "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
  "username": "dansup",
  "post_count": 14,
  "items": [{
    "id": "728341901556629504",
    "shortcode": "W4kQ2pLm",
    "url": "https://pixelfed.social/p/dansup/728341901556629504",
    "content_text": "Golden hour at the pier",
    "visibility": "public",
    "pf_type": "photo",
    "media_attachments": [{
      "id": "728341067224219648",
      "type": "image",
      "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg"
    }],
    "account": {
      "id": "2",
      "username": "dansup"
    }
  }]
}]
GET/api/v1.1/collections/view/{id}

Get a collection (v1.1)

Pixelfed only User token

Path parameters

idstringrequired

Returns

curl "https://pixelfed.social/api/v1.1/collections/view/691204417380331520" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
{
  "id": "691204417380331520",
  "pid": "2",
  "visibility": "public",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "thumb": "https://pixelfed.social/storage/m/_v2/2/harbour_thumb.jpg",
  "url": "https://pixelfed.social/c/691204417380331520",
  "updated_at": "2026-03-30T06:48:12.000000Z",
  "published_at": "2026-02-11T07:05:41.000000Z",
  "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
  "username": "dansup",
  "post_count": 14
}
GET/api/v1.1/collections/items/{id}

List collection posts (v1.1)

Pixelfed only User token

Path parameters

idstringrequired

Query parameters

pageinteger

Returns

curl "https://pixelfed.social/api/v1.1/collections/items/691204417380331520?page=1" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
[{
  "_v": 1,
  "id": "728341901556629504",
  "shortcode": "W4kQ2pLm",
  "uri": "https://pixelfed.social/p/dansup/728341901556629504",
  "url": "https://pixelfed.social/p/dansup/728341901556629504",
  "content": "Golden hour at the pier",
  "content_text": "Golden hour at the pier",
  "created_at": "2026-09-14T17:42:10.000Z",
  "favourites_count": 31,
  "reblogs_count": 2,
  "reply_count": 4,
  "sensitive": false,
  "visibility": "public",
  "pf_type": "photo",
  "local": true,
  "media_attachments": [{
    "id": "728341067224219648",
    "type": "image",
    "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg",
    "preview_url": "https://pixelfed.social/storage/m/_v2/2/pier_thumb.jpg",
    "description": "Wooden pier at sunset, two people fishing at the far end",
    "mime": "image/jpeg",
    "blurhash": "UJF}Qo~W9aIV4.xuRjWB00WB-pof"
  }],
  "account": {
    "id": "2",
    "username": "dansup",
    "acct": "dansup",
    "display_name": "dansup",
    "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
    "local": true
  }
}]
POST/api/v1.1/collections/update/{id}

Update a collection (v1.1)

Pixelfed only User token

Path parameters

idstringrequired

Body parameters

titlestring

descriptionstring

visibilitystringrequired

Returns

curl -X POST "https://pixelfed.social/api/v1.1/collections/update/691204417380331520" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Harbour mornings",
    "description": "One winter of walks before work",
    "visibility": "public"
  }'
Response
{
  "id": "691204417380331520",
  "pid": "2",
  "visibility": "public",
  "title": "Harbour mornings",
  "description": "One winter of walks before work",
  "thumb": "https://pixelfed.social/storage/m/_v2/2/harbour_thumb.jpg",
  "url": "https://pixelfed.social/c/691204417380331520",
  "updated_at": "2026-10-17T09:14:03.000000Z",
  "published_at": "2026-02-11T07:05:41.000000Z",
  "avatar": "https://pixelfed.social/storage/avatars/412/760/avatar.jpg",
  "username": "dansup",
  "post_count": 14
}
POST/api/v1.1/collections/add

Add a post to a collection (v1.1)

Pixelfed only User token

Body parameters

collection_idstringrequired

post_idstringrequired

Returns

curl -X POST "https://pixelfed.social/api/v1.1/collections/add" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "collection_id": "691204417380331520",
    "post_id": "728341901556629504"
  }'
Response
{
  "_v": 1,
  "id": "728341901556629504",
  "shortcode": "W4kQ2pLm",
  "url": "https://pixelfed.social/p/dansup/728341901556629504",
  "content_text": "Golden hour at the pier",
  "visibility": "public",
  "pf_type": "photo",
  "media_attachments": [{
    "id": "728341067224219648",
    "type": "image",
    "url": "https://pixelfed.social/storage/m/_v2/2/pier.jpg"
  }],
  "account": {
    "id": "2",
    "username": "dansup"
  }
}
POST/api/v1.1/collections/remove

Remove a post from a collection (v1.1)

Pixelfed only User token

Body parameters

collection_idstringrequired

post_idstringrequired

Returns

curl -X POST "https://pixelfed.social/api/v1.1/collections/remove" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "collection_id": "691204417380331520",
    "post_id": "728341901556629504"
  }'
Response
200
DELETE/api/v1.1/collections/delete/{id}

Delete a collection (v1.1)

Pixelfed only User token

Path parameters

idstringrequired

Returns

curl -X DELETE "https://pixelfed.social/api/v1.1/collections/delete/691204417380331520" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer $TOKEN"
Response
200
Pixelfed is free and open source software. Edit this page Report a docs issue