access token from OAuth2 authorization
UserAgent is specified in header on request.
POST /api/v1/follow_requests/:id/authorize
Target account ID.
Relationship.
POST /api/v1/lists/:id/accounts
PUT /api/v1/announcements/:id/reactions/:name
The ID of the Announcement in the database.
Unicode emoji, or the shortcode of a custom emoji.
POST /api/v1/accounts/:id/block
The account ID.
Relationship
POST /api/v1/statuses/:id/bookmark
The target status id.
Status.
Cancel all requests in this instance.
void
DELETE /api/v1/scheduled_statuses/:id
Target scheduled status ID.
Call /api/v1/apps
Create an application.
your application's name
Form Data
React to a post with a unicode emoji.
Status.
POST /api/v1/featured_tags
FeaturedTag.
POST /api/v1/filters
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optionaloptions: { expires_in?: string; irreversible?: boolean; whole_word?: boolean }Optionalexpires_in?: stringISO 8601 Datetime for when the filter expires.
Optionalirreversible?: booleanShould the server irreversibly drop matching entities from home and notifications?
Optionalwhole_word?: booleanConsider word boundaries?
Filter
DELETE /api/v1/lists/:id/accounts
DELETE /api/v1/conversations/:id
Target conversation ID.
Remove a reaction to a post with a unicode emoji.
Status.
DELETE /api/v1/filters/:id
The filter ID.
Removed filter.
DELETE /api/v1/push/subscription
DELETE /api/v1/statuses/:id
The target status id.
Status
POST /api/v1/announcements/:id/dismiss
The ID of the Announcement in the database.
POST /api/v1/notifications/clear
PUT /api/v1/statuses/:id * *
The target status id. *
Status
POST /api/v1/statuses/:id/favourite
The target status id.
Status.
POST /oauth/token
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
must be the same uri as the time when you register your OAuth application
POST /api/v1/accounts/:id/follow
The account ID.
Optionaloptions: { reblog?: boolean }Relationship
POST /api/v1/tags/:id/follow
Target hashtag id.
Tag
Generate authorization url using OAuth2.
your OAuth app's client ID
your OAuth app's client Secret
as property, redirect_uri and scope are available, and must be the same as when you register your app
GET /api/v1/accounts/:id
The account ID.
An account.
Favourites timeline of any user.
Optional_options: { limit?: number; max_id?: string; since_id?: string }Array of statuses.
GET /api/v1/accounts/:id/followers
The account ID.
Optionaloptions: {Optionalget_all?: booleanOptionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalsince_id?: stringReturn results newer than ID.
Optionalsleep_ms?: numberThe array of accounts.
GET /api/v1/accounts/:id/following
The account ID.
Optionaloptions: {Optionalget_all?: booleanOptionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalsince_id?: stringReturn results newer than ID.
Optionalsleep_ms?: numberThe array of accounts.
GET /api/v1/accounts/:id/lists
The array of lists.
GET /api/v1/lists/:id/accounts
Optional_options: { limit?: number; max_id?: string; since_id?: string }Array of accounts.
GET /api/v1/accounts/:id/statuses
The account ID.
Optionaloptions: {Optionalexclude_reblogs?: booleanReturn statuses which exclude reblogs.
Optionalexclude_replies?: booleanReturn statuses which exclude replies.
Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results newer than ID.
Show only statuses with media attached? Defaults to false.
Optionalpinned?: booleanReturn statuses which include pinned statuses.
Optionalsince_id?: stringReturn results newer than ID but starting with most recent.
Account's statuses.
GET /api/v1/blocks
Optionaloptions: { limit?: number; max_id?: string; min_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Array of accounts.
GET /api/v1/bookmarks
Optionaloptions: { limit?: number; max_id?: string; min_id?: string; since_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalsince_id?: stringReturn results newer than ID.
Array of statuses.
GET /api/v1/conversations
Optionaloptions: { limit?: number; max_id?: string; min_id?: string; since_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalsince_id?: stringReturn results newer than ID.
Array of statuses.
GET /api/v1/domain_blocks
Optionaloptions: { limit?: number; max_id?: string; min_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Array of domain name.
Get an object of emoji to account mappings with accounts that reacted to the post for a specific emoji.
Reaction.
Get an object of emoji to account mappings with accounts that reacted to the post.
Array of reaction.
GET /api/v1/endorsements
Optionaloptions: { limit?: number; max_id?: string; since_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalsince_id?: stringReturn results newer than ID.
Array of accounts.
GET /api/v1/favourites
Optionaloptions: { limit?: number; max_id?: string; min_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Array of statuses.
GET /api/v1/follow_requests
Optionallimit: numberMaximum number of results.
Array of account.
GET /api/v1/timelines/home
Optionaloptions: {Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionallocal?: booleanShow only local statuses? Defaults to false.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalsince_id?: stringReturn results newer than ID.
Array of statuses.
GET /api/v1/accounts/:id/identity_proofs
Array of IdentityProof
GET /api/v1/instance
GET /api/v1/instance/activity
GET /api/v1/directory
Optional_options: { limit?: number; local?: boolean; offset?: number; order?: "active" | "new" }Array of accounts.
GET /api/v1/instance/peers
GET /api/v1/trends
Optionallimit: null | numberMaximum number of results to return. Defaults to 10.
GET /api/v1/timelines/list/:list_id
Optional_options: { limit?: number; max_id?: string; min_id?: string; since_id?: string }Array of statuses.
GET /api/v1/timelines/public
Optionaloptions: {Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalonly_media?: booleanShow only statuses with media attached? Defaults to false.
Optionalsince_id?: stringReturn results newer than ID.
Array of statuses.
GET /api/v1/markers
Marker or empty object.
GET /api/v1/media/:id
Target media ID.
Attachment
GET /api/v1/mutes
Optionaloptions: { limit?: number; max_id?: string; min_id?: string }Optionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Array of accounts.
GET /api/v1/notifications/:id
Notification.
GET /api/v1/notifications
Optionaloptions: {Optionalaccount_id?: stringReturn only notifications received from this account.
Optionalexclude_types?: string[]Array of types to exclude.
Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalsince_id?: stringReturn results newer than ID.
Array of notifications.
GET /api/v1/timelines/public
Optionaloptions: {Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalonly_media?: booleanShow only statuses with media attached? Defaults to false.
Optionalsince_id?: stringReturn results newer than ID.
Array of statuses.
GET /api/v1/accounts/relationships
The account ID.
Relationship
GET /api/v1/accounts/relationships
Array of account IDs.
Array of Relationship.
GET /api/v1/scheduled_statuses/:id
Target status ID.
ScheduledStatus.
GET /api/v1/scheduled_statuses
Optionaloptions: {Optionallimit?: null | numberMax number of results to return. Defaults to 20.
Optionalmax_id?: null | stringReturn results older than ID.
Optionalmin_id?: null | stringReturn results immediately newer than ID.
Optionalsince_id?: null | stringReturn results newer than ID.
Array of scheduled statuses.
GET /api/v1/statuses/:id
The target status id.
Status
GET /api/v1/statuses/:id/context
Get parent and child statuses.
The target status id.
Optionaloptions: { limit?: number; max_id?: string; since_id?: string }Context
GET /api/v1/statuses/:id/favourited_by
The target status id.
Array of accounts.
GET /api/v1/statuses/:id/reblogged_by
The target status id.
Array of accounts.
GET /api/v1/statuses/:id/source
Obtain the source properties for a status so that it can be edited.
StatusSource
GET /api/v1/suggestions
Optional_limit: numberArray of accounts.
GET /api/v1/timelines/tag/:hashtag
Content of a #hashtag, not including # symbol.
Optionaloptions: {Optionallimit?: numberMax number of results to return. Defaults to 20.
Optionallocal?: booleanShow only local statuses? Defaults to false.
Optionalmax_id?: stringReturn results older than ID.
Optionalmin_id?: stringReturn results immediately newer than ID.
Optionalonly_media?: booleanShow only statuses with media attached? Defaults to false.
Optionalsince_id?: stringReturn results newer than ID.
Array of statuses.
POST /api/v1/accounts/:id/mute
The account ID.
Mute notifications in addition to statuses.
Relationship
POST /api/v1/accounts/:id/pin
Relationship
POST /api/v1/statuses
Text content of status.
Optionalin_reply_to_id?: stringID of the status being replied to, if status is a reply.
Optionallanguage?: stringISO 639 language code for this status.
Optionalmedia_ids?: string[]Array of Attachment ids.
Optionalpoll?: {Poll object.
Optionalquote_id?: stringID of the status being quoted to, if status is a quote.
Optionalscheduled_at?: stringISO 8601 Datetime at which to schedule a status.
Optionalsensitive?: booleanMark status and attached media as sensitive?
Optionalspoiler_text?: stringText to be shown as a warning or subject before the actual content.
Optionalvisibility?: StatusVisibilityVisibility of the posted status.
Status. When options.scheduled_at is present, ScheduledStatus is returned instead.
POST /api/v1/conversations/:id/read
Target conversation ID.
Conversation.
Mark as read all unread notifications.
POST /api/v1/statuses/:id/reblog
The target status id.
Status.
POST /oauth/token
Revoke an OAuth token.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
POST /api/v1/accounts
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
Optionalreason: null | stringText that will be reviewed by moderators if registrations require manual approval.
An account token.
Call /api/v1/apps
Create an application.
your application's name
Form Data
POST /api/v1/follow_requests/:id/reject
Target account ID.
Relationship.
DELETE /api/v1/announcements/:id/reactions/:name
The ID of the Announcement in the database.
Unicode emoji, or the shortcode of a custom emoji.
POST /api/v1/reports
Target account ID.
Optionaloptions: {Optionalcategory?: 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.
Optionalforward?: booleanIf the account is remote, should the report be forwarded to the remote admin?
Optionalrule_ids?: number[]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.
Optionalstatus_ids?: string[]Array of Statuses ids to attach to the report.
Report
POST /oauth/revoke
Revoke an OAuth token.
will be generated by #createApp or #registerApp
will be generated by #createApp or #registerApp
will be get #fetchAccessToken
POST /api/v1/markers
Optionaloptions: { home?: { last_read_id: string }; notifications?: { last_read_id: string } }Optionalhome?: { last_read_id: string }Marker position of the last read status ID in home timeline.
Optionalnotifications?: { last_read_id: string }Marker position of the last read notification ID in notifications.
Marker.
PUT /api/v1/scheduled_statuses/:id
Target scheduled status ID.
Optionalscheduled_at: null | stringISO 8601 Datetime at which the status will be published.
ScheduledStatus.
GET /api/v2/search
The search query.
Optionaloptions: {Optionalaccount_id?: stringIf provided, statuses returned will be authored only by this account.
Optionalexclude_unreviewed?: booleanFilter out unreviewed tags? Defaults to false.
Optionalfollowing?: booleanOnly include accounts that the user is following. Defaults to false.
Optionallimit?: numberMaximum number of results to load, per type. Defaults to 20. Max 40.
Optionalmax_id?: stringReturn results older than this id.
Optionalmin_id?: stringReturn results immediately newer than this id.
Optionaloffset?: numberOptionalresolve?: booleanAttempt WebFinger lookup. Defaults to false.
Optionaltype?: "accounts" | "hashtags" | "statuses"Results.
GET /api/v1/accounts/search
Search query.
Optionaloptions: {Optionalfollowing?: booleanOptionallimit?: numberMax number of results to return. Defaults to 40.
Optionalmax_id?: stringReturn results older than ID.
Optionalresolve?: booleanOptionalsince_id?: stringReturn results newer than ID.
The array of accounts.
POST /api/v1/accounts/:id/note
Optional_note: stringRelationship
POST /api/v1/accounts/:id/follow
Target account ID.
Relationship.
POST /api/v1/push/subscription
Optional_data: PushSubscription.
POST /api/v1/accounts/:id/unblock
The account ID.
RElationship
DELETE /api/v1/domain_blocks
Domain to unblock
POST /api/v1/statuses/:id/unbookmark
The target status id.
Status.
POST /api/v1/statuses/:id/unfavourite
The target status id.
Status.
POST /api/v1/accounts/:id/unfollow
The account ID.
Relationship
POST /api/v1/tags/:id/unfollow
Target hashtag id.
Tag
POST /api/v1/accounts/:id/unmute
The account ID.
Relationship
POST /api/v1/accounts/:id/unpin
Relationship
POST /api/v1/statuses/:id/unreblog
The target status id.
Status.
POST /api/v1/accounts/:id/follow
Target account ID.
Relationship.
PATCH /api/v1/accounts/update_credentials
Optionaloptions: {An account.
PUT /api/v1/filters/:id
The filter ID.
Text to be filtered.
Array of enumerable strings home, notifications, public, thread, account. At least one context must be specified.
Optionaloptions: { expires_in?: string; irreversible?: boolean; whole_word?: boolean }Optionalexpires_in?: stringISO 8601 Datetime for when the filter expires.
Optionalirreversible?: booleanShould the server irreversibly drop matching entities from home and notifications?
Optionalwhole_word?: booleanConsider word boundaries?
Filter
PUT /api/v1/media/:id
Target media ID.
Optionaloptions: { description?: string; file?: any; focus?: string }Optionaldescription?: stringA plain-text description of the media.
Optionalfile?: anyThe file to be attached, using multipart form data.
Optionalfocus?: stringTwo floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.
Attachment
PUT /api/v1/push/subscription
Optional_data: PushSubscription.
POST /api/v2/media
The file to be attached, using multipart form data.
Optionaloptions: { description?: string; focus?: string }Optionaldescription?: stringA plain-text description of the media.
Optionalfocus?: stringTwo floating points (x,y), comma-delimited, ranging from -1.0 to 1.0.
Attachment
POST /api/v1/polls/:id/votes
Target poll ID.
Array of own votes containing index for each option (starting from 0).
Poll
hostname or base URL