Custom Modal passing queries

Hi Pipedrive Community,

When creating an iframe within the Contacts or Deals sections, we currently pass parameters such as userId, companyId, token, and id. Can we pass additional information, like the phone number, as query parameters in the iframe? Reference: Pipedrive Documentation

Thank you!

Hi @kozhamseitova91,

When user clicks on phone number to initiate the call, your iframe will receive an event with the following context:

"context": {
    "relatedIds": { "dealId":X, "personId":Y },
    "callToNumber": "0000000",
    "invoker": "user"
}

Please check the App Extensions SDK readme for example: GitHub - pipedrive/app-extensions-sdk: SDK for Pipedrive app extensions, but let me know if you have another questions.

Best regards,
Pavlo

This topic was automatically closed after 60 days. New replies are no longer allowed.