Skip to main content

Mastodon

With Mastodon modules in Make, you can:

  • create, update, retrieve, and delete statuses

  • create, update, and retrieve polls

  • list, retrieve, and delete notifications

  • create, retrieve, and search accounts; retrieve an account by name or URL

  • upload a media

To get started with Mastodon, create an account at mastodon.org.

Connect Mastodon to Make

To connect Mastodon app, you need to obtain the Server Name from your Mastodon account and insert them into your Make scenario.

  1. Log in to your Make account, insert a Mastodon module in your scenario, and click the Add button next to the Connection field.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. In the Server Name field, enter the name of the server. For example, For example, in this URL https://uiuxdev.social/web/@devmake, uiuxdev.social is the server's name.

  4. Click Save.

  5. Click Authorize to allow Make access to your account.

    Mastodon_1.png

You have successfully established the connection. You can now edit your scenario and add more Mastodon modules. If your connection needs reauthorization at any point, follow the connection renewal steps here.

Connect Mastodon with Make Using OAuth Credentials

To connect Mastodon with the Make with the OAuth credentials:

  1. Log in to your Mastodon account.

  2. Click Preferences.

    Mastodon_6.png
  3. Click Development > New application.

    Mastodon_7.png
  4. Enter the application name, application website, redirect URI, and select the scopes you want to allow. Click Submit.

    Mastodon_8.png
  5. Copy the Client key and Client secret to a safe place.

    Mastodon_9.png
  6. Log in to your Make account, and add a module from the Mastodon app into a Make scenario.

    Mastodon_5.png
  7. Click Add next to the Connection field and then click Show Advanced Settings.

  8. Optional: In the Client ID and Client Secret fields, enter the details you have copied in step 5.

  9. In the Server Name field, enter the name of the server. For example, For example, in this URL https://uiuxdev.social/web/@devmake, uiuxdev.social is the server's name.

    Select the additional scopes required, and click Save.

You have successfully created the connection.

Statuses

You can create, update, retrieve, and delete statuses using the following modules.

Creates and public a new status.

Connection

Establish a connection to your Mastodon account.

Status

Enter the text content of the status.

Note

If Media IDs are provided, this becomes optional.

Media IDs

Enter the Media IDs you want to attach as media.

Note

If provided, the status becomes optional, and you cannot use the poll.

In Reply to ID

Enter the status ID you are replying to if the status is a reply.

Sensitive

Select whether to mark the status and attached media as sensitive. Defaults to false.

Spoiler Text

Enter the text to be shown as a warning or subject before the actual content.

Visibility

Select the visibility:

  • Public

  • Unlisted

  • Private

  • Direct

Language

Select the language code in ISO 639 for this status.

Scheduled at

Enter the scheduled time of the status in ISO 8601. See the list of supported date and time formats.

Updates an existing status. Only for current statuses (not schedule).

Connection

Establish a connection to your Mastodon account.

Status ID

Enter the Status ID whose details you want to update.

Status

Enter an updated status text content.

Media IDs

Enter the Media IDs you want to attach as media.

Sensitive

Select whether to mark the status and attached media as sensitive. Defaults to false.

Spoiler Text

Enter the text to be shown as a warning or subject before the actual content.

Retrieves an existing status. Only for current statuses (not schedule).

Connection

Establish a connection to your Mastodon account.

Status ID

Enter the Status ID whose details you want to retrieve.

Deletes an existing status. Only for current statuses (not schedule).

Connection

Establish a connection to your Mastodon account.

Status ID

Enter the Status ID you want to delete.

Polls

You can create, update, and retrieve polls using the following modules.

Creates a new poll in the specific status.

Connection

Establish a connection to your Mastodon account.

Status

Enter the status content.

Poll

Enter the poll details:

Poll Options

Enter the possible answers to the poll.

Note

If provided, you cannot use Media IDs and must provide the Poll Expires in.

Poll Expires in

Enter the duration in seconds for which the poll should be open.

Note

