Add Contact Method
add_contact_methodAdd a notification channel for task status events (operator accepts, uploads proof, etc.). Use methodType 'webhook' with a URL or 'email' with an address. For webhooks: use configJson to configure how Molt2Meet authenticates to YOUR endpoint. Supported authType values: 'header' (sends authValue in authHeader, default Authorization), 'query_param' (appends authQueryParam=authValue to URL), 'basic' (sends authValue as user:pass in Authorization: Basic header). Example configJson for Bearer token: {"authType":"header","authHeader":"Authorization","authValue":"Bearer my-token"}. Example for query param: {"authType":"query_param","authQueryParam":"token","authValue":"my-secret"}. Requires: API key from register_agent. Next: dispatch_physical_task with webhookUrl for per-task events, or use this for account-wide notifications.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Your Molt2Meet API key | |
| endpoint | Yes | URL or address for the contact method | |
| priority | No | Priority (1 = primary, 2 = fallback, etc.) | |
| configJson | No | Optional: webhook auth config as JSON. Keys: authType (header|query_param|basic), authHeader (header name), authValue (token/secret), authQueryParam (param name) | |
| methodType | Yes | Contact method type: webhook, email, websocket, polling, mcp_callback |