viaSocket Help
DocStarBuilt with DocStar

Custom API

The Custom API Integration tool in viaSocket lets you connect your workflows with any external app or service — even those not natively integrated.
It’s your key to full flexibility and advanced automation.

Where to Find It

  1. Open your workflow editor.

  2. Click + Add Step → Tools → Custom API.

  3. You’ll see the configuration panel where you can define your API call.

How to Use the Custom API Tool

  1. Select a Method
    Choose the type of request you want to make:

    • GET → Retrieve data

    • POST → Send data

    • PUT → Update data

    • DELETE → Remove data

    • PATCH → Partially update

  2. Add the Endpoint URL
    Enter the API URL (e.g., https://api.typeform.com/forms/{form_id}/responses).
    → Use chips to dynamically pass data (like form IDs or user info) from earlier steps.

  3. Set Headers and Parameters
    Add key-value pairs such as:

    Authorization: Bearer YOUR_ACCESS_TOKEN
    Content-Type: application/json
    
  4. Test the Request
    Click Test to instantly preview the response inside viaSocket.
    Adjust parameters if needed.

  5. Save It
    Once it works as expected, click Update to add the Custom API step to your workflow.

💡 Example: Typeform API (GET Responses)

Setup in viaSocket:

  • Method: GET

  • Endpoint: https://api.typeform.com/forms/{form_id}/responses

  • Headers:

    Authorization: Bearer YOUR_ACCESS_TOKEN
    Content-Type: application/json
    

🧠 Use chips to replace {form_id} dynamically from previous steps.

Optional Reference (cURL):

curl -X GET "https://api.typeform.com/forms/{form_id}/responses" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json"

Watch the Demo

See the full setup in this short video guide:

Combine with Other Tools

Use your Custom API step with:

  • Function → to process or transform the API data

  • IF Conditional → to apply logic based on the response

This makes your automation dynamic, powerful, and completely customizable.

Why Use It

  • Connect any external system

  • Add custom logic to your workflows

  • Use real-time data from any API

  • Go beyond pre-built integrations

Summary

viaSocket’s Custom API tool gives you complete control over how your workflows connect with other systems.
You can fetch, send, or update data — all inside viaSocket — without writing any backend code.