Maytapi icon

Maytapi

Integrate with Maytapi WhatsApp Unofficial API

Call → Create Call Link

AI-generated

Overview

This node integrates with the Maytapi WhatsApp Unofficial API to manage WhatsApp calls, specifically allowing users to create scheduled call links for voice or video calls. The "Create Call Link" operation generates a unique URL for a future call at a specified timestamp, which can be shared with participants to join the call.

Practical scenarios include scheduling customer support calls, team meetings, or any event requiring a WhatsApp call link that participants can access at a designated time.

Properties

Name Meaning
Phone ID Source Select how to provide the Phone ID: either use the Phone ID from credentials or enter a custom Phone ID.
Phone ID (Required if Phone ID Source is "Custom") Enter your WhatsApp instance Phone ID.
Call Type Type of the call to create: "Voice" or "Video".
Timestamp Future Unix timestamp (in seconds) when the call is scheduled. Must be in the future. Default is 1 hour from now.

Output

The node outputs a JSON object containing the response from the Maytapi API after creating the call link. This typically includes details such as the generated call link URL and metadata about the scheduled call.

No binary data output is produced by this operation.

Example output structure (simplified):

{
  "callLink": "https://maytapi.com/call/abc123",
  "callType": "video",
  "timestamp": 1757052586,
  "success": true
}

Dependencies

  • Requires an API key credential for authenticating with the Maytapi WhatsApp API.
  • The Phone ID must be provided either via credentials or manually as a custom value.
  • The node makes HTTP POST requests to the Maytapi API endpoint /call/createCallLink.

Troubleshooting

  • Error: "Phone ID is required."
    Ensure that the Phone ID is correctly set either in the credentials or entered manually if "Custom" is selected.

  • Error: "Timestamp must be in the future."
    The provided timestamp must be greater than the current Unix timestamp. Adjust the timestamp accordingly.

  • API request failures may occur due to invalid API keys, network issues, or incorrect Phone ID. Verify credentials and network connectivity.

  • If the call type is not "voice" or "video", the node will throw an unsupported call type error.

Links and References

Discussion