Contact Us
Use the Contact Us screen to access available support channels.
Available contact methods derive from the contact configuration response.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Header | Displays modal title and close action |
| 2 | Support message | Displays support availability information |
| 3 | WhatsApp action | Opens a WhatsApp support conversation |
| 4 | Phone action | Opens the device dialer |
| 5 | Email action | Opens the default mail client |
| 6 | SMS action | Opens the default messaging application |
| 7 | Provider contact section | Displays provider contact details |
| 8 | Provider phone number | Displays provider phone contact |
| 9 | Provider WhatsApp number | Displays provider WhatsApp contact |
| 10 | Provider email address | Displays provider email contact |
| 11 | Close action | Dismisses the modal |
Workflow
- Open Chat with support.
- Select Contact options.
- Render available contact methods.
- Select a communication channel.
- Open the external application or device action.
- Return to the previous screen when completed.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Contact method unavailable | Hide contact action | channel = unavailable |
| External application unavailable | Block launch | error = application_unavailable |
| Phone number invalid | Block dial action | error = invalid_phone |
| Email address invalid | Block email action | error = invalid_email |
| WhatsApp unavailable | Block WhatsApp action | error = whatsapp_unavailable |
| Modal opened | Display contact methods | state = opened |
| Modal closed | Restore previous state | state = dismissed |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Contact options selected | Open contact modal | PUT /api/v3/messages/contact-us |
| SMS selected | Open messaging application | channel = sms |
| WhatsApp selected | Open WhatsApp conversation | channel = whatsapp |
| Email selected | Open mail client | channel = email |
| Phone selected | Open dialer | channel = phone |
| Close selected | Dismiss modal | state = dismissed |
Endpoint Resources
Contact Us
PUT
v3/messages/contact-us
Returns the Contact Us screen with alternative ways to reach support.