Appearance
Build a request
A request holds everything Collapy needs to make one HTTP call. You build it in a request tab, save it to your workspace, and send it whenever you need it.
Create a request
You can create a new request from any of these places:
| Where | What to do |
|---|---|
| EXPLORER panel header | Click + (tooltip New request). |
| A collection in the EXPLORER | Hover over it and click + (New request in collection), or right-click it → New request. |
| Tab bar | Click + (tooltip New tab) → Request. |
| A collection's tab | New → Request in collection. |
| Command palette | Press Ctrl+K, type new and choose New request. |
| Keyboard | Ctrl+N (Cmd+N on macOS). In the web app: Alt+N (Option+N on macOS). |
| Dashboard and Welcome to Collapy screen | New request / New Request. |
Collapy creates the request straight away — GET, an empty URL, named New request — and opens it in a tab with the name selected, so you can type a new one right away. A Created "New request" message with Undo appears for 8 seconds. Click Undo to delete the request again.
Then choose the method, enter the URL and fill in any parameters, headers, body or auth you need, and save. Where the request goes depends on where you start; see Where new items go. You can move it at any time.
If you close the tab of a new request without changing anything, Collapy deletes it again and shows Removed empty "New request" with Undo. This only applies to requests you created in this session; nothing your teammates created is removed.
A request with an empty name is shown as its method and path, for example GET /users/42.
Method
Pick the method from the drop-down at the left of the URL bar. Collapy supports:
GET · POST · PUT · PATCH · DELETE
HEAD and OPTIONS aren't supported.
URL bar
Type the full URL, including http:// or https://. Collapy checks the URL as you type and shows a message under the bar if something is wrong:
| Message | What to fix |
|---|---|
URL must start with http:// or https:// | Add the scheme, for example https://api.example.com/users. |
URL must have a host | Add a host name after the scheme. |
Invalid URL format | The URL can't be parsed — check for typos. |
A URL that starts with a variable, such as {{baseUrl}}/users, isn't checked until you send it.
The URL bar highlights two kinds of placeholders:
{{name}}— an environment variable. Type{{to get suggestions from the active environment. See Variables.:name— a path variable, filled in from the Params tab. See Path variables.
To check what will actually be sent, press and hold the eye button in the toolbar, or hold Ctrl+E (Cmd+E on macOS). Variables are shown with their current values while you hold it; secret values stay hidden. The button only works when an environment is selected.
Toolbar
The header at the top of a request has:
| Item | What it does |
|---|---|
| Location | Above the name: the workspace and the collections the request sits in, for example Personal / Users /. Click it to move the request (Move to…). |
| Request name | Click it, or press F2, to rename the request. Press Enter to confirm, then save. |
| Private badge | Shown when the request is private. |
| Save | Saves your changes. Disabled when there's nothing to save; a dot marks unsaved changes. |
| Eye button | Hold to preview resolved variable values. |
| Pin button | Pin / Unpin the request so it appears in the PINNED panel. |
| ⋮ menu | The request's actions — the same menu as in the EXPLORER: Reveal in explorer, Send, Add preset, Rename, Duplicate, Move to…, Copy as cURL, Copy link, Pin / Unpin and Delete. See Move, duplicate and delete. |
Send sits at the right of the URL bar. Between the method and the URL, the environment selector shows the active environment's name with a dot in the colour of its type (red for Production), so you can see at a glance where the request is going. See The URL bar.
Request tabs
Below the URL bar, a request has these tabs:
| Tab | What it's for |
|---|---|
| Params | Query parameters, and path variables when the URL has any. |
| Auth | How the request authenticates. See Authentication. |
| Headers | HTTP headers. |
| Body | The request body. See Request body. |
| Executions | Recent sends of this request. See Execution history. |
| Change Log | Who changed the request, when and what changed. Available on the Ultra plan. |
| Info | Description, visibility and details. |
The Params and Headers tabs show a count of filled-in rows.
Query parameters
The Params tab has a QUERY PARAMETERS table with Key, Value and Description columns.
- The URL bar and the table stay in sync. Type
?page=2&limit=20in the URL and two rows appear; add a row and it's added to the URL. - Untick the checkbox on a row to keep it without sending it. Disabled rows are removed from the URL but stay in the table.
- If two rows use the same key, the key is marked Duplicate key.
- Keys and values can contain
{{variables}}. - Press
Enterin the last column to move to the next row, or to add a new row at the end of the table.
Headers
The Headers tab has an HTTP HEADERS table with Header Name, Value and Description columns. It works like the query parameters table: untick a row to stop sending it, and duplicate names are marked Duplicate key.
To add a well-known header, click Add common header (the button next to the table title) and choose one, for example Content-Type, Accept or Authorization. Headers you've already added aren't offered again.
You usually don't need to add Content-Type yourself — Collapy sets it from the body type. See Request body.
Info tab
The Info tab has three sections:
| Section | What it shows |
|---|---|
| Description | Free-text notes about the request. |
| Settings | Who can see the request. The switch reads Shared with workspace (everyone in the workspace can see and edit it) or, when it's on, Only you (private). |
| Details | Location (with Move…), the request's ID, Collection ID, Created and Updated times. Requests created by a synced workspace also show Changed in API version and Import identity. |
Save your changes
Edits aren't saved to the workspace until you save them.
- Click Save or press
Ctrl+S(Cmd+Son macOS). - A tab with unsaved changes shows a dot next to its title, and the footer shows how many tabs are unsaved.
- Unsaved edits are kept on your device, per workspace. If you reload the page or come back later, your draft is still there. Other members only see your changes after you save.
- Send always uses what's currently in the editor, including unsaved changes.
If you close a tab that has unsaved changes, Collapy asks what to do:
- Save — save, then close.
- Discard — close and throw the changes away.
- Cancel — keep the tab open.
Duplicate a request
Choose ⋮ → Duplicate, or press Ctrl+D (Cmd+D on macOS) while the request tab is active and the cursor isn't in a text field.
The copy is named <title> (Copy), is placed in the same collection, keeps the Private setting and opens in a new tab. It's made from the last saved version — unsaved edits aren't copied. A Duplicated message with Undo appears; Undo deletes the copy.
Delete a request
- Choose ⋮ → Delete.
- Confirm with Delete. The dialog reminds you that you can undo for a few seconds afterwards. If the request has presets, they're deleted with it and the dialog says how many.
The tab closes and the request disappears from the Explorer. A Request deleted message with Undo appears — click Undo within 8 seconds to bring the request back. After that the deletion is final.
FAQ
Can I send a request before I save it?
Yes. Send always uses what's in the editor, including changes you haven't saved.
Where did my new request go when I closed its tab?
If you didn't change anything, Collapy removed the empty request. Click Undo in the message to get it back.
Why did a query parameter disappear from the table when I edited the URL?
The table follows the URL. If you remove an enabled parameter from the URL, its row is removed too. Disabled rows are kept.
