| CARVIEW |
Pleroma API (2.10.0-38-g09aad75b)
Download OpenAPI specification:Download
This is documentation for client Pleroma API. Most of the endpoints and entities come from Mastodon API and have custom extensions on top.
While this document aims to be a complete guide to the client API Pleroma exposes, the details are still being worked out. Some endpoints may have incomplete or poorly worded documentation. You might want to check the following resources if something is not clear:
- Legacy Pleroma-specific endpoint documentation
- Mastodon API documentation
- Differences in Mastodon API responses from vanilla Mastodon
Please report such occurrences on our issue tracker. Feel free to submit API questions or proposals there too!
Endorse
Adds the given account to endorsed accounts list.
Authorizations:
followwrite:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
- 400
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Mute
Mute the given account. Clients should filter statuses and notifications from this account, if received (e.g. due to a boost in the Home timeline).
Authorizations:
followwrite:mutes) path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
boolean or string or integer Default: true Mute notifications in addition to statuses? Defaults to |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| duration | integer Nullable Expire the mute in |
| expires_in | integer Nullable Default: 0 Deprecated, use |
boolean or string or integer Nullable Default: true Mute notifications in addition to statuses? Defaults to true. |
Responses
Request samples
- Payload
{- "expires_in": 86400,
- "notifications": true
}Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Subscribe Deprecated
Receive notifications for all statuses posted by the account. Deprecated, use notify: true in follow operation instead.
Authorizations:
followwrite:follows) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Account ID |
Responses
Response samples
- 200
- 404
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Set a private note about a user.
Create a note for the given account.
Authorizations:
followwrite:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
| comment | string Account note body |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| comment | string Account note body |
Responses
Request samples
- Payload
{- "comment": "Example note"
}Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Unendorse
Removes the given account from endorsed accounts list.
Authorizations:
followwrite:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Remove from followers
Remove the given account from followers
Authorizations:
followwrite:follows) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
- 400
- 404
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Block
Block the given account. Clients should filter statuses from this account if received (e.g. due to a boost in the Home timeline)
Authorizations:
followwrite:blocks) path Parameters
| id required | string Example: 123 Account ID or nickname |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| duration | integer Nullable Expire the mute in |
Responses
Request samples
- Payload
{- "duration": 86400
}Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Unblock
Unblock the given account.
Authorizations:
followwrite:blocks) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Unendorse
Removes the given account from endorsed accounts list.
Authorizations:
followwrite:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Unmute
Unmute the given account.
Authorizations:
followwrite:mutes) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Unfollow
Unfollow the given account
Authorizations:
followwrite:follows) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
- 400
- 404
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Unsubscribe Deprecated
Stop receiving notifications for all statuses posted by the account. Deprecated, use notify: false in follow operation instead.
Authorizations:
followwrite:follows) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Account ID |
Responses
Response samples
- 200
- 404
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Follow
Follow the given account
Authorizations:
followwrite:follows) path Parameters
| id required | string Example: 123 Account ID or nickname |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
boolean or string or integer Default: false Receive notifications for all statuses posted by the account? Defaults to false. | |
boolean or string or integer Default: true Receive this account's reblogs in home timeline? Defaults to true. |
Responses
Request samples
- Payload
{- "notify": true,
- "reblogs": true
}Response samples
- 200
- 400
- 404
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Follow by URI
Authorizations:
followwrite:follows) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| uri required | string <uri> Nullable |
Responses
Request samples
- Payload
{
}Response samples
- 200
- 400
- 404
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Endorse
Adds the given account to endorsed accounts list.
Authorizations:
followwrite:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
- 400
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Relationship with current account
Find out whether a given account is followed, blocked, muted, etc.
Authorizations:
read:follows) query Parameters
Array of strings or string Example: id=123 Account IDs |
Responses
Response samples
- 200
[- {
- "blocked_by": true,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": true,
- "followed_by": true,
- "following": true,
- "id": "1",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - {
- "blocked_by": true,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": true,
- "following": true,
- "id": "2",
- "muting": true,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": true,
- "showing_reblogs": true,
- "subscribing": false
}, - {
- "blocked_by": false,
- "blocking": true,
- "domain_blocking": true,
- "endorsed": false,
- "followed_by": true,
- "following": true,
- "id": "3",
- "muting": true,
- "muting_notifications": false,
- "note": "",
- "notifying": true,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": true
}
]Favorites
Only returns data if the user has opted into sharing it. See hide_favorites in Update account credentials.
Authorizations:
read:favourites) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Account ID |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 403
- 404
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Response samples
- 200
- 401
- 404
{- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}Followers that you follow
Obtain a list of all accounts that follow a given account, filtered for accounts you follow.
Authorizations:
read:follows) query Parameters
Array of strings or string Example: id=123 Account IDs |
Responses
Response samples
- 200
[- {
- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "id": "string"
}
]Followers
Accounts which follow the given account, if network is not hidden by the account owner.
Authorizations:
read:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
| id | string ID of the resource owner |
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Endorsements
Returns endorsed accounts
path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's |
Responses
Response samples
- 200
- 404
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Account
View information about a profile.
path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's |
Responses
Response samples
- 200
- 401
- 404
{- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}Statuses
Statuses posted to the given account. Public (for public statuses only), or user token + read:statuses (for private statuses the user is authorized to see)
path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
boolean or string or integer (BooleanLike) Include only pinned statuses | |
| tagged | string With tag |
boolean or string or integer (BooleanLike) Include only statuses with media attached | |
boolean or string or integer (BooleanLike) Include statuses from muted accounts. | |
boolean or string or integer (BooleanLike) Exclude reblogs | |
boolean or string or integer (BooleanLike) Include only reblogs | |
boolean or string or integer (BooleanLike) Exclude replies | |
| exclude_visibilities | Array of strings (VisibilityScope) Items Enum: "public" "unlisted" "local" "private" "direct" "list" Exclude visibilities |
boolean or string or integer (BooleanLike) Include reactions from muted accounts. | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 401
- 404
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Endorsements
Returns endorsed accounts
path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's |
Responses
Response samples
- 200
- 404
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Lists containing this account
User lists that you have added this account to.
Authorizations:
read:lists) path Parameters
| id required | string Example: 123 Account ID or nickname |
Responses
Response samples
- 200
[- {
- "id": "123",
- "title": "my list"
}, - {
- "id": "1337",
- "title": "anotehr list"
}
]Birthday reminders
Birthday reminders about users you follow.
Authorizations:
read:accounts) query Parameters
| day | integer Day of users' birthdays |
| month | integer Month of users' birthdays |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Following
Accounts which the given account is following, if network is not hidden by the account owner.
Authorizations:
read:accounts) path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
| id | string ID of the resource owner |
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Creates a new Listen activity for an account Deprecated
Authorizations:
write:scrobbles) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| album | string The album of the media playing |
| artist | string The artist of the media playing |
| externalLink | string Deprecated, use |
| external_link | string A URL referencing the media playing |
| length | integer The length of the media playing |
| title required | string The title of the media playing |
| visibility | string Default: "public" Enum: "public" "unlisted" "local" "private" "direct" "list" Scrobble visibility |
Responses
Request samples
- Payload
{- "album": "Some Album",
- "artist": "Some Artist",
- "length": 180000,
- "title": "Some Title"
}Response samples
- 200
{- "account": {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}, - "album": "Some Album",
- "artist": "Some Artist",
- "created_at": "2019-09-28T12:40:45.000Z",
- "id": "1234",
- "length": 180000,
- "title": "Some Title"
}Requests a list of current and recent Listen activities for an account Deprecated
Authorizations:
read:scrobbles) path Parameters
| id required | string Example: 123 Account ID or nickname |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}, - "album": "Some Album",
- "artist": "Some Artist",
- "created_at": "2019-09-28T12:40:45.000Z",
- "id": "1234",
- "length": 180000,
- "title": "Some Title"
}
]Get chat's messages
Authorizations:
admin:read:chats) path Parameters
| id required | string The ID of the Chat |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account_id": "someflakeid",
- "chat_id": "1",
- "content": "Check this out :firefox:",
- "created_at": "2020-04-21T15:11:46.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "13",
- "unread": false
}, - {
- "account_id": "someflakeid",
- "chat_id": "1",
- "content": "Whats' up?",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [ ],
- "id": "12",
- "unread": false
}
]Delete an individual chat message
Authorizations:
admin:write:chats) path Parameters
| id required | string The ID of the Chat |
| message_id required | string The ID of the message |
Responses
Response samples
- 200
{- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}Create a chat
Authorizations:
admin:read) path Parameters
| id required | string Example: 1234 The id of the chat |
Responses
Response samples
- 200
{- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "is_locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "last_message": {
- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}, - "pinned": false,
- "unread": 2,
- "updated_at": "2020-04-21T15:06:45.000Z"
}Response samples
- 200
[- "string"
]Delete emoji file from pack
Authorizations:
admin:write) query Parameters
| name required | string Example: name=cofe Pack Name |
| shortcode required | string Example: shortcode=cofe File shortcode |
Responses
Response samples
- 200
- 400
- 404
- 422
{- "property1": "string",
- "property2": "string"
}Add new file to the pack
Authorizations:
admin:write) query Parameters
| name required | string Example: name=cofe Pack Name |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| force | boolean Default: false With true value to overwrite existing emoji with new shortcode |
| new_filename required | string New filename for emoji file |
| new_shortcode required | string New emoji file shortcode |
| shortcode required | string Emoji file shortcode |
Responses
Request samples
- Payload
{- "force": false,
- "new_filename": "string",
- "new_shortcode": "string",
- "shortcode": "string"
}Response samples
- 200
- 400
- 404
- 409
- 422
{- "property1": "string",
- "property2": "string"
}Add new file to the pack
Authorizations:
admin:write) query Parameters
| name required | string Example: name=cofe Pack Name |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
required | string or string File needs to be uploaded with the multipart request or link to remote file |
| filename | string New emoji file name. If not specified will be taken from original filename. |
| shortcode | string Shortcode for new emoji, must be unique for all emoji. If not sended, shortcode will be taken from original filename. |
Responses
Request samples
- Payload
{- "file": "string",
- "filename": "string",
- "shortcode": "string"
}Response samples
- 200
- 400
- 404
- 409
- 422
- 500
{- "property1": "string",
- "property2": "string"
}Download pack from another instance
Authorizations:
admin:write) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| as | string <uri> Save as |
| name required | string <uri> Pack Name |
| url required | string <uri> URL of the instance to download from |
Responses
Request samples
- Payload
{
}Response samples
- 200
- 500
"ok"Download a pack from a URL or an uploaded file
Authorizations:
admin:write) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| file | object The uploaded ZIP file |
| name required | string <uri> Pack Name |
| url | string <uri> URL of the file |
Responses
Request samples
- Payload
{- "file": { },
}Response samples
- 200
- 400
"ok"Make request to another instance for emoji packs list
Authorizations:
admin:write) query Parameters
| url required | string <uri> URL of the instance |
| page | integer Default: 1 Page |
| page_size | integer Default: 30 Number of emoji to return |
Responses
Response samples
- 200
- 500
{- "count": 1,
- "packs": {
- "emojos": {
- "files": {
- "emacs": "emacs.png",
- "guix": "guix.png"
}, - "pack": {
- "can-download": true,
- "description": "Test description",
- "download-sha256": "57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238",
- "license": "Test license",
- "share-files": true
}
}
}
}Delete a custom emoji pack
Authorizations:
admin:write) query Parameters
| name required | string Example: name=cofe Pack Name |
Responses
Response samples
- 200
- 400
- 404
- 500
"ok"Updates (replaces) pack metadata
Authorizations:
admin:write) query Parameters
| name required | string Example: name=cofe Pack Name |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
object Metadata to replace the old one |
Responses
Request samples
- Payload
{- "metadata": {
- "description": "string",
- "fallback-src-sha256": "string",
- "license": "string",
- "share-files": true
}
}Response samples
- 200
- 400
- 500
{- "description": "string",
- "fallback-src-sha256": "string",
- "license": "string",
- "share-files": true
}Create an empty pack
Authorizations:
admin:write) query Parameters
| name required | string Example: name=cofe Pack Name |
Responses
Response samples
- 200
- 400
- 409
- 500
"ok"Response samples
- 200
- 403
[- {
- "installed": true,
- "installed_refs": [
- "string"
], - "name": "string",
- "ref": "string"
}
]Install a frontend
Authorizations:
admin:read) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| build_dir | string |
| build_url | string |
| file | string |
| name required | string |
| ref | string |
Responses
Request samples
- Payload
{- "build_dir": "string",
- "build_url": "string",
- "file": "string",
- "name": "string",
- "ref": "string"
}Response samples
- 200
- 400
- 403
[- {
- "installed": true,
- "installed_refs": [
- "string"
], - "name": "string",
- "ref": "string"
}
]Retrieve config description
Authorizations:
admin:read) query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 400
[- {
- "children": [
- {
- "description": "string",
- "key": "string",
- "suggestions": [ ],
- "type": "string"
}
], - "description": "string",
- "group": "string",
- "key": "string",
- "type": "string"
}
]Retrieve instance configuration
Authorizations:
admin:read) query Parameters
| only_db | boolean Default: false Get only saved in database settings |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 400
{- "configs": [
- {
- "group": "string",
- "key": "string",
- "value": [ ]
}
], - "need_reboot": true
}Update instance configuration
Authorizations:
admin:write) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
Array of objects |
Responses
Request samples
- Payload
{- "configs": [
- {
- "delete": true,
- "group": "string",
- "key": "string",
- "subkeys": [
- "string"
], - "value": [ ]
}
]
}Response samples
- 200
- 400
{- "configs": [
- {
- "group": "string",
- "key": "string",
- "value": [ ]
}
], - "need_reboot": true
}Delete an instance document
Authorizations:
admin:write) path Parameters
| name required | string The document name |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 400
- 403
- 404
Retrieve an instance document
Authorizations:
admin:read) path Parameters
| name required | string The document name |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 400
- 403
- 404
{- "error": "Something went wrong"
}Update an instance document
Authorizations:
admin:write) path Parameters
| name required | string The document name |
query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| file required | string <binary> The file to be uploaded, using multipart form data. |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 403
- 404
Response samples
- 200
- 403
- 404
{ }Modify existing rule
Authorizations:
admin:write) path Parameters
| id required | string Rule ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| hint | string |
| priority | integer |
| text | string |
Responses
Request samples
- Payload
{- "hint": "string",
- "priority": 0,
- "text": "string"
}Response samples
- 200
- 400
- 403
{- "hint": "string",
- "id": "string",
- "priority": 0,
- "text": "string"
}Response samples
- 200
- 403
[- {
- "hint": "string",
- "id": "string",
- "priority": 0,
- "text": "string"
}
]Create new rule
Authorizations:
admin:write) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| hint | string |
| priority | integer |
| text required | string |
Responses
Request samples
- Payload
{- "hint": "string",
- "priority": 0,
- "text": "string"
}Response samples
- 200
- 400
- 403
{- "hint": "string",
- "id": "string",
- "priority": 0,
- "text": "string"
}Create an account registration invite token
Authorizations:
admin:write:invites) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| expires_at | string <date> |
| max_use | integer |
Responses
Request samples
- Payload
{- "expires_at": "2020-04-20",
- "max_use": 0
}Response samples
- 200
{- "expires_at": null,
- "id": 123,
- "invite_type": "one_time",
- "max_use": null,
- "token": "kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=",
- "used": true,
- "uses": 0
}Get a list of generated invites
Authorizations:
admin:read:invites) query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
{- "invites": [
- {
- "expires_at": null,
- "id": 123,
- "invite_type": "one_time",
- "max_use": null,
- "token": "kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=",
- "used": true,
- "uses": 0
}
]
}Sends registration invite via email
Authorizations:
admin:write:invites) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| email required | string <email> |
| name | string |
Responses
Request samples
- Payload
{- "email": "user@example.com",
- "name": "string"
}Response samples
- 204
- 400
- 403
""Revoke invite by token
Authorizations:
admin:write:invites) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| token required | string |
Responses
Request samples
- Payload
{- "token": "string"
}Response samples
- 200
- 400
- 404
{- "expires_at": null,
- "id": 123,
- "invite_type": "one_time",
- "max_use": null,
- "token": "kSQtDj_GNy2NZsL9AQDFIsHN5qdbguB6qRg3WHw6K1U=",
- "used": true,
- "uses": 0
}Remove a banned MediaProxy URL
Authorizations:
admin:write:media_proxy_caches) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| urls required | Array of strings <uri> |
Responses
Request samples
- Payload
{
}Response samples
- 200
- 400
{ }Retrieve a list of banned MediaProxy URLs
Authorizations:
admin:read:media_proxy_caches) query Parameters
| query | string Page |
| page | integer Default: 1 Page |
| page_size | integer Default: 50 Number of statuses to return |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
{- "count": 0,
- "page_size": 0,
}Purge a URL from MediaProxy cache and optionally ban it
Authorizations:
admin:write:media_proxy_caches) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| ban | boolean Default: true |
| urls required | Array of strings <uri> |
Responses
Request samples
- Payload
{- "ban": true,
}Response samples
- 200
- 400
{ }Retrieve a list of OAuth applications
Authorizations:
admin:write) query Parameters
| name | string App name |
| client_id | string Client ID |
| page | integer Default: 1 Page |
| trusted | boolean Default: false Trusted apps |
| page_size | integer Default: 50 Number of apps to return |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
{- "apps": [
- {
- "client_id": "yHoDSiWYp5mPV6AfsaVOWjdOyt5PhWRiafi6MRd1lSk",
- "client_secret": "nLmis486Vqrv2o65eM9mLQx_m_4gH-Q6PcDpGIMl6FY",
- "id": 1,
- "name": "App name",
- "trusted": true,
}
], - "count": 1,
- "page_size": 50
}Create an OAuth application
Authorizations:
admin:write) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| name required | string Application Name |
required | string or Array of strings Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use |
| scopes | Array of strings oAuth scopes |
| trusted | boolean Nullable Default: false Is the app trusted? |
| website | string Nullable A URL to the homepage of the app |
Responses
Request samples
- Payload
{- "name": "My App",
- "scopes": [
- "read",
- "write"
], - "trusted": true,
}Response samples
- 200
- 400
{- "client_id": "TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM",
- "client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw",
- "id": 123,
- "name": "My App",
- "trusted": false,
}Delete OAuth application
Authorizations:
admin:write) path Parameters
| id required | integer Example: 1337 App ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 204
- 400
""Update OAuth application
Authorizations:
admin:write) path Parameters
| id required | integer Example: 1337 App ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| name | string Application Name |
string or Array of strings Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use | |
| scopes | Array of strings oAuth scopes |
| trusted | boolean Nullable Default: false Is the app trusted? |
| website | string Nullable A URL to the homepage of the app |
Responses
Request samples
- Payload
{- "name": "My App",
- "scopes": [
- "read",
- "write"
], - "trusted": true,
}Response samples
- 200
- 400
{- "client_id": "TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM",
- "client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw",
- "id": 123,
- "name": "My App",
- "trusted": false,
}Unfollow a relay
Authorizations:
admin:write:follows) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| force | boolean Default: false |
| relay_url | string <uri> |
Responses
Request samples
- Payload
{- "force": false,
}Response samples
- 200
Retrieve a list of relays
Authorizations:
admin:read) query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
{
}Follow a relay
Authorizations:
admin:write:follows) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| relay_url | string <uri> |
Responses
Request samples
- Payload
{
}Response samples
- 200
{- "followed_back": true
}Retrieve a list of reports
Authorizations:
admin:read:reports) query Parameters
| state | string Enum: "open" "closed" "resolved" Filter by report state |
| rule_id | string Filter by selected rule id |
| limit | integer The number of records to retrieve |
| page | integer Default: 1 Page number |
| page_size | integer Default: 50 Number number of log entries per page |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 403
{- "reports": [
- {
- "account": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "actor": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "notes": [
- {
- "content": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
], - "rules": [
- {
- "hint": "string",
- "id": "string",
- "text": "string"
}
], - "state": "open",
- "statuses": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}
], - "total": 0
}Change state of specified reports
Authorizations:
admin:write:reports) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
required | Array of objects |
Responses
Request samples
- Payload
{- "reports": {
- "reports": [
- {
- "id": "123",
- "state": "closed"
}, - {
- "id": "1337",
- "state": "resolved"
}
]
}
}Response samples
- 204
- 400
- 403
""Retrieve a report
Authorizations:
admin:read:reports) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Report ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "actor": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "notes": [
- {
- "content": "string",
- "id": 0,
- "inserted_at": "2019-08-24T14:15:22Z",
- "user_id": "string"
}
], - "rules": [
- {
- "hint": "string",
- "id": "string",
- "text": "string"
}
], - "state": "open",
- "statuses": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}Add a note to the report
Authorizations:
admin:write:reports) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Report ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| content | string The message |
Responses
Request samples
- Payload
{- "content": "string"
}Response samples
- 204
- 404
""Delete note attached to the report
Authorizations:
admin:write:reports) path Parameters
| report_id required | string Report ID |
| id required | string Note ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 204
- 404
""Get all statuses
Authorizations:
admin:read:statuses) query Parameters
| godmode | boolean Default: false Allows to see private statuses |
| local_only | boolean Default: false Excludes remote statuses |
| with_reblogs | boolean Default: false Allows to see reblogs |
| page | integer Default: 1 Page |
| page_size | integer Default: 50 Number of statuses to return |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Delete status
Authorizations:
admin:write:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 404
{ }Get status
Authorizations:
admin:read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Change the scope of a status
Authorizations:
admin:write:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| sensitive | boolean Mark status and attached media as sensitive? |
| visibility | string (VisibilityScope) Enum: "public" "unlisted" "local" "private" "direct" "list" Status visibility |
Responses
Request samples
- Payload
{- "sensitive": "false",
- "visibility": "private"
}Response samples
- 200
- 400
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Deactivates multiple users
Authorizations:
admin:write:accounts) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| nicknames | Array of strings |
Responses
Request samples
- Payload
{- "nicknames": [
- "string"
]
}Response samples
- 200
- 403
{- "user": [
- {
- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}
]
}Unfollow
Authorizations:
admin:write:follows) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| followed | string Followed nickname |
| follower | string Follower nickname |
Responses
Request samples
- Payload
{- "followed": "string",
- "follower": "string"
}Response samples
- 200
- 403
"string"Toggle user activation
Authorizations:
admin:write:accounts) path Parameters
| nickname required | string User nickname |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 403
{- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}Unsuggest multiple users
Authorizations:
admin:write:accounts) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| nicknames | Array of strings |
Responses
Request samples
- Payload
{- "nicknames": [
- "string"
]
}Response samples
- 200
- 403
{- "user": [
- {
- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}
]
}Approve multiple users
Authorizations:
admin:write:accounts) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| nicknames | Array of strings |
Responses
Request samples
- Payload
{- "nicknames": [
- "string"
]
}Response samples
- 200
- 403
{- "user": [
- {
- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}
]
}Activate multiple users
Authorizations:
admin:write:accounts) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| nicknames | Array of strings |
Responses
Request samples
- Payload
{- "nicknames": [
- "string"
]
}Response samples
- 200
- 403
{- "user": [
- {
- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}
]
}Removes a single or multiple users
Authorizations:
admin:write:accounts) query Parameters
| nickname | string User nickname |
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| nicknames | Array of strings |
Responses
Request samples
- Payload
{- "nicknames": [
- "string"
]
}Response samples
- 200
- 403
[- "string"
]List users
Authorizations:
admin:read:accounts) query Parameters
| filters | string Comma separated list of filters |
| query | string Search users query |
| name | string Search by display name |
string Search by email | |
| page | integer Page Number |
| page_size | integer Number of users to return per page |
| actor_types | Array of strings (ActorType) Items Enum: "Application" "Group" "Organization" "Person" "Service" Filter by actor type |
| tags | Array of strings Filter by tags |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 403
{- "count": 0,
- "page_size": 0,
- "users": [
- {
- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}
]
}Create a single or multiple users
Authorizations:
admin:write:accounts) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
Array of objects |
Responses
Request samples
- Payload
{- "users": [
- {
- "email": "string",
- "nickname": "string",
- "password": "string"
}
]
}Response samples
- 200
- 403
- 409
[- {
- "code": 0,
- "data": {
- "email": "user@example.com",
- "nickname": "string"
}, - "type": "string"
}
]Show user
Authorizations:
admin:read:accounts) path Parameters
| nickname required | string User nickname or ID |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 403
- 404
{- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}Suggest multiple users
Authorizations:
admin:write:accounts) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| nicknames | Array of strings |
Responses
Request samples
- Payload
{- "nicknames": [
- "string"
]
}Response samples
- 200
- 403
{- "user": [
- {
- "actor_type": "string",
- "display_name": "string",
- "email": "user@example.com",
- "id": "string",
- "is_active": true,
- "is_approved": true,
- "is_confirmed": true,
- "local": true,
- "nickname": "string",
- "registration_reason": "string",
- "roles": {
- "admin": true,
- "moderator": true
}, - "tags": [
- "string"
],
}
]
}Follow
Authorizations:
admin:write:follows) query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| followed | string Followed nickname |
| follower | string Follower nickname |
Responses
Request samples
- Payload
{- "followed": "string",
- "follower": "string"
}Response samples
- 200
- 403
"string"Delete one announcement
Authorizations:
admin:write) path Parameters
| id required | string announcement id |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 403
- 404
{ }Display one announcement
Authorizations:
admin:read) path Parameters
| id required | string announcement id |
query Parameters
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 403
- 404
{- "all_day": true,
- "content": "string",
- "emojis": [ ],
- "ends_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "mentions": [ ],
- "pleroma": {
- "raw_content": "string"
}, - "published_at": "2019-08-24T14:15:22Z",
- "reactions": [ ],
- "read": true,
- "starts_at": "2019-08-24T14:15:22Z",
- "statuses": [ ],
- "tags": [ ],
- "updated_at": "2019-08-24T14:15:22Z"
}Change one announcement
Authorizations:
admin:write) path Parameters
| id required | string announcement id |
query Parameters
| admin_token | string Allows authorization via admin token. |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| all_day | boolean |
| content | string |
| ends_at | string <date-time> Nullable |
| starts_at | string <date-time> Nullable |
Responses
Request samples
- Payload
{- "all_day": true,
- "content": "string",
- "ends_at": "2019-08-24T14:15:22Z",
- "starts_at": "2019-08-24T14:15:22Z"
}Response samples
- 200
- 400
- 403
- 404
{- "all_day": true,
- "content": "string",
- "emojis": [ ],
- "ends_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "mentions": [ ],
- "pleroma": {
- "raw_content": "string"
}, - "published_at": "2019-08-24T14:15:22Z",
- "reactions": [ ],
- "read": true,
- "starts_at": "2019-08-24T14:15:22Z",
- "statuses": [ ],
- "tags": [ ],
- "updated_at": "2019-08-24T14:15:22Z"
}Retrieve a list of announcements
Authorizations:
admin:read) query Parameters
| limit | integer >= 1 the maximum number of announcements to return |
| offset | integer >= 0 the offset of the first announcement to return |
| admin_token | string Allows authorization via admin token. |
Responses
Response samples
- 200
- 400
- 403
[- {
- "all_day": true,
- "content": "string",
- "emojis": [ ],
- "ends_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "mentions": [ ],
- "pleroma": {
- "raw_content": "string"
}, - "published_at": "2019-08-24T14:15:22Z",
- "reactions": [ ],
- "read": true,
- "starts_at": "2019-08-24T14:15:22Z",
- "statuses": [ ],
- "tags": [ ],
- "updated_at": "2019-08-24T14:15:22Z"
}
]Create one announcement
Authorizations:
admin:write) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| all_day | boolean |
| content required | string |
| ends_at | string <date-time> Nullable |
| starts_at | string <date-time> Nullable |
Responses
Request samples
- Payload
{- "all_day": true,
- "content": "string",
- "ends_at": "2019-08-24T14:15:22Z",
- "starts_at": "2019-08-24T14:15:22Z"
}Response samples
- 200
- 400
- 403
{- "all_day": true,
- "content": "string",
- "emojis": [ ],
- "ends_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "mentions": [ ],
- "pleroma": {
- "raw_content": "string"
}, - "published_at": "2019-08-24T14:15:22Z",
- "reactions": [ ],
- "read": true,
- "starts_at": "2019-08-24T14:15:22Z",
- "statuses": [ ],
- "tags": [ ],
- "updated_at": "2019-08-24T14:15:22Z"
}Response samples
- 200
[- {
- "client_id": "TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM",
- "client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw",
- "id": "123",
- "name": "My App",
- "vapid_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=",
}
]Create an application
Create a new application to obtain OAuth2 credentials
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| client_name required | string A name for your application. |
required | string or Array of strings Where the user should be redirected after authorization. To display the authorization code to the user instead of redirecting to a web page, use |
| scopes | string Default: "read" Space separated list of scopes |
| website | string Nullable A URL to the homepage of your app |
Responses
Request samples
- Payload
{- "client_name": "My App",
}Response samples
- 200
- 422
{- "client_id": "TWhM-tNSuncnqN7DBJmoyeLnk6K3iJJ71KKXxgL1hPM",
- "client_secret": "ZEaFUFmF0umgBX1qKJDjaU99Q31lDkOU8NutzTOoliw",
- "id": "123",
- "name": "My App",
- "vapid_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=",
}Verify the application works
Confirm that the app's OAuth2 credentials work.
Authorizations:
read) Responses
Response samples
- 200
- 422
{- "name": "My App",
- "vapid_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M=",
}Remove current subscription
Removes the current Web Push API subscription.
Authorizations:
push) Responses
Response samples
- 200
- 403
- 404
{ }Get current subscription
View the PushSubscription currently associated with this access token.
Authorizations:
push) Responses
Response samples
- 200
- 403
- 404
{- "alerts": {
- "favourite": true,
- "follow": true,
- "mention": true,
- "poll": true,
- "reblog": true
}, - "id": "328_183",
- "server_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="
}Subscribe to push notifications
Add a Web Push API subscription to receive notifications. Each access token can have one push subscription. If you create a new subscription, the old subscription is deleted.
Authorizations:
push) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
object Nullable | |
required | object |
Responses
Request samples
- Payload
{- "data": {
- "alerts": {
- "follow": true,
- "mention": true,
- "poll": false
}
}, - "subscription": {
- "keys": {
- "auth": "8eDyX_uCN0XRhSbY5hs7Hg==",
- "p256dh": "BCIWgsnyXDv1VkhqL2P7YRBvdeuDnlwAPT2guNhdIoW3IP7GmHh1SMKPLxRf7x8vJy6ZFK3ol2ohgn_-0yP7QQA="
}
}
}Response samples
- 200
- 400
- 403
{- "alerts": {
- "favourite": true,
- "follow": true,
- "mention": true,
- "poll": true,
- "reblog": true
}, - "id": "328_183",
- "server_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="
}Change types of notifications
Updates the current push subscription. Only the data part can be updated. To change fundamentals, a new subscription must be created instead.
Authorizations:
push) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
object Nullable |
Responses
Request samples
- Payload
{- "data": {
- "alerts": {
- "favourite": true,
- "follow": true,
- "mention": true,
- "poll": true,
- "reblog": true
}
}
}Response samples
- 200
- 403
{- "alerts": {
- "favourite": true,
- "follow": true,
- "mention": true,
- "poll": true,
- "reblog": true
}, - "id": "328_183",
- "server_key": "BCk-QqERU0q-CfYZjcuB6lnyyOYfJ2AifKqfeGIm7Z-HiTU5T9eTG5GxVA0_OH5mMlI4UkkDTpaZwozy0TzdZ2M="
}Change account email
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| email required | string New email. Set to blank to remove the user's email. |
| password required | string Current password |
Responses
Request samples
- Payload
{- "email": "string",
- "password": "string"
}Response samples
- 200
- 400
- 403
{- "status": "success"
}Verify account credentials
Test to make sure that the user token works.
Authorizations:
read:accounts) Responses
Response samples
- 200
{- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}Move account
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| password required | string Current password |
| target_account required | string The nickname of the target account to move to |
Responses
Request samples
- Payload
{- "password": "string",
- "target_account": "string"
}Response samples
- 200
- 400
- 403
- 404
{- "status": "success"
}Delete an alias from this account
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| alias required | string The nickname of the account to delete from aliases |
Responses
Request samples
- Payload
{- "alias": "string"
}Response samples
- 200
- 400
- 403
- 404
{- "status": "success"
}Response samples
- 200
- 400
- 403
{- "aliases": [
- "foo@example.org"
]
}Add an alias to this account
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| alias required | string The nickname of the account to add to aliases |
Responses
Request samples
- Payload
{- "alias": "string"
}Response samples
- 200
- 400
- 403
- 404
{- "status": "success"
}Update account credentials
Update the user's display and preferences.
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
boolean or string or integer Nullable Whether the user accepts receiving chat messages. | |
| actor_type | string (ActorType) Enum: "Application" "Group" "Organization" "Person" "Service" |
boolean or string or integer Nullable Allows automatically follow moved following accounts | |
| also_known_as | Array of strings Nullable List of alternate ActivityPub IDs |
| avatar | string <binary> Nullable Avatar image encoded using multipart/form-data |
| avatar_description | string Nullable Avatar image description. |
string or string Nullable User's birthday | |
boolean or string or integer Nullable Whether the account has a bot flag. | |
| default_scope | string (VisibilityScope) Enum: "public" "unlisted" "local" "private" "direct" "list" Status visibility |
boolean or string or integer Nullable Discovery (listing, indexing) of this account by external services (search bots etc.) is allowed. | |
| display_name | string Nullable The display name to use for the profile. |
Array of AccountAttributeField (objects) or object Nullable | |
| header | string <binary> Nullable Header image encoded using multipart/form-data |
| header_description | string Nullable Header image description. |
boolean or string or integer Nullable user's favorites timeline will be hidden | |
boolean or string or integer Nullable user's followers will be hidden | |
boolean or string or integer Nullable user's follower count will be hidden | |
boolean or string or integer Nullable user's follows will be hidden | |
boolean or string or integer Nullable user's follow count will be hidden | |
boolean or string or integer Nullable Whether manual approval of follow requests is required. | |
boolean or string or integer Nullable html tags are stripped from all statuses requested from the API | |
| note | string The account bio. |
| pleroma_background_image | string <binary> Nullable Sets the background image of the user. |
| pleroma_settings_store | object Nullable Opaque user settings to be saved on the backend. |
boolean or string or integer Nullable User's birthday will be visible | |
boolean or string or integer Nullable user's role (e.g admin, moderator) will be exposed to anyone in the API | |
boolean or string or integer Nullable Skip filtering out broken threads |
Responses
Request samples
- Payload
{- "actor_type": "Person",
- "allow_following_move": false,
- "birthday": "2001-02-12",
- "bot": false,
- "default_scope": "private",
- "discoverable": false,
- "display_name": "cofe",
- "fields_attributes": [
- {
- "name": "foo",
- "value": "bar"
}
], - "hide_favorites": false,
- "hide_followers": true,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "no_rich_text": false,
- "note": "foobar",
- "pleroma_settings_store": {
- "pleroma-fe": {
- "key": "val"
}
}, - "show_birthday": false,
- "show_role": false,
- "skip_thread_containment": false
}Response samples
- 200
- 403
- 413
{- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}Disable Account
Authorizations:
write:accounts) query Parameters
| password | string Password |
Responses
Response samples
- 200
- 403
{- "status": "success"
}Register an account
Creates a user and account records. Returns an account access token for the app that initiated the request. The app should save this token for later, and should wait for the user to confirm their account by clicking a link in their email inbox.
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
required | boolean or string or integer Whether the user agrees to the local rules, terms, and policies. These should be presented to the user in order to allow them to consent before setting this parameter to TRUE. |
| bio | string Nullable Default: "" Bio |
string or string Nullable User's birthday | |
| captcha_answer_data | string Nullable Provider-specific captcha data |
| captcha_solution | string Nullable Provider-specific captcha solution |
| captcha_token | string Nullable Provider-specific captcha token |
string <email> Nullable The email address to be used for login. Required when | |
| fullname | string Nullable Full name |
| language | string Nullable User's preferred language for emails |
| locale | string Nullable The language of the confirmation email that will be sent |
| password required | string <password> The password to be used for login |
| reason | string Nullable Text that will be reviewed by moderators if registrations require manual approval |
| token | string Nullable Invite token required when the registrations aren't public |
| username required | string The desired username for the account |
Responses
Request samples
- Payload
{- "agreement": "true",
- "bio": "☕️",
- "email": "cofe@example.com",
- "password": "secret",
- "username": "cofe"
}Response samples
- 200
- 400
- 403
- 429
{- "access_token": "i9hAVVzGld86Pl5JtLtizKoXVvtTlSCJvwaugCxvZzk",
- "created_at": 1585918714,
- "expires_in": 600,
- "refresh_token": "i9hAVVzGld86Pl5JtLtizKoXVvtTlSCJvwaugCxvZzz",
- "scope": "read write follow push",
- "token_type": "Bearer"
}Delete Account
Authorizations:
write:accounts) query Parameters
| password | string Password |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| password | string <password> The user's own password for confirmation. |
Responses
Request samples
- Payload
{- "password": "prettyp0ony1313"
}Response samples
- 200
- 403
{- "status": "success"
}Change account password
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| new_password required | string New password |
| new_password_confirmation required | string New password, confirmation |
| password required | string Current password |
Responses
Request samples
- Payload
{- "new_password": "string",
- "new_password_confirmation": "string",
- "password": "string"
}Response samples
- 200
- 400
- 403
{- "status": "success"
}Resend confirmation email
Expects email or nickname.
query Parameters
string Example: email=cofe@cofe.io Email of that needs to be verified | |
| nickname | string Example: nickname=cofefe Nickname of user that needs to be verified |
Responses
Response samples
- 204
""Response samples
- 200
- 400
[- {
- "content_type": "application/zip",
- "file_size": 4105,
- "inserted_at": "2020-09-08T16:42:07.000Z",
- "processed": true,
- "tempdir": "/tmp/PZIMw40vmpM"
}
]Response samples
- 200
- 400
[- {
- "content_type": "application/zip",
- "file_size": 4105,
- "inserted_at": "2020-09-08T16:42:07.000Z",
- "processed": true,
- "tempdir": "/tmp/PZIMw40vmpM"
}
]Retrieve list of mutes
Accounts the user has muted.
Authorizations:
followread:mutes) query Parameters
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "mute_expires_at": "2025-11-29T16:23:13Z",
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Retrieve list of blocks
View your blocks. See also accounts/:id/{block,unblock}
Authorizations:
read:blocks) query Parameters
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "block_expires_at": "2025-11-29T16:23:13Z",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Import follows
Authorizations:
write:follow) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
required | string or string STRING or FILE containing a whitespace-separated list of accounts to import. |
Responses
Request samples
- Payload
{- "list": "string"
}Response samples
- 200
- 403
- 500
"ok"Import mutes
Authorizations:
write:mutes) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
required | string or string STRING or FILE containing a whitespace-separated list of accounts to import. |
Responses
Request samples
- Payload
{- "list": "string"
}Response samples
- 200
- 500
"ok"Import blocks
Authorizations:
write:blocks) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
required | string or string STRING or FILE containing a whitespace-separated list of accounts to import. |
Responses
Request samples
- Payload
{- "list": "string"
}Response samples
- 200
- 500
"ok"Unblock a domain
Remove a domain block, if it exists in the user's array of blocked domains.
Authorizations:
followwrite:blocks) query Parameters
| domain | string Domain name |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| domain | string |
Responses
Request samples
- Payload
{- "domain": "facebook.com"
}Response samples
- 200
{ }Response samples
- 200
[- "google.com",
- "facebook.com"
]Block a domain
Block a domain to:
- hide all public posts from it
- hide all notifications from it
- remove all followers from it
- prevent following new users from it (but does not remove existing follows)
Authorizations:
followwrite:blocks) query Parameters
| domain | string Domain name |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| domain | string |
Responses
Request samples
- Payload
{- "domain": "facebook.com"
}Response samples
- 200
{ }Reject follow request
Authorizations:
followwrite:follows) path Parameters
| id required | string Example: 123 Conversation ID |
Responses
Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Retrieve follow requests
Authorizations:
read:followsfollow) query Parameters
| max_id | string Return items older than this ID |
| since_id | string Return the oldest items newer than this ID |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Retrieve outgoing follow requests
Authorizations:
read:followsfollow) query Parameters
| max_id | string Return items older than this ID |
| since_id | string Return the oldest items newer than this ID |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Accept follow request
Authorizations:
followwrite:follows) path Parameters
| id required | string Example: 123 Conversation ID |
Responses
Response samples
- 200
{- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}Response samples
- 200
{- "id": "abcdefg",
- "pleroma": {
- "mime_type": "image/png"
}, - "type": "image",
}Set or clear mascot
Behaves exactly the same as POST /api/v1/upload. Can only accept images - any attempt to upload non-image files will be met with HTTP 415 Unsupported Media Type.
Authorizations:
write:accounts) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| file | string <binary> |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 415
{- "id": "abcdefg",
- "pleroma": {
- "mime_type": "image/png"
}, - "type": "image",
}Get saved timeline position
Authorizations:
read:statuses) query Parameters
| timeline | Array of strings Items Enum: "home" "notifications" Array of markers to fetch. If not provided, an empty object will be returned. |
Responses
Response samples
- 200
- 403
{- "home": {
- "last_read_id": "103206604258487607",
- "pleroma": {
- "unread_count": 10
}, - "updated_at": "2019-11-26T22:37:25.235Z",
- "version": 468
}, - "notifications": {
- "last_read_id": "35098814",
- "pleroma": {
- "unread_count": 0
}, - "updated_at": "2019-11-26T22:37:25.239Z",
- "version": 361
}
}Save position in timeline
Authorizations:
followwrite:blocks) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
object Nullable | |
object Nullable |
Responses
Request samples
- Payload
{- "home": {
- "last_read_id": "103194548672408537",
- "updated_at": "2019-11-24T19:39:39.337Z",
- "version": 462
}
}Response samples
- 200
- 403
{- "home": {
- "last_read_id": "103206604258487607",
- "pleroma": {
- "unread_count": 10
}, - "updated_at": "2019-11-26T22:37:25.235Z",
- "version": 468
}, - "notifications": {
- "last_read_id": "35098814",
- "pleroma": {
- "unread_count": 0
}, - "updated_at": "2019-11-26T22:37:25.239Z",
- "version": 361
}
}Retrieve a notification
View information about a notification with a given ID.
Authorizations:
read:notifications) path Parameters
| id required | string Example: 123 Notification ID |
Responses
Response samples
- 200
{- "account": {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}, - "created_at": "2019-11-23T07:49:02.064Z",
- "group-key": "ungrouped-34975861",
- "id": "34975861",
- "pleroma": {
- "is_muted": false,
- "is_seen": false
}, - "status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "type": "mention"
}Dismiss a single notification Deprecated
Clear a single notification from the server.
Authorizations:
write:notifications) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| id | string |
Responses
Request samples
- Payload
{- "id": "string"
}Response samples
- 200
{ }Dismiss all notifications
Clear all notifications from the server.
Authorizations:
write:notifications) Responses
Response samples
- 200
{ }Retrieve a list of notifications
Notifications concerning the user. This API returns Link headers containing links to the next/previous page. However, the links can also be constructed dynamically using query params and id values.
Authorizations:
read:notifications) query Parameters
| exclude_types | Array of strings Items Enum: "follow" "favourite" "reblog" "mention" "pleroma:emoji_reaction" "pleroma:chat_mention" "pleroma:report" "move" "follow_request" "poll" "status" "update" "admin.sign_up" "admin.report" Array of types to exclude |
| account_id | string Return only notifications received from this account |
| exclude_visibilities | Array of strings (VisibilityScope) Items Enum: "public" "unlisted" "local" "private" "direct" "list" Exclude the notifications for activities with the given visibilities |
| include_types | Array of strings Items Enum: "follow" "favourite" "reblog" "mention" "pleroma:emoji_reaction" "pleroma:chat_mention" "pleroma:report" "move" "follow_request" "poll" "status" "update" "admin.sign_up" "admin.report" Deprecated, use |
| types | Array of strings Items Enum: "follow" "favourite" "reblog" "mention" "pleroma:emoji_reaction" "pleroma:chat_mention" "pleroma:report" "move" "follow_request" "poll" "status" "update" "admin.sign_up" "admin.report" Include the notifications for activities with the given types |
boolean or string or integer (BooleanLike) Include the notifications from muted users | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 404
[- {
- "account": {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}, - "created_at": "2019-11-23T07:49:02.064Z",
- "group-key": "ungrouped-34975861",
- "id": "34975861",
- "pleroma": {
- "is_muted": false,
- "is_seen": false
}, - "status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "type": "mention"
}
]Mark notifications as read
Query parameters are mutually exclusive.
Authorizations:
write:notifications) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| id | integer A single notification ID to read |
| max_id | integer Read all notifications up to this ID |
Responses
Request samples
- Payload
{- "id": 0,
- "max_id": 0
}Response samples
- 200
- 400
"string"Dismiss a notification
Clear a single notification from the server.
Authorizations:
write:notifications) path Parameters
| id required | string Example: 123 Notification ID |
Responses
Response samples
- 200
{ }Dismiss multiple notifications
Authorizations:
write:notifications) query Parameters
| ids required | Array of strings Array of notification IDs to dismiss |
Responses
Response samples
- 200
{ }Remove a filter
Authorizations:
write:filters) path Parameters
| id required | string Example: 123 Filter ID |
Responses
Response samples
- 200
- 403
{ }Filter
Authorizations:
read:filters) path Parameters
| id required | string Example: 123 Filter ID |
Responses
Response samples
- 200
- 403
- 404
{- "context": [
- "home",
- "notifications",
- "public",
- "thread"
], - "expires_at": null,
- "id": "5580",
- "irreversible": true,
- "phrase": "@twitter.com",
- "whole_word": false
}Update a filter
Authorizations:
write:filters) path Parameters
| id required | string Example: 123 Filter ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| context required | Array of strings Items Enum: "home" "notifications" "public" "thread" Array of enumerable strings |
| expires_in | integer Nullable Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire. |
boolean or string or integer Nullable Should the server irreversibly drop matching entities from home and notifications? | |
| phrase required | string The text to be filtered |
boolean or string or integer Nullable Default: true Consider word boundaries? |
Responses
Request samples
- Payload
{- "context": [
- "home"
], - "phrase": "knights"
}Response samples
- 200
- 403
{- "context": [
- "home",
- "notifications",
- "public",
- "thread"
], - "expires_at": null,
- "id": "5580",
- "irreversible": true,
- "phrase": "@twitter.com",
- "whole_word": false
}Response samples
- 200
- 403
[- {
- "context": [
- "home",
- "notifications",
- "public",
- "thread"
], - "expires_at": null,
- "id": "5580",
- "irreversible": true,
- "phrase": "@twitter.com",
- "whole_word": false
}, - {
- "context": [
- "home"
], - "expires_at": "2019-05-21T13:47:31.333Z",
- "id": "6191",
- "irreversible": false,
- "phrase": ":eurovision2019:",
- "whole_word": true
}
]Create a filter
Authorizations:
write:filters) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| context required | Array of strings Items Enum: "home" "notifications" "public" "thread" Array of enumerable strings |
| expires_in | integer Nullable Number of seconds from now the filter should expire. Otherwise, null for a filter that doesn't expire. |
boolean or string or integer Nullable Default: false Should the server irreversibly drop matching entities from home and notifications? | |
| phrase required | string The text to be filtered |
boolean or string or integer Nullable Default: true Consider word boundaries? |
Responses
Request samples
- Payload
{- "context": [
- "home"
], - "phrase": "knights"
}Response samples
- 200
- 403
{- "context": [
- "home",
- "notifications",
- "public",
- "thread"
], - "expires_at": null,
- "id": "5580",
- "irreversible": true,
- "phrase": "@twitter.com",
- "whole_word": false
}Update Notification Settings
Authorizations:
write:accounts) query Parameters
boolean or string or integer (BooleanLike) blocks notifications from accounts you do not follow | |
boolean or string or integer (BooleanLike) removes the contents of a message from the push notification |
Responses
Response samples
- 200
- 400
{- "status": "success"
}Get settings for an application
Get synchronized settings for an application
Authorizations:
read:accounts) path Parameters
| app required | string Example: pleroma-fe Application name |
Responses
Response samples
- 200
{ }Update settings for an application
Update synchronized settings for an application
Authorizations:
write:accounts) path Parameters
| app required | string Example: pleroma-fe Application name |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
The settings object to be merged with the current settings. To remove a field, set it to null.
Responses
Request samples
- Payload
{- "config1": true,
- "config2_to_unset": null
}Response samples
- 200
{ }Response samples
- 200
[- {
- "category": "Fun",
- "shortcode": "blank",
- "tags": [
- "Fun"
], - "visible_in_picker": false
}, - {
- "category": "Gif,Fun",
- "shortcode": "firefox",
- "tags": [
- "Gif",
- "Fun"
], - "visible_in_picker": true
}, - {
- "category": "pack:mixed",
- "shortcode": "sadcat",
- "tags": [
- "pack:mixed"
], - "visible_in_picker": true
}
]Response samples
- 200
{- "avatar_upload_limit": 2000000,
- "background_image": "/static/image.png",
- "background_upload_limit": 4000000,
- "banner_upload_limit": 4000000,
- "description": "Pleroma: An efficient and flexible fediverse server",
- "email": "lain@lain.com",
- "languages": [
- "en"
], - "max_toot_chars": 5000,
- "poll_limits": {
- "max_expiration": 31536000,
- "max_option_chars": 200,
- "max_options": 20,
- "min_expiration": 0
}, - "registrations": false,
- "rules": {
- "title": null,
- "x-validate": null,
- "items": {
- "title": null,
- "x-validate": null,
- "items": null,
- "oneOf": null,
- "anyOf": null,
- "deprecated": null,
- "type": "object",
- "maxLength": null,
- "uniqueItems": null,
- "exclusiveMaximum": null,
- "readOnly": null,
- "allOf": null,
- "minItems": null,
- "xml": null,
- "additionalProperties": null,
- "required": null,
- "not": null,
- "example": null,
- "default": null,
- "multipleOf": null,
- "minimum": null,
- "pattern": null,
- "exclusiveMinimum": null,
- "externalDocs": null,
- "maxItems": null,
- "maxProperties": null,
- "x-struct": null,
- "nullable": null,
- "description": null,
- "minProperties": null,
- "properties": {
- "hint": {
- "title": null,
- "x-validate": null,
- "items": null,
- "oneOf": null,
- "anyOf": null,
- "deprecated": null,
- "type": "string",
- "maxLength": null,
- "uniqueItems": null,
- "exclusiveMaximum": null,
- "readOnly": null,
- "allOf": null,
- "minItems": null,
- "xml": null,
- "additionalProperties": null,
- "required": null,
- "not": null,
- "example": null,
- "default": null,
- "multipleOf": null,
- "minimum": null,
- "pattern": null,
- "exclusiveMinimum": null,
- "externalDocs": null,
- "maxItems": null,
- "maxProperties": null,
- "x-struct": null,
- "nullable": null,
- "description": null,
- "minProperties": null,
- "properties": null,
- "writeOnly": null,
- "minLength": null,
- "format": null,
- "examples": null,
- "maximum": null,
- "discriminator": null,
- "enum": null
}, - "id": {
- "title": null,
- "x-validate": null,
- "items": null,
- "oneOf": null,
- "anyOf": null,
- "deprecated": null,
- "type": "string",
- "maxLength": null,
- "uniqueItems": null,
- "exclusiveMaximum": null,
- "readOnly": null,
- "allOf": null,
- "minItems": null,
- "xml": null,
- "additionalProperties": null,
- "required": null,
- "not": null,
- "example": null,
- "default": null,
- "multipleOf": null,
- "minimum": null,
- "pattern": null,
- "exclusiveMinimum": null,
- "externalDocs": null,
- "maxItems": null,
- "maxProperties": null,
- "x-struct": null,
- "nullable": null,
- "description": null,
- "minProperties": null,
- "properties": null,
- "writeOnly": null,
- "minLength": null,
- "format": null,
- "examples": null,
- "maximum": null,
- "discriminator": null,
- "enum": null
}, - "text": {
- "title": null,
- "x-validate": null,
- "items": null,
- "oneOf": null,
- "anyOf": null,
- "deprecated": null,
- "type": "string",
- "maxLength": null,
- "uniqueItems": null,
- "exclusiveMaximum": null,
- "readOnly": null,
- "allOf": null,
- "minItems": null,
- "xml": null,
- "additionalProperties": null,
- "required": null,
- "not": null,
- "example": null,
- "default": null,
- "multipleOf": null,
- "minimum": null,
- "pattern": null,
- "exclusiveMinimum": null,
- "externalDocs": null,
- "maxItems": null,
- "maxProperties": null,
- "x-struct": null,
- "nullable": null,
- "description": null,
- "minProperties": null,
- "properties": null,
- "writeOnly": null,
- "minLength": null,
- "format": null,
- "examples": null,
- "maximum": null,
- "discriminator": null,
- "enum": null
}
}, - "writeOnly": null,
- "minLength": null,
- "format": null,
- "examples": null,
- "maximum": null,
- "discriminator": null,
- "enum": null
}, - "oneOf": null,
- "anyOf": null,
- "deprecated": null,
- "type": "array",
- "maxLength": null,
- "uniqueItems": null,
- "exclusiveMaximum": null,
- "readOnly": null,
- "allOf": null,
- "minItems": null,
- "xml": null,
- "additionalProperties": null,
- "required": null,
- "not": null,
- "example": null,
- "default": null,
- "multipleOf": null,
- "minimum": null,
- "pattern": null,
- "exclusiveMinimum": null,
- "externalDocs": null,
- "maxItems": null,
- "maxProperties": null,
- "x-struct": null,
- "nullable": null,
- "description": null,
- "minProperties": null,
- "properties": null,
- "writeOnly": null,
- "minLength": null,
- "format": null,
- "examples": null,
- "maximum": null,
- "discriminator": null,
- "enum": null
}, - "stats": {
- "domain_count": 2996,
- "status_count": 15802,
- "user_count": 5
}, - "title": "lain.com",
- "upload_limit": 16000000,
- "urls": {
- "streaming_api": "wss://lain.com"
}, - "version": "2.7.2 (compatible; Pleroma 2.0.50-536-g25eec6d7-develop)"
}Response samples
- 200
{- "configuration": {
- "accounts": {
- "max_featured_tags": 0,
- "max_pinned_statuses": 0
}, - "media_attachments": {
- "image_size_limit": 0,
- "video_size_limit": 0
}, - "polls": {
- "max_characters_per_option": 0,
- "max_expiration": 0,
- "max_options": 0,
- "min_expiration": 0
}, - "statuses": {
- "characters_reserved_per_url": 0,
- "max_characters": 0,
- "max_media_attachments": 0
}, - "urls": {
- "streaming": "string"
}
}, - "description": "string",
- "domain": "string",
- "email": "user@example.com",
- "languages": [
- "string"
], - "registrations": {
- "approval_required": true,
- "enabled": true
}, - "source_url": "string",
- "stats": {
- "domain_count": 0,
- "status_count": 0,
- "user_count": 0
}, - "thumbnail": {
- "url": "string"
}, - "title": "string",
- "urls": { },
- "usage": {
- "users": {
- "active_month": 0
}
}, - "version": "string"
}Retrieve chat's messages
Authorizations:
read:chats) path Parameters
| id required | string The ID of the Chat |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 404
[- {
- "account_id": "someflakeid",
- "chat_id": "1",
- "content": "Check this out :firefox:",
- "created_at": "2020-04-21T15:11:46.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "13",
- "unread": false
}, - {
- "account_id": "someflakeid",
- "chat_id": "1",
- "content": "Whats' up?",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [ ],
- "id": "12",
- "unread": false
}
]Post a message to the chat
Authorizations:
write:chats) path Parameters
| id required | string The ID of the Chat |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| content | string The content of your message. Optional if media_id is present |
| media_id | string The id of an upload |
Responses
Request samples
- Payload
{- "content": "Hey wanna buy feet pics?",
- "media_id": "134234"
}Response samples
- 200
- 400
- 422
{- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}Pin a chat
Authorizations:
write:chats) path Parameters
| id required | string The id of the chat |
Responses
Response samples
- 200
{- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "is_locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "last_message": {
- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}, - "pinned": false,
- "unread": 2,
- "updated_at": "2020-04-21T15:06:45.000Z"
}Mark a message as read
Authorizations:
write:chats) path Parameters
| id required | string The ID of the Chat |
| message_id required | string The ID of the message |
Responses
Response samples
- 200
{- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}Retrieve list of chats (unpaginated) Deprecated
Deprecated due to no support for pagination. Using /api/v2/pleroma/chats instead is recommended.
Authorizations:
read:chats) query Parameters
boolean or string or integer (BooleanLike) Include chats from muted users | |
boolean or string or integer (BooleanLike) Include only pinned chats |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "unread": 2
}
]Mark all messages in the chat as read
Authorizations:
write:chats) path Parameters
| id required | string The ID of the Chat |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| last_read_id required | string The content of your message. |
Responses
Request samples
- Payload
{- "last_read_id": "abcdef12456"
}Response samples
- 200
{- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "is_locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "last_message": {
- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}, - "pinned": false,
- "unread": 2,
- "updated_at": "2020-04-21T15:06:45.000Z"
}Unpin a chat
Authorizations:
write:chats) path Parameters
| id required | string The id of the chat |
Responses
Response samples
- 200
{- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "is_locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "last_message": {
- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}, - "pinned": false,
- "unread": 2,
- "updated_at": "2020-04-21T15:06:45.000Z"
}Retrieve list of chats
Authorizations:
read:chats) query Parameters
boolean or string or integer (BooleanLike) Include chats from muted users | |
boolean or string or integer (BooleanLike) Include only pinned chats | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "unread": 2
}
]Delete message
Authorizations:
write:chats) path Parameters
| id required | string The ID of the Chat |
| message_id required | string The ID of the message |
Responses
Response samples
- 200
{- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}Create a chat
Authorizations:
write:chats) path Parameters
| id required | string Example: someflakeid The account id of the recipient of this chat |
Responses
Response samples
- 200
{- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "is_locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "last_message": {
- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}, - "pinned": false,
- "unread": 2,
- "updated_at": "2020-04-21T15:06:45.000Z"
}Retrieve a chat
Authorizations:
read) path Parameters
| id required | string Example: 1234 The id of the chat |
Responses
Response samples
- 200
{- "account": {
- "acct": "lain@dontbulling.me",
- "bot": false,
- "created_at": "2020-04-16T13:40:15.000Z",
- "display_name": "lain",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 0,
- "following_count": 0,
- "id": "9u6Qw6TAZANpqokMkK",
- "is_locked": false,
- "note": "lain",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": { },
- "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "lain",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "lain"
}, - "id": "1",
- "last_message": {
- "account_id": "someflakeid",
- "attachment": null,
- "card": null,
- "chat_id": "1",
- "content": "hey you again",
- "created_at": "2020-04-21T15:06:45.000Z",
- "emojis": [
- {
- "shortcode": "firefox",
- "visible_in_picker": false
}
], - "id": "14",
- "unread": false
}, - "pinned": false,
- "unread": 2,
- "updated_at": "2020-04-21T15:06:45.000Z"
}Remove conversation
Authorizations:
write:conversations) path Parameters
| id required | string Example: 123 Conversation ID |
Responses
Response samples
- 200
{ }Response samples
- 200
[- {
- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "id": "418450",
- "last_status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "unread": true
}
]List of conversations
Authorizations:
read:statuses) query Parameters
| recipients | Array of strings (FlakeID) Only return conversations with the given recipients (a list of user ids) |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "id": "418450",
- "last_status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "unread": true
}
]Mark conversation as read
Authorizations:
write:conversations) path Parameters
| id required | string Example: 123 Conversation ID |
Responses
Response samples
- 200
{- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "id": "418450",
- "last_status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "unread": true
}Timeline for conversation
Authorizations:
read:statuses) path Parameters
| id required | string Example: 123 Conversation ID |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Conversation
Authorizations:
read:statuses) path Parameters
| id required | string Example: 123 Conversation ID |
Responses
Response samples
- 200
{- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "id": "418450",
- "last_status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "unread": true
}Update conversation
Change set of recipients for the conversation.
Authorizations:
write:conversations) path Parameters
| id required | string Example: 123 Conversation ID |
query Parameters
| recipients required | Array of strings (FlakeID) A list of ids of users that should receive posts to this conversation. This will replace the current list of recipients, so submit the full list. The owner of owner of the conversation will always be part of the set of recipients, though. |
Responses
Response samples
- 200
{- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "id": "418450",
- "last_status": {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}, - "unread": true
}Remove a reaction to a post with a unicode emoji
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Status ID |
| emoji required | string A single character unicode emoji |
Responses
Response samples
- 200
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Get an object of emoji to account mappings with accounts that reacted to the post
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Status ID |
| emoji | string Filter by a single unicode emoji |
query Parameters
| with_muted | boolean Include reactions from muted acccounts. |
Responses
Response samples
- 200
- 404
[- {
- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "count": 1,
- "me": false,
- "name": "😱"
}
]React to a post with a unicode emoji
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Status ID |
| emoji required | string A single character unicode emoji |
Responses
Response samples
- 200
- 400
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Get an object of emoji to account mappings with accounts that reacted to the post
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Status ID |
| emoji | string Filter by a single unicode emoji |
query Parameters
| with_muted | boolean Include reactions from muted acccounts. |
Responses
Response samples
- 200
- 404
[- {
- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "count": 1,
- "me": false,
- "name": "😱"
}
]Remove accounts from list
Authorizations:
write:lists) path Parameters
| id required | string Example: 123 List ID |
query Parameters
| account_ids | Array of strings Array of account IDs |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| account_ids | Array of strings (FlakeID) Array of account IDs |
Responses
Request samples
- Payload
{- "account_ids": [
- "string"
]
}Response samples
- 200
{ }Retrieve accounts in list
Authorizations:
read:lists) path Parameters
| id required | string Example: 123 List ID |
Responses
Response samples
- 200
[- {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}
]Add accounts to list
Add accounts to the given list.
Authorizations:
write:lists) path Parameters
| id required | string Example: 123 List ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| account_ids | Array of strings (FlakeID) Array of account IDs |
Responses
Request samples
- Payload
{- "account_ids": [
- "string"
]
}Response samples
- 200
{ }Retrieve a list of lists
Fetch all lists that the user owns
Authorizations:
read:lists) Responses
Response samples
- 200
[- {
- "id": "123",
- "title": "my list"
}, - {
- "id": "1337",
- "title": "another list"
}
]Create a list
Fetch the list with the given ID. Used for verifying the title of a list.
Authorizations:
write:lists) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| title required | string List title |
Responses
Request samples
- Payload
{- "title": "string"
}Response samples
- 200
- 400
- 404
{- "id": "12249",
- "title": "Friends"
}Delete a list
Authorizations:
write:lists) path Parameters
| id required | string Example: 123 List ID |
Responses
Response samples
- 200
{ }Retrieve a list
Fetch the list with the given ID. Used for verifying the title of a list.
Authorizations:
read:lists) path Parameters
| id required | string Example: 123 List ID |
Responses
Response samples
- 200
- 404
{- "id": "12249",
- "title": "Friends"
}Update a list
Change the title of a list
Authorizations:
write:lists) path Parameters
| id required | string Example: 123 List ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| title required | string List title |
Responses
Request samples
- Payload
{- "title": "string"
}Response samples
- 200
- 422
{- "id": "12249",
- "title": "Friends"
}View a poll
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 123 Poll ID |
Responses
Response samples
- 200
- 404
{- "emojis": [ ],
- "expired": true,
- "expires_at": "2019-12-05T04:05:08.302Z",
- "id": "34830",
- "multiple": false,
- "options": [
- {
- "title": "accept",
- "votes_count": 6
}, - {
- "title": "deny",
- "votes_count": 4
}
], - "own_votes": [
- 1
], - "pleroma": {
- "non_anonymous": false
}, - "voted": true,
- "voters_count": 10,
- "votes_count": 10
}Vote on a poll
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 123 Poll ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| choices required | Array of integers Array of own votes containing index for each option (starting from 0) |
Responses
Request samples
- Payload
{- "choices": [
- 0,
- 1,
- 2
]
}Response samples
- 200
- 404
- 422
{- "emojis": [ ],
- "expired": true,
- "expires_at": "2019-12-05T04:05:08.302Z",
- "id": "34830",
- "multiple": false,
- "options": [
- {
- "title": "accept",
- "votes_count": 6
}, - {
- "title": "deny",
- "votes_count": 4
}
], - "own_votes": [
- 1
], - "pleroma": {
- "non_anonymous": false
}, - "voted": true,
- "voters_count": 10,
- "votes_count": 10
}Bookmarked statuses
Statuses the user has bookmarked
Authorizations:
read:bookmarks) query Parameters
| folder_id | string (FlakeID) If provided, only display bookmarks from given folder |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Favourited statuses
Statuses the user has favourited. Please note that you have to use the link headers to paginate this. You can not build the query parameters yourself.
Authorizations:
read:favourites) query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Direct timeline
View statuses with a “direct” scope addressed to the account. Using this endpoint is discouraged, please use conversations or chats.
Authorizations:
read:statuses) query Parameters
boolean or string or integer (BooleanLike) Include activities by muted users | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Establish streaming connection
Receive statuses in real-time via WebSocket.
You can specify the access token on the query string or through the sec-websocket-protocol header. Using
the query string to authenticate is considered unsafe and should not be used unless you have to (e.g. to maintain
your client's compatibility with Mastodon).
You may specify a stream on the query string. If you do so and you are connecting to a stream that requires logged-in users, you must specify the access token at the time of the connection (i.e. via query string or header).
Otherwise, you have the option to authenticate after you have established the connection through client-sent events.
The "Request body" section below describes what events clients can send through WebSocket, and the "Responses" section describes what events server will send through WebSocket.
Authorizations:
read:statusesread:notifications) query Parameters
| list | string (List id) Example: list=some-id The id of the list. Required when |
| stream | string Enum: "public" "public:local" "public:media" "public:local:media" "public:remote" "public:remote:media" "user" "user:pleroma_chat" "user:notification" "direct" "list" "hashtag" The name of the stream. |
| tag | string (Hashtag name) Example: tag=mew The name of the hashtag. Required when |
| instance | string (Domain name) Example: instance=example.org Domain name of the instance. Required when |
| access_token | string Example: access_token=some token An OAuth access token with corresponding permissions. |
header Parameters
| connection required | string connection header |
| upgrade required | string upgrade header |
| sec-websocket-key required | string sec-websocket-key header |
| sec-websocket-version required | string sec-websocket-version header |
| sec-websocket-protocol | string Example: some token An OAuth access token with corresponding permissions. |
Request Body schema: application/json
Client-sent events
| instance | string (Domain name) Domain name of the instance. Required when |
| list | string (List id) The id of the list. Required when |
| stream required | string Enum: "public" "public:local" "public:media" "public:local:media" "public:remote" "public:remote:media" "user" "user:pleroma_chat" "user:notification" "direct" "list" "hashtag" The name of the stream. |
| tag | string (Hashtag name) The name of the hashtag. Required when |
| type required | string Value: "subscribe" Type of the event. |
Responses
Request samples
- Payload
{- "list": "1",
- "stream": "list",
- "type": "subscribe"
}Response samples
- 200
{- "event": "update",
- "payload": "{\"account\":{\"acct\":\"nick6\",\"avatar\":\"https://localhost:4001/images/avi.png\",\"avatar_static\":\"https://localhost:4001/images/avi.png\",\"bot\":false,\"created_at\":\"2020-04-07T19:48:51.000Z\",\"display_name\":\"Test テスト User 6\",\"emojis\":[],\"fields\":[],\"followers_count\":1,\"following_count\":0,\"header\":\"https://localhost:4001/images/banner.png\",\"header_static\":\"https://localhost:4001/images/banner.png\",\"id\":\"9toJCsKN7SmSf3aj5c\",\"is_locked\":false,\"note\":\"Tester Number 6\",\"pleroma\":{\"background_image\":null,\"hide_favorites\":true,\"hide_followers\":false,\"hide_followers_count\":false,\"hide_follows\":false,\"hide_follows_count\":false,\"is_admin\":false,\"is_confirmed\":true,\"is_moderator\":false,\"relationship\":{\"blocked_by\":false,\"blocking\":false,\"domain_blocking\":false,\"endorsed\":false,\"followed_by\":false,\"following\":true,\"id\":\"9toJCsKN7SmSf3aj5c\",\"muting\":false,\"muting_notifications\":false,\"note\":\"\",\"notifying\":false,\"requested\":false,\"showing_reblogs\":true,\"subscribing\":false},\"skip_thread_containment\":false,\"tags\":[]},\"source\":{\"fields\":[],\"note\":\"Tester Number 6\",\"pleroma\":{\"actor_type\":\"Person\",\"discoverable\":false},\"sensitive\":false},\"statuses_count\":1,\"url\":\"https://localhost:4001/users/nick6\",\"username\":\"nick6\"},\"application\":null,\"bookmarked\":false,\"card\":null,\"content\":\"foobar\",\"created_at\":\"2020-04-07T19:48:51.000Z\",\"emojis\":[],\"favourited\":false,\"favourites_count\":0,\"id\":\"9toJCu5YZW7O7gfvH6\",\"in_reply_to_account_id\":null,\"in_reply_to_id\":null,\"language\":null,\"media_attachments\":[],\"mentions\":[],\"muted\":false,\"pinned\":false,\"pleroma\":{\"content\":{\"text/plain\":\"foobar\"},\"context\":\"https://localhost:4001/objects/8b4c0c80-6a37-4d2a-b1b9-05a19e3875aa\",\"conversation_id\":345972,\"direct_conversation_id\":null,\"emoji_reactions\":[],\"expires_at\":null,\"in_reply_to_account_acct\":null,\"local\":true,\"quotes_count\":0,\"spoiler_text\":{\"text/plain\":\"\"},\"thread_muted\":false},\"poll\":null,\"quotes_count\":0,\"reblog\":null,\"reblogged\":false,\"reblogs_count\":0,\"replies_count\":0,\"sensitive\":false,\"spoiler_text\":\"\",\"tags\":[],\"uri\":\"https://localhost:4001/objects/0f5dad44-0e9e-4610-b377-a2631e499190\",\"url\":\"https://localhost:4001/notice/9toJCu5YZW7O7gfvH6\",\"visibility\":\"private\"}",
- "stream": [
- "hashtag",
- "mew"
]
}Hashtag timeline
View public statuses containing the given hashtag
Authorizations:
read:statuses) path Parameters
| tag required | string Content of a #hashtag, not including # symbol. |
query Parameters
| any | Array of strings Statuses that also includes any of these tags |
| all | Array of strings Statuses that also includes all of these tags |
| none | Array of strings Statuses that do not include these tags |
boolean or string or integer Default: false Show only local statuses? | |
boolean or string or integer Default: false Show only statuses with media attached? | |
boolean or string or integer Default: false Show only remote statuses? | |
boolean or string or integer (BooleanLike) Include activities by muted users | |
| exclude_visibilities | Array of strings (VisibilityScope) Items Enum: "public" "unlisted" "local" "private" "direct" "list" Exclude the statuses with the given visibilities |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 401
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Home timeline
View statuses from followed users
Authorizations:
read:statuses) query Parameters
boolean or string or integer Default: false Show only local statuses? | |
boolean or string or integer Default: false Show only remote statuses? | |
boolean or string or integer Default: false Show only statuses with media attached? | |
boolean or string or integer (BooleanLike) Include activities by muted users | |
| exclude_visibilities | Array of strings (VisibilityScope) Items Enum: "public" "unlisted" "local" "private" "direct" "list" Exclude the statuses with the given visibilities |
| reply_visibility | string Enum: "following" "self" Filter replies. Possible values: without parameter (default) shows all replies, |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Public timeline
Authorizations:
read:statuses) query Parameters
boolean or string or integer Default: false Show only local statuses? | |
| instance | string Show only statuses from the given domain |
boolean or string or integer Default: false Show only statuses with media attached? | |
boolean or string or integer Default: false Show only remote statuses? | |
boolean or string or integer (BooleanLike) Include activities by muted users | |
| exclude_visibilities | Array of strings (VisibilityScope) Items Enum: "public" "unlisted" "local" "private" "direct" "list" Exclude the statuses with the given visibilities |
| reply_visibility | string Enum: "following" "self" Filter replies. Possible values: without parameter (default) shows all replies, |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 401
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]List timeline
View statuses in the given list timeline
Authorizations:
read:lists) path Parameters
| list_id required | string Local ID of the list in the database |
query Parameters
boolean or string or integer (BooleanLike) Include activities by muted users | |
boolean or string or integer Default: false Show only local statuses? | |
boolean or string or integer Default: false Show only remote statuses? | |
boolean or string or integer Default: false Show only statuses with media attached? | |
| exclude_visibilities | Array of strings (VisibilityScope) Items Enum: "public" "unlisted" "local" "private" "direct" "list" Exclude the statuses with the given visibilities |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Quoted by
View quotes for a given status
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 403
- 404
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Status history
View history of a status
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
[- {
- "account": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "media_attachments": [
- {
- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}
], - "poll": {
- "emojis": [ ],
- "expired": true,
- "expires_at": "2019-12-05T04:05:08.302Z",
- "id": "34830",
- "multiple": false,
- "options": [
- {
- "title": "accept",
- "votes_count": 6
}, - {
- "title": "deny",
- "votes_count": 4
}
], - "own_votes": [
- 1
], - "pleroma": {
- "non_anonymous": false
}, - "voted": true,
- "voters_count": 10,
- "votes_count": 10
}, - "sensitive": true,
- "spoiler_text": "string"
}
]Reblogged by
View who reblogged a given status
Authorizations:
read:accounts) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Translate status
Translate status with an external API
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| lang | string Nullable Translation target language. |
Responses
Request samples
- Payload
{- "lang": "string"
}Response samples
- 200
- 400
- 404
- 503
{- "content": "Software für die nächste Generation der sozialen Medien.",
- "detected_source_language": "en",
- "provider": "Deepl"
}Multiple statuses
Authorizations:
read:statuses) query Parameters
| id | Array of strings (FlakeID) Array of status IDs |
| ids | Array of strings (FlakeID) Deprecated, use |
boolean or string or integer (BooleanLike) Include reactions from muted acccounts. |
Responses
Response samples
- 200
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Favourited by
View who favourited a given status
Authorizations:
read:accounts) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Status
View information about a status
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
boolean or string or integer (BooleanLike) Include reactions from muted acccounts. |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Parent and child statuses
View statuses above and below this status in the thread
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
{- "ancestors": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
], - "descendants": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}Quoted by Deprecated
View quotes for a given status. Use /api/v1/statuses/:id/quotes instead.
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 403
- 404
[- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]Status source
View source of a status
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
{- "content_type": "string",
- "id": "string",
- "spoiler_text": "string",
- "text": "string"
}Cancel a scheduled status
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 123 Poll ID |
Responses
Response samples
- 200
- 404
{ }View a single scheduled status
Authorizations:
read:statuses) path Parameters
| id required | string (FlakeID) Example: 123 Poll ID |
Responses
Response samples
- 200
- 404
{- "id": "3221",
- "media_attachments": [
- {
- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}
], - "params": {
- "expires_in": null,
- "idempotency": null,
- "in_reply_to_id": null,
- "media_ids": null,
- "poll": null,
- "scheduled_at": null,
- "sensitive": null,
- "spoiler_text": null,
- "text": "test content",
- "visibility": null
}, - "scheduled_at": "2019-12-05T12:33:01.000Z"
}Schedule a status
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 123 Poll ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| scheduled_at | string <date-time> ISO 8601 Datetime at which the status will be published. Must be at least 5 minutes into the future. |
Responses
Request samples
- Payload
{- "scheduled_at": "2019-08-24T14:15:22Z"
}Response samples
- 200
- 404
{- "id": "3221",
- "media_attachments": [
- {
- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}
], - "params": {
- "expires_in": null,
- "idempotency": null,
- "in_reply_to_id": null,
- "media_ids": null,
- "poll": null,
- "scheduled_at": null,
- "sensitive": null,
- "spoiler_text": null,
- "text": "test content",
- "visibility": null
}, - "scheduled_at": "2019-12-05T12:33:01.000Z"
}View scheduled statuses
Authorizations:
read:statuses) query Parameters
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
[- {
- "id": "3221",
- "media_attachments": [
- {
- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}
], - "params": {
- "expires_in": null,
- "idempotency": null,
- "in_reply_to_id": null,
- "media_ids": null,
- "poll": null,
- "scheduled_at": null,
- "sensitive": null,
- "spoiler_text": null,
- "text": "test content",
- "visibility": null
}, - "scheduled_at": "2019-12-05T12:33:01.000Z"
}
]Search results
Authorizations:
read:search) query Parameters
| account_id | string (FlakeID) If provided, statuses returned will be authored only by this account |
| type | string Enum: "accounts" "hashtags" "statuses" Search type |
| q required | string What to search for |
boolean or string or integer Default: false Attempt WebFinger lookup | |
boolean or string or integer Default: false Only include accounts that the user is following | |
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
{- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "statuses": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}Search for matching accounts by username or display name
query Parameters
| q required | string What to search for |
| limit | integer Default: 40 Maximum number of results |
boolean or string or integer Default: false Attempt WebFinger lookup. Use this when | |
boolean or string or integer Default: false Only include accounts that the user is following | |
| capabilities | Array of strings Items Value: "accepts_chat_messages" Only include accounts with given capabilities |
Responses
Response samples
- 200
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Search results Deprecated
Authorizations:
read:search) query Parameters
| account_id | string (FlakeID) If provided, statuses returned will be authored only by this account |
| type | string Enum: "accounts" "hashtags" "statuses" Search type |
| q required | string The search query |
boolean or string or integer Default: false Attempt WebFinger lookup | |
boolean or string or integer Default: false Only include accounts that the user is following | |
| offset | integer Offset |
boolean or string or integer (BooleanLike) Embed relationships into accounts. If this parameter is not set account's | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
{- "accounts": [
- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
], - "hashtags": [
- "cofe"
], - "statuses": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}Unmute conversation
Start receiving notifications again for the thread that this status is part of
Authorizations:
write:mutes) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 400
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Undo reblog
Undo a reshare of a status
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Unpin from profile
Unfeature a status from the top of your profile
Authorizations:
write:accounts) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 400
- 404
- 422
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Undo bookmark
Remove a status from your private bookmarks
Authorizations:
write:bookmarks) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Publish new status
Post a new status
Authorizations:
write:statuses) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| content_type | string Nullable The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint. |
| expires_in | integer Nullable The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour. |
| in_reply_to_conversation_id | string Nullable Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to |
| in_reply_to_id | string Nullable ID of the status being replied to, if status is a reply |
| language | string Nullable ISO 639 language code for this status. |
| media_ids | Array of strings Nullable Array of Attachment ids to be attached as media. |
object Nullable | |
boolean or string or integer Nullable If set to | |
| quote_id | string Nullable Deprecated Deprecated in favor of |
| quoted_status_id | string Nullable ID of the status being quoted, if any |
| scheduled_at | string <date-time> Nullable ISO 8601 Datetime at which to schedule a status. Providing this parameter will cause ScheduledStatus to be returned instead of Status. Must be at least 5 minutes in the future. |
boolean or string or integer Nullable Mark status and attached media as sensitive? | |
| spoiler_text | string Nullable Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field. |
| status | string Nullable Text content of the status. If |
| to | Array of strings Nullable A list of nicknames (like |
VisibilityScope (string) or string Nullable Visibility of the posted status. Besides standard MastoAPI values ( |
Responses
Request samples
- Payload
{- "poll": {
- "expires_in": 420,
- "options": [
- "Cofe",
- "Adventure"
]
}, - "sensitive": "false",
- "status": "What time is it?"
}Response samples
- 200
- 422
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Mute conversation
Do not receive notifications for the thread that this status is part of.
Authorizations:
write:mutes) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
query Parameters
| expires_in | integer Default: 0 Expire the mute in |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| expires_in | integer Nullable Default: 0 Expire the mute in |
Responses
Request samples
- Payload
{- "expires_in": 0
}Response samples
- 200
- 400
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Delete
Delete one of your own statuses
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 403
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Update status
Change the content of a status
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| content_type | string Nullable The MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint. |
| media_ids | Array of strings Nullable Array of Attachment ids to be attached as media. |
object Nullable | |
boolean or string or integer Nullable Mark status and attached media as sensitive? | |
| spoiler_text | string Nullable Text to be shown as a warning or subject before the actual content. Statuses are generally collapsed behind this field. |
| status | string Nullable Text content of the status. If |
| to | Array of strings Nullable A list of nicknames (like |
Responses
Request samples
- Payload
{- "poll": {
- "expires_in": 420,
- "options": [
- "Cofe",
- "Adventure"
]
}, - "sensitive": "false",
- "status": "What time is it?"
}Response samples
- 200
- 403
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Undo favourite
Remove a status from your favourites list
Authorizations:
write:favourites) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 400
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Bookmark
Privately bookmark a status
Authorizations:
write:bookmarks) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| folder_id | string Nullable ID of bookmarks folder, if any |
Responses
Request samples
- Payload
{- "folder_id": "string"
}Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Pin to profile
Feature one of your own public statuses at the top of your profile
Authorizations:
write:accounts) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 400
- 404
- 422
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Reblog
Share a status
Authorizations:
write:statuses) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| visibility | string Enum: "public" "unlisted" "local" "private" "direct" "list" Status visibility |
Responses
Request samples
- Payload
{- "visibility": "public"
}Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Favourite
Add a status to your favourites list
Authorizations:
write:favourites) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Status ID |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}Upload media as attachment
Creates an attachment to be used with a new status.
Authorizations:
write:media) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| description | string A plain-text description of the media, for accessibility purposes. |
| file required | string <binary> The file to be attached, using multipart form data. |
| focus | string Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0. |
Responses
Request samples
- Payload
{- "description": "string",
- "file": "string",
- "focus": "string"
}Response samples
- 200
- 400
- 401
- 422
{- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}Upload media as attachment (v2)
Creates an attachment to be used with a new status.
Authorizations:
write:media) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| description | string A plain-text description of the media, for accessibility purposes. |
| file required | string <binary> The file to be attached, using multipart form data. |
| focus | string Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0. |
Responses
Request samples
- Payload
{- "description": "string",
- "file": "string",
- "focus": "string"
}Response samples
- 200
- 400
- 422
- 500
{- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}Attachment
Authorizations:
read:media) path Parameters
| id required | string The ID of the Attachment entity |
Responses
Response samples
- 200
- 401
- 403
- 422
{- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}Update attachment
Creates an attachment to be used with a new status.
Authorizations:
write:media) path Parameters
| id required | string The ID of the Attachment entity |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| description | string A plain-text description of the media, for accessibility purposes. |
| file | string <binary> The file to be attached, using multipart form data. |
| focus | string Two floating points (x,y), comma-delimited, ranging from -1.0 to 1.0. |
Responses
Request samples
- Payload
{- "description": "string",
- "file": "string",
- "focus": "string"
}Response samples
- 200
- 400
- 401
- 422
{- "description": null,
- "id": "1638338801",
- "pleroma": {
- "mime_type": "image/png"
}, - "preview_url": "someurl",
- "remote_url": "someurl",
- "text_url": "someurl",
- "type": "image",
- "url": "someurl"
}Response samples
- 200
[- {
- "emoji": null,
- "id": "9toJCu5YZW7O7gfvH6",
- "name": "Read later"
}
]Create a bookmark folder
Authorizations:
write:bookmarks) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| emoji | string Nullable Folder emoji |
| name | string Folder name |
Responses
Request samples
- Payload
{- "emoji": "string",
- "name": "string"
}Response samples
- 200
- 422
{- "emoji": null,
- "id": "9toJCu5YZW7O7gfvH6",
- "name": "Read later"
}Delete a bookmark folder
Authorizations:
write:bookmarks) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Bookmark Folder ID |
Responses
Response samples
- 200
- 403
- 404
{- "emoji": null,
- "id": "9toJCu5YZW7O7gfvH6",
- "name": "Read later"
}Update a bookmark folder
Authorizations:
write:bookmarks) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Bookmark Folder ID |
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| emoji | string Nullable Folder emoji |
| name | string Nullable Folder name |
Responses
Request samples
- Payload
{- "emoji": "string",
- "name": "string"
}Response samples
- 200
- 403
- 404
- 422
{- "emoji": null,
- "id": "9toJCu5YZW7O7gfvH6",
- "name": "Read later"
}Follow a hashtag
Follow a hashtag
Authorizations:
write:follows) path Parameters
| id required | string Name of the hashtag |
Responses
Response samples
- 200
- 404
{- "following": false,
- "name": "cofe",
}Followed hashtags
View a list of hashtags the currently authenticated user is following
Authorizations:
read:follows) query Parameters
| max_id | integer Return items older than this ID |
| min_id | integer Return the oldest items newer than this ID |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 403
- 404
[
]Hashtag
View a hashtag
Authorizations:
read) path Parameters
| id required | string Name of the hashtag |
Responses
Response samples
- 200
- 404
{- "following": false,
- "name": "cofe",
}Unfollow a hashtag
Unfollow a hashtag
Authorizations:
write:follows) path Parameters
| id required | string Name of the hashtag |
Responses
Response samples
- 200
- 404
{- "following": false,
- "name": "cofe",
}Show emoji pack
query Parameters
| name required | string Example: name=cofe Pack Name |
| page | integer Default: 1 Page |
| page_size | integer Default: 30 Number of emoji to return |
Responses
Response samples
- 200
- 400
- 404
{- "files": {
- "emacs": "emacs.png",
- "guix": "guix.png"
}, - "pack": {
- "can-download": true,
- "description": "Test description",
- "download-sha256": "57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238",
- "license": "Test license",
- "share-files": true
}
}Lists local custom emoji packs
query Parameters
| page | integer Default: 1 Page |
| page_size | integer Default: 50 Number of emoji packs to return |
Responses
Response samples
- 200
{- "count": 1,
- "packs": {
- "emojos": {
- "files": {
- "emacs": "emacs.png",
- "guix": "guix.png"
}, - "pack": {
- "can-download": true,
- "description": "Test description",
- "download-sha256": "57482F30674FD3DE821FF48C81C00DA4D4AF1F300209253684ABA7075E5FC238",
- "license": "Test license",
- "share-files": true
}
}
}
}Get an individual report
Authorizations:
read:reports) path Parameters
| id required | string (FlakeID) Example: 9umDrYheeY451cQnEe Report ID |
Responses
Response samples
- 200
- 404
{- "account": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "actor": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "state": "open",
- "statuses": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}Get a list of your own reports
Authorizations:
read:reports) query Parameters
| state | string Enum: "open" "closed" "resolved" Filter by report state |
| limit | integer The number of records to retrieve |
| page | integer Default: 1 Page number |
| page_size | integer Default: 50 Number number of log entries per page |
Responses
Response samples
- 200
- 404
{- "reports": [
- {
- "account": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "actor": {
- "acct": "string",
- "bot": true,
- "created_at": "2019-08-24T14:15:22Z",
- "display_name": "string",
- "emojis": [
- {
- "shortcode": "fatyoshi",
- "visible_in_picker": true
}
], - "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 0,
- "id": "string",
- "is_active": true,
- "is_confirmed": true,
- "local": true,
- "locked": true,
- "nickname": "string",
- "note": "string",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "also_known_as": [
- "string"
], - "ap_id": "string",
- "avatar_description": "string",
- "birthday": "2019-08-24",
- "chat_token": "string",
- "header_description": "string",
- "hide_favorites": true,
- "hide_followers": true,
- "hide_followers_count": true,
- "hide_follows": true,
- "hide_follows_count": true,
- "is_admin": true,
- "is_confirmed": true,
- "is_moderator": true,
- "notification_settings": {
- "block_from_strangers": true,
- "hide_notification_contents": true
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": { },
- "show_birthday": true,
- "skip_thread_containment": true,
- "tags": [
- "string"
], - "unread_conversation_count": 0
}, - "roles": {
- "admin": true,
- "moderator": true
}, - "source": {
- "fields": [
- {
- "name": "Website",
- "value": "<a href=\"https://pleroma.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">pleroma.com</span><span class=\"invisible\"></span></a>",
- "verified_at": "2019-08-29T04:14:55.571+00:00"
}
], - "note": "string",
- "pleroma": {
- "actor_type": "Application",
- "discoverable": true,
- "no_rich_text": true,
- "show_role": true
}, - "privacy": "public",
- "sensitive": true
}, - "statuses_count": 0,
- "username": "string"
}, - "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "state": "open",
- "statuses": [
- {
- "account": {
- "acct": "nick6",
- "bot": false,
- "created_at": "2020-04-07T19:48:51.000Z",
- "display_name": "Test テスト User 6",
- "emojis": [ ],
- "fields": [ ],
- "followers_count": 1,
- "following_count": 0,
- "id": "9toJCsKN7SmSf3aj5c",
- "is_locked": false,
- "note": "Tester Number 6",
- "pleroma": {
- "background_image": null,
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": true,
- "is_moderator": false,
- "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": true,
- "id": "9toJCsKN7SmSf3aj5c",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "skip_thread_containment": false,
- "tags": [ ]
}, - "source": {
- "fields": [ ],
- "note": "Tester Number 6",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false
}, - "sensitive": false
}, - "statuses_count": 1,
- "username": "nick6"
}, - "application": null,
- "bookmarked": false,
- "card": null,
- "content": "foobar",
- "created_at": "2020-04-07T19:48:51.000Z",
- "emojis": [ ],
- "favourited": false,
- "favourites_count": 0,
- "id": "9toJCu5YZW7O7gfvH6",
- "in_reply_to_account_id": null,
- "in_reply_to_id": null,
- "language": null,
- "media_attachments": [ ],
- "mentions": [ ],
- "muted": false,
- "pinned": false,
- "pleroma": {
- "content": {
- "text/plain": "foobar"
}, - "conversation_id": 345972,
- "direct_conversation_id": null,
- "emoji_reactions": [ ],
- "expires_at": null,
- "in_reply_to_account_acct": null,
- "local": true,
- "quotes_count": 0,
- "spoiler_text": {
- "text/plain": ""
}, - "thread_muted": false
}, - "poll": null,
- "quotes_count": 0,
- "reblog": null,
- "reblogged": false,
- "reblogs_count": 0,
- "replies_count": 0,
- "sensitive": false,
- "spoiler_text": "",
- "tags": [ ],
- "visibility": "private"
}
]
}
], - "total": 0
}File a report
Report problematic users to your moderators
Authorizations:
followwrite:reports) Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| account_id required | string ID of the account to report |
| comment | string Nullable Reason for the report |
boolean or string or integer Nullable Default: false If the account is remote, should the report be forwarded to the remote admin? | |
| rule_ids | Array of strings Nullable Array of rules |
| status_ids | Array of strings Nullable Array of Statuses to attach to the report, for context |
Responses
Request samples
- Payload
{- "account_id": "123",
- "comment": "bad status!",
- "forward": "false",
- "rule_ids": [
- "3"
], - "status_ids": [
- "1337"
]
}Response samples
- 200
- 400
- 404
{- "action_taken": false,
- "id": "123"
}Mark one announcement as read
Authorizations:
write:accounts) path Parameters
| id required | string announcement id |
Responses
Response samples
- 200
- 403
- 404
{ }Response samples
- 200
- 403
[- {
- "all_day": true,
- "content": "string",
- "emojis": [ ],
- "ends_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "mentions": [ ],
- "pleroma": {
- "raw_content": "string"
}, - "published_at": "2019-08-24T14:15:22Z",
- "reactions": [ ],
- "read": true,
- "starts_at": "2019-08-24T14:15:22Z",
- "statuses": [ ],
- "tags": [ ],
- "updated_at": "2019-08-24T14:15:22Z"
}
]Remote interaction
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Parameters
| ap_id required | string Profile or status ActivityPub ID |
| profile required | string Remote profile webfinger |
Responses
Request samples
- Payload
{- "ap_id": "string",
- "profile": "string"
}Response samples
- 200
{ }Response samples
- 200
- 503
{ }Profile directory
query Parameters
| order | string Order by recent activity or account creation |
boolean or string or integer (BooleanLike) Include local users only | |
| max_id | string Return items older than this ID |
| min_id | string Return the oldest items newer than this ID |
| since_id | string Return the newest items newer than this ID |
| offset | integer Default: 0 Return items past this number of items |
| limit | integer Default: 20 Maximum number of items to return. Will be ignored if it's more than 40 |
Responses
Response samples
- 200
- 404
[- {
- "acct": "foobar",
- "avatar_description": "",
- "bot": false,
- "created_at": "2020-03-24T13:05:58.000Z",
- "display_name": "foobar",
- "emojis": [ ],
- "fields": [ ],
- "follow_requests_count": 0,
- "followers_count": 0,
- "following_count": 1,
- "header_description": "",
- "id": "9tKi3esbG7OQgZ2920",
- "locked": false,
- "note": "cofe",
- "pleroma": {
- "accepts_chat_messages": true,
- "allow_following_move": true,
- "background_image": null,
- "birthday": "2001-02-12",
- "chat_token": "SFMyNTY.g3QAAAACZAAEZGF0YW0AAAASOXRLaTNlc2JHN09RZ1oyOTIwZAAGc2lnbmVkbgYARNplS3EB.Mb_Iaqew2bN1I1o79B_iP7encmVCpTKC4OtHZRxdjKc",
- "hide_favorites": true,
- "hide_followers": false,
- "hide_followers_count": false,
- "hide_follows": false,
- "hide_follows_count": false,
- "is_admin": false,
- "is_confirmed": false,
- "is_moderator": false,
- "notification_settings": {
- "block_from_strangers": false,
- "hide_notification_contents": false
}, - "relationship": {
- "blocked_by": false,
- "blocking": false,
- "domain_blocking": false,
- "endorsed": false,
- "followed_by": false,
- "following": false,
- "id": "9tKi3esbG7OQgZ2920",
- "muting": false,
- "muting_notifications": false,
- "note": "",
- "notifying": false,
- "requested": false,
- "showing_reblogs": true,
- "subscribing": false
}, - "settings_store": {
- "pleroma-fe": { }
}, - "skip_thread_containment": false,
- "tags": [ ],
- "unread_conversation_count": 0
}, - "source": {
- "fields": [ ],
- "note": "foobar",
- "pleroma": {
- "actor_type": "Person",
- "discoverable": false,
- "no_rich_text": false,
- "show_role": true
}, - "privacy": "public",
- "sensitive": false
}, - "statuses_count": 0,
- "username": "foobar"
}
]Update preferred frontend setting
Store preferred frontend in cookies
Request Body schema: application/jsonapplication/jsonapplication/x-www-form-urlencodedmultipart/form-data
Frontend
| frontend_name required | string Frontend name |
Responses
Request samples
- Payload
{- "frontend_name": "string"
}Response samples
- 200
{- "frontend_name": "string"
}