Get started with Yasumu
This quickstart guide will take you from installing Yasumu to making your first API request in under 5 minutes.Download and install Yasumu
Visit yasumu.dev/download and download the installer for your operating system:
- Windows:
.msior.exeinstaller - macOS:
.dmginstaller - Linux:
.AppImage,.deb, or.rpmpackage
Create your first workspace
When you launch Yasumu for the first time, you’ll be prompted to create or open a workspace.
- Click Create New Workspace
- Choose a directory for your project (or create a new folder)
- Give your workspace a name (e.g., “My API Project”)
- Click Create
yasumu directory in your project containing:The workspace is just a folder structure with
.ysl files. You can commit it to Git like any other code.Create your first REST request
- In the left sidebar, click the + button next to “Requests”
- Select REST Request
- Enter a name for your request (e.g., “Get users”)
- Click Create
- Method dropdown: GET, POST, PUT, PATCH, DELETE, etc.
- URL input: Enter your API endpoint
- Headers tab: Add request headers
- Body tab: Add request body (for POST/PUT/PATCH)
- Scripts tab: Add pre/post request scripts
- Tests tab: Add automated tests
Make your first API call
Let’s make a simple API call to JSONPlaceholder (a free fake REST API):
- Set the method to GET
- Enter the URL:
https://jsonplaceholder.typicode.com/users - Click Send
The request is automatically saved to
yasumu/rest/get-users.ysl in your workspace directory.Create an environment
Let’s create an environment to manage API base URLs and variables:
- Click Environments in the left sidebar
- Click Create Environment
- Name it “Development”
- Add a variable:
- Name:
BASE_URL - Value:
https://jsonplaceholder.typicode.com
- Name:
- Click Save
{{BASE_URL}}:Organize with groups
As you add more requests, organize them into groups:
- Right-click in the sidebar
- Select New Group
- Name it (e.g., “Users API”)
- Drag and drop requests into the group
yasumu/rest/ directory for better organization.What’s next?
Core concepts
Learn about workspaces, environments, and the schema language
REST API testing
Deep dive into REST API testing features
Email testing
Set up the catch-all SMTP server for email testing
Scripting
Write pre/post request scripts in TypeScript
Common tasks
How do I add request headers?
How do I add request headers?
- Open your request
- Click the Headers tab
- Click Add Header
- Enter the header name and value
- Click Save
How do I send a POST request with JSON?
How do I send a POST request with JSON?
- Set the method to POST
- Go to the Body tab
- Select JSON from the content type dropdown
- Enter your JSON payload:
- Click Send
How do I switch between environments?
How do I switch between environments?
- Click the environment dropdown in the top toolbar
- Select the environment you want to activate
- All requests will now use variables from that environment
How do I add authentication?
How do I add authentication?
Use environment variables for auth tokens:
- Create an environment variable
API_KEYorAUTH_TOKEN - In your request headers, add:
- Or use a pre-request script to generate dynamic tokens:
How do I test email workflows?
How do I test email workflows?
- Go to Email in the sidebar
- Click Start SMTP Server
- Note the SMTP port (usually 1025)
- Configure your app to send emails to
localhost:1025 - Trigger your email workflow
- View captured emails in Yasumu’s email inbox
Get help
Documentation
Browse the full documentation
GitHub Issues
Report bugs or request features