website logo
⌘K
Introduction
Automation Editor
API Editor
BUILD GUIDE
Environments
API
Design
Webhooks
Connections
Constants
WEBHOOKS SETUP
Google Calendar Webhook
Quickbooks Webhook
Square Webhook
Twitter Webhook
Xero Webhook
CORE APIs
Core API Functions
Core Multi
Core Bulk
Text
Number
List
DateTime
JSON
Web
ACCOUNT MANAGEMENT
Manage Account
Analytics
Monitor Your Tasks
Request APIs
Request Provider
Docs powered by archbee 
2min

Switch

Switches the reponse based on the input provided. e.g if you are looking for a 'convert all reponses to a standardized output

The default attribute instructs the function to return the value in default if none of the other items match. In the current example if the "input" were "twitter" the response would be "unknown source"

API Definition

Get a cake by its ID
GET
Params
Body Parameters
id
required
String
ID of the cake to get

Use Cases

Best used for when you want to standardize a response received from multiple providers/sources.



Updated 20 Dec 2022
Did this page help you?
Yes
No
UP NEXT
Trim
Docs powered by archbee 
Switch API