If provided, you cannot use Media IDs and must provide the Poll Options.

Poll Multiple

Select whether to allow multiple choices.

Poll Hide Totals

Select whether to hide vote counts until the poll ends.

In Reply to ID

Enter the status ID you are replying to if the status is a reply.

Sensitive

Select whether to mark the status and attached media as sensitive. Defaults to false.

Spoiler Text

Enter the text to be shown as a warning or subject before the actual content.

Visibility

Select the visibility:

  • Public

  • Unlisted

  • Private

  • Direct

Language

Select the language code in ISO 639 for this status.

Scheduled at

Enter the scheduled time of the status in ISO 8601. See the list of supported date and time formats.

Update an existing poll. Only for current polls (not schedule).

Connection

Establish a connection to your Mastodon account.

Status ID

Enter the Status ID whose details you want to update.

Poll Expires in

Enter the duration in seconds for which the poll should be open.

Poll Options

Enter the possible answers to the poll.

Poll Multiples

Select whether to allow multiple choices.

Poll Hide Totals

Select whether to hide vote counts until the poll ends.

Status

Enter the status content.

In Reply to ID

Enter the status ID you are replying to if the status is a reply.

Sensitive

Select whether to mark the status and attached media as sensitive. Defaults to false.

Spoiler Text

Enter the text to be shown as a warning or subject before the actual content.

Visibility

Select the visibility:

  • Public

  • Unlisted

  • Private

  • Direct

Language

Select the language code in ISO 639 for this status.

Scheduled at

Enter the scheduled time of the status in ISO 8601. See the list of supported date and time formats.

Retrieves an existing poll (status).

Connection

Establish a connection to your Mastodon account.

Poll ID

Enter the Poll ID whose details you want to retrieve.

Notifications

You can list, retrieve, and delete notifications using the following modules.

Retrieves an existing notification.

Connection

Establish a connection to your Mastodon account.

Notification ID

Select or map the Notification ID whose details you want to retrieve.

Lists all notifications

Connection

Establish a connection to your Mastodon account.

Limit

Set the maximum number of notifications Make will return during one execution cycle. The default value is 10.

Deletes an existing notification.

Connection

Establish a connection to your Mastodon account.

Notification ID

Select or map the Notification ID you want to delete.

Accounts

You can create, retrieve, and search accounts; retrieve an account by name or URL using the following modules.

Creates a new account.

Connection

Establish a connection to your Mastodon account.

User Name

Enter the desired username for the account.

Email

Enter the email address of the account being created.

Password

Enter a password for the account being created to be used for login.

Agreement

Select whether the user agrees to the local rules, terms, and policies.

Locale

Select the language in which the confirmation email should be sent.

Reason

Enter the reason to be reviewed by moderators if the registration requires manual approval.

Retrieves an account by ID.

Connection

Establish a connection to your Mastodon account.

Account ID

Enter the Account ID whose details you want to retrieve.

Retrieves an account by name or URL.

Connection

Establish a connection to your Mastodon account.

User Name or Webfinger Address

Enter the User Name or Webfinger Address whose details you want to retrieve.

Searches for accounts or lists them all.

Connection

Establish a connection to your Mastodon account.

Search Query

Enter a query to search for the accounts.

Resolve

Select whether to attempt WebFinger lookup when Search Query is an exact address.

Following

Select whether to search the users you are following.

Limit

Set the maximum number of accounts Make will return during one execution cycle. The default value is 10.

Attachments

You can upload media using the following module.

Uploads a media as an attachment.

Connection

Establish a connection to your Mastodon account.

File

Enter the file details:

File Name

Enter a name for the file including the file extension. For example, invoice.png.

File Data

Enter the file data.

Other

You can call APIs using the following module.

Performs an arbitrary authorized API call.

Note

For the list of available endpoints, refer to the Mastodon API Documentation.

Connection

Establish a connection to your Mastodon account.

URL

Enter a path relative to https://uiuxdev.social/api. For example: /v1/accounts/verify_credentials.

Method

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.