Create a filter.
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optional
options: { Optional
expires_ISO 8601 Datetime for when the filter expires.
Optional
irreversible?: booleanShould the server irreversibly drop matching entities from home and notifications?
Optional
whole_Consider word boundaries?
Filter
Edit a given status to change its text, sensitivity, media attachments, or poll. Note that editing a poll’s options will reset the votes.
The target status id.
Optional
media_Array of Attachment ids.
Optional
poll?: { Poll object.
Optional
expires_Optional
hide_Optional
multiple?: booleanOptional
options?: string[]Optional
sensitive?: booleanMark status and attached media as sensitive?
Optional
spoiler_Text to be shown as a warning or subject before the actual content.
Optional
status?: stringText context of status.
Status
Fetch OAuth access token. Get an access token based client_id and client_secret and authorization code.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be generated by the link of #generateAuthUrl or #registerApp
Optional
redirect_uri: stringmust be the same uri as the time when you register your OAuth application
Follow the given account. Can also be used to update whether to show reblogs or enable notifications.
The account ID.
Optional
options: { Optional
reblog?: booleanRelationship
Favourites timeline of any user.
Target account ID.
Optional
options: { Optional
limit?: numberMax number of results to return.
Optional
max_Return results order than ID.
Optional
since_Return results newer than ID.
Array of statuses.
Accounts which follow the given account, if network is not hidden by the account owner.
The account ID.
Optional
options: { Optional
get_Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
Optional
sleep_The array of accounts.
Accounts which the given account is following, if network is not hidden by the account owner.
The account ID.
Optional
options: { Optional
get_Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
Optional
sleep_The array of accounts.
View accounts in a list.
Target list ID.
Optional
options: { Optional
limit?: numberMax number of results to return.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
Array of accounts.
Statuses posted to the given account.
The account ID.
Optional
options: { Optional
exclude_Return statuses which exclude reblogs.
Optional
exclude_Return statuses which exclude replies.
Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
only_Return statuses with public visibility only.
Optional
pinned?: booleanReturn statuses which include pinned statuses.
Optional
since_Return results newer than ID but starting with most recent.
Account's statuses.
View blocked users.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of accounts.
Statuses the user has bookmarked.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
View all conversations.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
View domains the user has blocked.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of domain name.
Accounts that the user is currently featuring on their profile.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
since_Return results newer than ID.
Array of accounts.
Statuses the user has favourited.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of statuses.
View home timeline.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
local?: booleanShow only local statuses? Defaults to false.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
View profile directory.
Optional
options: { Optional
limit?: numberHow many accounts to load. Default 40.
Optional
local?: booleanOnly return local accounts.
Optional
offset?: numberHow many accounts to skip before returning results. Default 0.
Optional
order?: "active" | "new"Order of results.
Array of accounts.
View list timeline.
Local ID of the list in the database.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of statuses.
View local timeline.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
since_Return results newer than ID.
Array of statuses.
Accounts the user has muted.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Array of accounts.
Get all notifications.
Optional
options: { Optional
account_Return only notifications received from this account.
Optional
exclude_Array of types to exclude.
Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of notifications.
View public timeline.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
since_Return results newer than ID.
Array of statuses.
View scheduled statuses.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
since_Return results newer than ID.
Array of scheduled statuses.
Get parent and child statuses in context. View statuses above and below this status in the thread.
The target status id.
Optional
options: { Optional
limit?: numberOptional
max_Optional
since_Context
View hashtag timeline.
Content of a #hashtag, not including # symbol.
Optional
options: { Optional
limit?: numberMax number of results to return. Defaults to 20.
Optional
local?: booleanShow only local statuses? Defaults to false.
Optional
max_Return results older than ID.
Optional
min_Return results immediately newer than ID.
Optional
only_Show only statuses with media attached? Defaults to false.
Optional
since_Return results newer than ID.
Array of statuses.
Mute the given account. Clients should filter statuses and notifications from this account, if received,
The account ID.
Mute notifications in addition to statuses.
Relationship
Publish a status with the given parameters.
Text content of status.
Optional
options: { Optional
in_ID of the status being replied to, if status is a reply.
Optional
language?: stringISO 639 language code for this status.
Optional
media_Array of Attachment ids.
Optional
poll?: { Poll object.
Optional
hide_Optional
multiple?: booleanOptional
quote_ID of the status being quoted to, if status is a quote.
Optional
scheduled_ISO 8601 Datetime at which to schedule a status.
Optional
sensitive?: booleanMark status and attached media as sensitive?
Optional
spoiler_Text to be shown as a warning or subject before the actual content.
Optional
visibility?: StatusVisibilityVisibility of the posted status.
Status. When options.scheduled_at is present, ScheduledStatus is returned instead.
Refresh OAuth access token. Send refresh token and get new access token.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be get #fetchAccessToken
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.
Username for the account.
Email for the account.
Password for the account.
Whether the user agrees to the local rules, terms, and policies.
The language of the confirmation email that will be sent
Optional
reason: null | stringText that will be reviewed by moderators if registrations require manual approval.
An account token.
First, call createApp to get client_id and client_secret. Next, call generateAuthUrl to get authorization url.
Form Data, which is sent to /api/v1/apps
Form Data, which is sent to /api/v1/apps. and properties should be snake_case
File a report.
Target account ID.
Optional
options: { Optional
category?: CategorySpecify if the report is due to spam, violation of enumerated instance rules, or some other reason. Defaults to other. Will be set to violation if rule_ids[] is provided (regardless of any category value you provide).
The reason for the report. Default maximum of 1000 characters.
Optional
forward?: booleanIf the account is remote, should the report be forwarded to the remote admin?
Optional
rule_For violation category reports, specify the ID of the exact rules broken. Rules and their IDs are available via GET /api/v1/instance/rules and GET /api/v1/instance.
Optional
status_Array of Statuses ids to attach to the report.
Report
Revoke an OAuth token.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be get #fetchAccessToken
Save your position in a timeline.
Optional
options: { Optional
home?: { Marker position of the last read status ID in home timeline.
Optional
notifications?: { Marker position of the last read notification ID in notifications.
Marker.
Update a scheduled status’s publishing date.
Target scheduled status ID.
Optional
scheduled_at: null | stringISO 8601 Datetime at which the status will be published.
ScheduledStatus.
Perform a search.
The search query.
Optional
options: { Optional
account_If provided, statuses returned will be authored only by this account.
Optional
exclude_Filter out unreviewed tags? Defaults to false.
Optional
following?: booleanOnly include accounts that the user is following. Defaults to false.
Optional
limit?: numberMaximum number of results to load, per type. Defaults to 20. Max 40.
Optional
max_Return results older than this id.
Optional
min_Return results immediately newer than this id.
Optional
offset?: numberOptional
resolve?: booleanAttempt WebFinger lookup. Defaults to false.
Optional
type?: "accounts" | "hashtags" | "statuses"Enum of search target.
Results.
Search for matching accounts by username or display name.
Search query.
Optional
options: { Optional
following?: booleanOptional
limit?: numberMax number of results to return. Defaults to 40.
Optional
max_Return results older than ID.
Optional
resolve?: booleanOptional
since_Return results newer than ID.
The array of accounts.
Subscribe to push notifications.
Optional
data: null | { PushSubscription.
Update the user’s display and preferences.
Optional
options: { Optional
avatar?: stringAvatar image encoded using multipart/form-data.
Optional
bot?: booleanWhether the account has a bot flag.
Optional
discoverable?: booleanWhether the account should be shown in the profile directory.
Optional
display_The display name to use for the profile.
Optional
fields_The profile fields to be set. Inside this hash, the key is an integer cast to a string (although the exact integer does not matter), and the value is another hash including name and value. By default, max 4 fields.
Optional
header?: stringHeader image encoded using multipart/form-data.
Optional
locked?: booleanWhether manual approval of follow requests is required.
Optional
note?: stringThe account bio.
Optional
source?: { Optional
language?: stringOptional
privacy?: stringOptional
sensitive?: booleanAn account.
Replaces a filter’s parameters in-place.
The filter ID.
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optional
options: { Optional
expires_ISO 8601 Datetime for when the filter expires.
Optional
irreversible?: booleanShould the server irreversibly drop matching entities from home and notifications?
Optional
whole_Consider word boundaries?
Filter
Update media attachment.
Target media ID.
Optional
options: { Optional
description?: stringA plain-text description of the media.
Optional
file?: anyThe file to be attached, using multipart form data.
Optional
focus?: stringTwo floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.
Optional
is_Whether the media is sensitive.
Attachment
Upload media as an attachment.
The file to be attached, using multipart form data.
Optional
options: { Optional
description?: stringA plain-text description of the media.
Optional
focus?: stringTwo floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.
Attachment
Accept the follow request.