one_msg_sdk 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AGENTS.md +62 -16
- data/README.md +97 -29
- data/docs/AddTemplate200Response.md +18 -0
- data/docs/AddTemplateRequest.md +7 -7
- data/docs/CallingApi.md +1 -1
- data/docs/CatalogApi.md +1 -1
- data/docs/ChannelApi.md +151 -5
- data/docs/CreateFlowsRequest.md +26 -0
- data/docs/CreateGroupsGroupIdRequest.md +22 -0
- data/docs/CreateGroupsRequest.md +20 -0
- data/docs/CreateSettingsRequest.md +28 -0
- data/docs/CreateSettingsRequestWebhookUrl.md +49 -0
- data/docs/CreateUploadMedia200Response.md +18 -0
- data/docs/CreateUploadMediaRequest.md +20 -0
- data/docs/FlowsApi.md +32 -16
- data/docs/GetStatus200Response.md +26 -0
- data/docs/GetWebhook200Response.md +24 -2
- data/docs/GetWebhook200ResponseWebhookUrl.md +49 -0
- data/docs/GroupsApi.md +38 -18
- data/docs/ListSettings200Response.md +52 -0
- data/docs/ListSettings200ResponseWebhookUrl.md +49 -0
- data/docs/MessagingApi.md +140 -35
- data/docs/PatchFlowsFlowIdAssetsRequest.md +18 -0
- data/docs/PatchFlowsFlowIdMetadataRequest.md +22 -0
- data/docs/ProfileApi.md +9 -11
- data/docs/RemoveTemplateRequest.md +18 -0
- data/docs/SendButtonRequest.md +9 -1
- data/docs/SendCarouselRequest1.md +4 -2
- data/docs/SendContactInfoRequest.md +26 -0
- data/docs/SendContactRequest.md +7 -1
- data/docs/SendContactRequestContact.md +26 -0
- data/docs/SendContactRequestContactName.md +49 -0
- data/docs/SendContactRequestContactsInner.md +3 -3
- data/docs/SendContactRequestContactsInnerPhonesInner.md +1 -1
- data/docs/SendListRequest.md +5 -1
- data/docs/SendLocationRequestRequest.md +5 -1
- data/docs/SendMessageRequest.md +6 -2
- data/docs/SendMessageRequestDirectSend.md +20 -0
- data/docs/SendProductRequest.md +30 -0
- data/docs/SendReactionRequest.md +3 -1
- data/docs/SendTemplateRequest.md +9 -5
- data/docs/SendTemplateRequestLanguage.md +3 -3
- data/docs/SetWebhook200Response.md +20 -0
- data/docs/SetWebhook200ResponseWebhookUrl.md +49 -0
- data/docs/SetWebhookRequest.md +18 -0
- data/docs/SetWebhookRequestWebhookUrl.md +49 -0
- data/docs/TemplatesApi.md +29 -17
- data/docs/UpdateMe200Response.md +18 -0
- data/docs/UpdateMeRequest.md +6 -6
- data/docs/WebhookUrlStatus.md +34 -0
- data/docs/WebhooksApi.md +10 -12
- data/lib/one_msg_sdk/api/calling_api.rb +4 -4
- data/lib/one_msg_sdk/api/catalog_api.rb +4 -4
- data/lib/one_msg_sdk/api/channel_api.rb +146 -7
- data/lib/one_msg_sdk/api/flows_api.rb +58 -14
- data/lib/one_msg_sdk/api/groups_api.rb +48 -10
- data/lib/one_msg_sdk/api/messaging_api.rb +163 -38
- data/lib/one_msg_sdk/api/profile_api.rb +17 -13
- data/lib/one_msg_sdk/api/templates_api.rb +36 -13
- data/lib/one_msg_sdk/api/users_api.rb +2 -2
- data/lib/one_msg_sdk/api/webhooks_api.rb +19 -15
- data/lib/one_msg_sdk/api_client.rb +2 -2
- data/lib/one_msg_sdk/api_error.rb +2 -2
- data/lib/one_msg_sdk/api_model_base.rb +2 -2
- data/lib/one_msg_sdk/configuration.rb +2 -2
- data/lib/one_msg_sdk/models/add_template200_response.rb +150 -0
- data/lib/one_msg_sdk/models/add_template_request.rb +6 -2
- data/lib/one_msg_sdk/models/block_user_request.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings_calling.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings_calling_audio.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings_calling_call_hours.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings_calling_sip.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings_calling_sip_servers_inner.rb +2 -2
- data/lib/one_msg_sdk/models/calling_settings_calling_video.rb +2 -2
- data/lib/one_msg_sdk/models/conversational_automation.rb +2 -2
- data/lib/one_msg_sdk/models/conversational_automation_commands_inner.rb +2 -2
- data/lib/one_msg_sdk/models/create_commerce200_response.rb +2 -2
- data/lib/one_msg_sdk/models/create_commerce_request.rb +2 -2
- data/lib/one_msg_sdk/models/create_commerce_request_params.rb +2 -2
- data/lib/one_msg_sdk/models/create_flows_request.rb +238 -0
- data/lib/one_msg_sdk/models/create_groups200_response.rb +2 -2
- data/lib/one_msg_sdk/models/create_groups_group_id_request.rb +168 -0
- data/lib/one_msg_sdk/models/create_groups_request.rb +175 -0
- data/lib/one_msg_sdk/models/create_read_message200_response.rb +2 -2
- data/lib/one_msg_sdk/models/create_read_message401_response.rb +2 -2
- data/lib/one_msg_sdk/models/create_read_message_request.rb +2 -2
- data/lib/one_msg_sdk/models/create_settings_request.rb +192 -0
- data/lib/one_msg_sdk/models/create_settings_request_webhook_url.rb +105 -0
- data/lib/one_msg_sdk/models/create_upload_media200_response.rb +147 -0
- data/lib/one_msg_sdk/models/create_upload_media_request.rb +158 -0
- data/lib/one_msg_sdk/models/delete_flows_flow_id200_response.rb +2 -2
- data/lib/one_msg_sdk/models/delete_groups_group_id200_response.rb +2 -2
- data/lib/one_msg_sdk/models/delete_media_legacy_request.rb +2 -2
- data/lib/one_msg_sdk/models/error_response.rb +2 -2
- data/lib/one_msg_sdk/models/get_commerce200_response_inner.rb +2 -2
- data/lib/one_msg_sdk/models/get_mm_lite_status200_response.rb +2 -2
- data/lib/one_msg_sdk/models/get_status200_response.rb +185 -0
- data/lib/one_msg_sdk/models/get_webhook200_response.rb +155 -6
- data/lib/one_msg_sdk/models/get_webhook200_response_webhook_url.rb +105 -0
- data/lib/one_msg_sdk/models/get_whatsapp_business_encryption200_response.rb +2 -2
- data/lib/one_msg_sdk/models/initiate_call_request.rb +2 -2
- data/lib/one_msg_sdk/models/initiate_call_request_session.rb +2 -2
- data/lib/one_msg_sdk/models/initiate_call_response.rb +2 -2
- data/lib/one_msg_sdk/models/initiate_call_response_calls_inner.rb +2 -2
- data/lib/one_msg_sdk/models/initiate_call_response_response.rb +2 -2
- data/lib/one_msg_sdk/models/list_blocked_users200_response.rb +2 -2
- data/lib/one_msg_sdk/models/list_flows200_response.rb +2 -2
- data/lib/one_msg_sdk/models/list_messages200_response.rb +2 -2
- data/lib/one_msg_sdk/models/list_settings200_response.rb +352 -0
- data/lib/one_msg_sdk/models/list_settings200_response_webhook_url.rb +105 -0
- data/lib/one_msg_sdk/models/list_templates200_response.rb +2 -2
- data/lib/one_msg_sdk/models/message_sent_response.rb +2 -2
- data/lib/one_msg_sdk/models/patch_flows_flow_id_assets200_response.rb +2 -2
- data/lib/one_msg_sdk/models/patch_flows_flow_id_assets_request.rb +167 -0
- data/lib/one_msg_sdk/models/patch_flows_flow_id_metadata_request.rb +190 -0
- data/lib/one_msg_sdk/models/profile_info.rb +2 -2
- data/lib/one_msg_sdk/models/remove_template_request.rb +165 -0
- data/lib/one_msg_sdk/models/retrieve_media200_response.rb +2 -2
- data/lib/one_msg_sdk/models/send_address_message_request.rb +2 -2
- data/lib/one_msg_sdk/models/send_button_request.rb +48 -3
- data/lib/one_msg_sdk/models/send_button_request_sections_inner.rb +2 -2
- data/lib/one_msg_sdk/models/send_button_request_sections_inner_reply.rb +2 -2
- data/lib/one_msg_sdk/models/send_carousel_request1.rb +38 -13
- data/lib/one_msg_sdk/models/send_contact_info_request.rb +222 -0
- data/lib/one_msg_sdk/models/send_contact_request.rb +32 -3
- data/lib/one_msg_sdk/models/send_contact_request_contact.rb +221 -0
- data/lib/one_msg_sdk/models/send_contact_request_contact_name.rb +105 -0
- data/lib/one_msg_sdk/models/send_contact_request_contacts_inner.rb +5 -5
- data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_name.rb +2 -2
- data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_org.rb +2 -2
- data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_phones_inner.rb +3 -2
- data/lib/one_msg_sdk/models/send_cta_url_request.rb +2 -2
- data/lib/one_msg_sdk/models/send_file_request.rb +2 -2
- data/lib/one_msg_sdk/models/send_flow_request1.rb +2 -2
- data/lib/one_msg_sdk/models/send_flow_request1_header.rb +2 -2
- data/lib/one_msg_sdk/models/send_flow_request_header.rb +2 -2
- data/lib/one_msg_sdk/models/send_list_request.rb +23 -3
- data/lib/one_msg_sdk/models/send_list_request_sections_inner.rb +2 -2
- data/lib/one_msg_sdk/models/send_list_request_sections_inner_rows_inner.rb +2 -2
- data/lib/one_msg_sdk/models/send_location_request1.rb +2 -2
- data/lib/one_msg_sdk/models/send_location_request_request.rb +23 -3
- data/lib/one_msg_sdk/models/send_message_request.rb +60 -28
- data/lib/one_msg_sdk/models/send_message_request_direct_send.rb +189 -0
- data/lib/one_msg_sdk/models/send_order_details_request.rb +2 -2
- data/lib/one_msg_sdk/models/send_order_details_request_language.rb +2 -2
- data/lib/one_msg_sdk/models/send_order_details_request_order.rb +2 -2
- data/lib/one_msg_sdk/models/send_order_details_request_order_items_inner.rb +2 -2
- data/lib/one_msg_sdk/models/send_order_details_request_order_items_inner_amount.rb +2 -2
- data/lib/one_msg_sdk/models/send_payment_request_request.rb +2 -2
- data/lib/one_msg_sdk/models/send_product_request.rb +225 -0
- data/lib/one_msg_sdk/models/send_reaction_request.rb +14 -3
- data/lib/one_msg_sdk/models/send_sticker_request.rb +2 -2
- data/lib/one_msg_sdk/models/send_template_request.rb +29 -5
- data/lib/one_msg_sdk/models/send_template_request_language.rb +6 -2
- data/lib/one_msg_sdk/models/set_webhook200_response.rb +157 -0
- data/lib/one_msg_sdk/models/set_webhook200_response_webhook_url.rb +105 -0
- data/lib/one_msg_sdk/models/set_webhook_request.rb +164 -0
- data/lib/one_msg_sdk/models/set_webhook_request_webhook_url.rb +105 -0
- data/lib/one_msg_sdk/models/set_whatsapp_business_encryption_request.rb +2 -2
- data/lib/one_msg_sdk/models/success_response.rb +2 -2
- data/lib/one_msg_sdk/models/update_calling_settings200_response.rb +2 -2
- data/lib/one_msg_sdk/models/update_calling_settings200_response_response.rb +2 -2
- data/lib/one_msg_sdk/models/update_me200_response.rb +147 -0
- data/lib/one_msg_sdk/models/update_me_request.rb +6 -3
- data/lib/one_msg_sdk/models/webhook_url_status.rb +287 -0
- data/lib/one_msg_sdk/platform_client.rb +182 -0
- data/lib/one_msg_sdk/version.rb +3 -3
- data/lib/one_msg_sdk.rb +30 -2
- data/one_msg_sdk.gemspec +2 -2
- data/spec/api/calling_api_spec.rb +3 -3
- data/spec/api/catalog_api_spec.rb +3 -3
- data/spec/api/channel_api_spec.rb +29 -4
- data/spec/api/flows_api_spec.rb +10 -2
- data/spec/api/groups_api_spec.rb +10 -2
- data/spec/api/messaging_api_spec.rb +37 -9
- data/spec/api/profile_api_spec.rb +5 -5
- data/spec/api/templates_api_spec.rb +11 -5
- data/spec/api/users_api_spec.rb +2 -2
- data/spec/api/webhooks_api_spec.rb +6 -6
- data/spec/models/add_template200_response_spec.rb +36 -0
- data/spec/models/add_template_request_spec.rb +2 -2
- data/spec/models/block_user_request_spec.rb +2 -2
- data/spec/models/calling_settings_calling_audio_spec.rb +2 -2
- data/spec/models/calling_settings_calling_call_hours_spec.rb +2 -2
- data/spec/models/calling_settings_calling_sip_servers_inner_spec.rb +2 -2
- data/spec/models/calling_settings_calling_sip_spec.rb +2 -2
- data/spec/models/calling_settings_calling_spec.rb +2 -2
- data/spec/models/calling_settings_calling_video_spec.rb +2 -2
- data/spec/models/calling_settings_spec.rb +2 -2
- data/spec/models/conversational_automation_commands_inner_spec.rb +2 -2
- data/spec/models/conversational_automation_spec.rb +2 -2
- data/spec/models/create_commerce200_response_spec.rb +2 -2
- data/spec/models/create_commerce_request_params_spec.rb +2 -2
- data/spec/models/create_commerce_request_spec.rb +2 -2
- data/spec/models/create_flows_request_spec.rb +64 -0
- data/spec/models/create_groups200_response_spec.rb +2 -2
- data/spec/models/create_groups_group_id_request_spec.rb +48 -0
- data/spec/models/create_groups_request_spec.rb +42 -0
- data/spec/models/create_read_message200_response_spec.rb +2 -2
- data/spec/models/create_read_message401_response_spec.rb +2 -2
- data/spec/models/create_read_message_request_spec.rb +2 -2
- data/spec/models/create_settings_request_spec.rb +66 -0
- data/spec/models/create_settings_request_webhook_url_spec.rb +32 -0
- data/spec/models/create_upload_media200_response_spec.rb +36 -0
- data/spec/models/create_upload_media_request_spec.rb +42 -0
- data/spec/models/delete_flows_flow_id200_response_spec.rb +2 -2
- data/spec/models/delete_groups_group_id200_response_spec.rb +2 -2
- data/spec/models/delete_media_legacy_request_spec.rb +2 -2
- data/spec/models/error_response_spec.rb +2 -2
- data/spec/models/get_commerce200_response_inner_spec.rb +2 -2
- data/spec/models/get_mm_lite_status200_response_spec.rb +2 -2
- data/spec/models/get_status200_response_spec.rb +60 -0
- data/spec/models/get_webhook200_response_spec.rb +72 -2
- data/spec/models/get_webhook200_response_webhook_url_spec.rb +32 -0
- data/spec/models/get_whatsapp_business_encryption200_response_spec.rb +2 -2
- data/spec/models/initiate_call_request_session_spec.rb +2 -2
- data/spec/models/initiate_call_request_spec.rb +2 -2
- data/spec/models/initiate_call_response_calls_inner_spec.rb +2 -2
- data/spec/models/initiate_call_response_response_spec.rb +2 -2
- data/spec/models/initiate_call_response_spec.rb +2 -2
- data/spec/models/list_blocked_users200_response_spec.rb +2 -2
- data/spec/models/list_flows200_response_spec.rb +2 -2
- data/spec/models/list_messages200_response_spec.rb +2 -2
- data/spec/models/list_settings200_response_spec.rb +142 -0
- data/spec/models/list_settings200_response_webhook_url_spec.rb +32 -0
- data/spec/models/list_templates200_response_spec.rb +2 -2
- data/spec/models/message_sent_response_spec.rb +2 -2
- data/spec/models/patch_flows_flow_id_assets200_response_spec.rb +2 -2
- data/spec/models/patch_flows_flow_id_assets_request_spec.rb +36 -0
- data/spec/models/patch_flows_flow_id_metadata_request_spec.rb +52 -0
- data/spec/models/profile_info_spec.rb +2 -2
- data/spec/models/remove_template_request_spec.rb +36 -0
- data/spec/models/retrieve_media200_response_spec.rb +2 -2
- data/spec/models/send_address_message_request_spec.rb +2 -2
- data/spec/models/send_button_request_sections_inner_reply_spec.rb +2 -2
- data/spec/models/send_button_request_sections_inner_spec.rb +2 -2
- data/spec/models/send_button_request_spec.rb +26 -2
- data/spec/models/send_carousel_request1_spec.rb +8 -2
- data/spec/models/send_contact_info_request_spec.rb +60 -0
- data/spec/models/send_contact_request_contact_name_spec.rb +32 -0
- data/spec/models/send_contact_request_contact_spec.rb +60 -0
- data/spec/models/send_contact_request_contacts_inner_name_spec.rb +2 -2
- data/spec/models/send_contact_request_contacts_inner_org_spec.rb +2 -2
- data/spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb +2 -2
- data/spec/models/send_contact_request_contacts_inner_spec.rb +2 -2
- data/spec/models/send_contact_request_spec.rb +20 -2
- data/spec/models/send_cta_url_request_spec.rb +2 -2
- data/spec/models/send_file_request_spec.rb +2 -2
- data/spec/models/send_flow_request1_header_spec.rb +2 -2
- data/spec/models/send_flow_request1_spec.rb +2 -2
- data/spec/models/send_flow_request_header_spec.rb +2 -2
- data/spec/models/send_list_request_sections_inner_rows_inner_spec.rb +2 -2
- data/spec/models/send_list_request_sections_inner_spec.rb +2 -2
- data/spec/models/send_list_request_spec.rb +14 -2
- data/spec/models/send_location_request1_spec.rb +2 -2
- data/spec/models/send_location_request_request_spec.rb +14 -2
- data/spec/models/send_message_request_direct_send_spec.rb +42 -0
- data/spec/models/send_message_request_spec.rb +18 -2
- data/spec/models/send_order_details_request_language_spec.rb +2 -2
- data/spec/models/send_order_details_request_order_items_inner_amount_spec.rb +2 -2
- data/spec/models/send_order_details_request_order_items_inner_spec.rb +2 -2
- data/spec/models/send_order_details_request_order_spec.rb +2 -2
- data/spec/models/send_order_details_request_spec.rb +2 -2
- data/spec/models/send_payment_request_request_spec.rb +2 -2
- data/spec/models/send_product_request_spec.rb +72 -0
- data/spec/models/send_reaction_request_spec.rb +8 -2
- data/spec/models/send_sticker_request_spec.rb +2 -2
- data/spec/models/send_template_request_language_spec.rb +2 -2
- data/spec/models/send_template_request_spec.rb +14 -2
- data/spec/models/set_webhook200_response_spec.rb +42 -0
- data/spec/models/set_webhook200_response_webhook_url_spec.rb +32 -0
- data/spec/models/set_webhook_request_spec.rb +36 -0
- data/spec/models/set_webhook_request_webhook_url_spec.rb +32 -0
- data/spec/models/set_whatsapp_business_encryption_request_spec.rb +2 -2
- data/spec/models/success_response_spec.rb +2 -2
- data/spec/models/update_calling_settings200_response_response_spec.rb +2 -2
- data/spec/models/update_calling_settings200_response_spec.rb +2 -2
- data/spec/models/update_me200_response_spec.rb +36 -0
- data/spec/models/update_me_request_spec.rb +2 -2
- data/spec/models/webhook_url_status_spec.rb +88 -0
- data/spec/spec_helper.rb +2 -2
- metadata +204 -31
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: one_msg_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 1MSG
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -86,32 +86,35 @@ description: |+
|
|
|
86
86
|
This document is generated from the public OpenAPI contract. It covers install,
|
|
87
87
|
auth, quick start, and every public operation available in the client.
|
|
88
88
|
|
|
89
|
-
|
|
|
90
|
-
|
|
91
|
-
| **RubyGems** | [`one_msg_sdk`](https://rubygems.org/gems/one_msg_sdk)
|
|
92
|
-
| **Source**
|
|
93
|
-
| **API docs**
|
|
94
|
-
| **Platform**
|
|
95
|
-
| **
|
|
96
|
-
| **
|
|
97
|
-
| **
|
|
98
|
-
| **
|
|
89
|
+
| | |
|
|
90
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------- |
|
|
91
|
+
| **RubyGems** | [`one_msg_sdk`](https://rubygems.org/gems/one_msg_sdk) |
|
|
92
|
+
| **Source** | [github.com/1msg/1msg-sdk/ruby](https://github.com/1msg/1msg-sdk/tree/main/ruby) |
|
|
93
|
+
| **API docs** | [docs.1msg.io](https://docs.1msg.io/) |
|
|
94
|
+
| **Platform API** | [Inbox](https://1msg.io/docs/reference/inbox) and [Campaigns](https://1msg.io/docs/reference/campaigns) |
|
|
95
|
+
| **Platform** | [platform.1msg.io](https://platform.1msg.io/) |
|
|
96
|
+
| **Support** | support@1msg.io |
|
|
97
|
+
| **OpenAPI version** | 2.0.0 |
|
|
98
|
+
| **Operations** | 63 |
|
|
99
|
+
| **AI agent guide** | [AGENTS.md](./AGENTS.md) |
|
|
100
|
+
|
|
101
|
+
Inbox and Campaigns ship in this package as `PlatformClient` (Bearer API key, not the channel token). Reference: [Inbox](https://1msg.io/docs/reference/inbox) and [Campaigns](https://1msg.io/docs/reference/campaigns). CLI: `1msg inbox` and `1msg campaigns`.
|
|
99
102
|
|
|
100
103
|
---
|
|
101
104
|
|
|
102
105
|
## Install
|
|
103
106
|
|
|
104
107
|
```bash
|
|
105
|
-
gem install one_msg_sdk -v 2.0.
|
|
108
|
+
gem install one_msg_sdk -v 2.0.3
|
|
106
109
|
```
|
|
107
110
|
|
|
108
111
|
## Requirements
|
|
109
112
|
|
|
110
|
-
| Variable
|
|
111
|
-
|
|
112
|
-
| `baseUrl`
|
|
113
|
-
| `instanceId` | Platform → channel id
|
|
114
|
-
| `token`
|
|
113
|
+
| Variable | Where to get it | Example |
|
|
114
|
+
| ------------ | ------------------------------ | --------------------- |
|
|
115
|
+
| `baseUrl` | Platform → channel → API host | `https://api.1msg.io` |
|
|
116
|
+
| `instanceId` | Platform → channel id | `ODI371267300` |
|
|
117
|
+
| `token` | Platform → channel → API token | JWT or API key |
|
|
115
118
|
|
|
116
119
|
Use environment variables (`MSG_API_TOKEN`, `MSG_INSTANCE_ID`). Never commit tokens.
|
|
117
120
|
|
|
@@ -194,7 +197,7 @@ description: |+
|
|
|
194
197
|
|
|
195
198
|
Call action (connect / pre_accept / accept / reject / terminate)
|
|
196
199
|
|
|
197
|
-
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ "response": { "error": "
|
|
200
|
+
Perform a WhatsApp Calling action (beta). Proxies upstream `POST /calling/calls`. Despite the historical path name `/initiateCall`, this endpoint handles **all** call actions: | action | Use | Required | |--------|-----|----------| | `connect` | Outbound business → user | `to` + `session` (`sdp_type: offer`) | | `pre_accept` | Inbound (optional, reduces audio clipping) | `call_id` + `session` (`sdp_type: answer`) | | `accept` | Inbound answer | `call_id` + `session` (`sdp_type: answer`) | | `reject` | Decline inbound | `call_id` | | `terminate` | Hang up | `call_id` | **SDP / media (critical)** - `accept` / `pre_accept` require a **WebRTC-generated SDP answer**. - Do **not** send Meta's offer SDP back as the answer. - Postman (or curl) alone **cannot** establish real media — you need a WebRTC or SIP stack. 1msg only proxies signaling. Answer within ~**30–60 seconds** of an inbound `connect` webhook or Meta terminates as unanswered. Common Meta errors include Calling not enabled (`138000`), no permission (`138006`), SDP validation failures. **Outbound** requires a prior Call Permission Request (CPR) acceptance. See the **Calling** tag overview for the full outbound flow and CPR limits. Trial / `subscriptionBlocked` → **403** plain text. Upstream failures often return HTTP 200 with `{ "response": { "error": "<upstream message>" } }`. `Invalid API KEY` is used only when Meta/360 body actually indicates an invalid API key or token. Other upstream 401s (notably call permission `138006`) pass through `error.message` / `error_user_msg`.
|
|
198
201
|
|
|
199
202
|
```yaml
|
|
200
203
|
http: POST /initiateCall
|
|
@@ -235,7 +238,7 @@ description: |+
|
|
|
235
238
|
|
|
236
239
|
Get Commerce Settings
|
|
237
240
|
|
|
238
|
-
Returns catalog/cart commerce settings for the channel. - `is_catalog_visible` — show catalog storefront icon (`true`) or hide it (`false`). - `is_cart_enabled` — enable cart (`true`) or disable it (`false`).
|
|
241
|
+
Returns catalog/cart commerce settings for the channel. Fails with a provider error when the WABA has no catalog linked — that is an API/account limitation, not an MCP schema bug. - `is_catalog_visible` — show catalog storefront icon (`true`) or hide it (`false`). - `is_cart_enabled` — enable cart (`true`) or disable it (`false`).
|
|
239
242
|
|
|
240
243
|
```yaml
|
|
241
244
|
http: GET /commerce
|
|
@@ -246,6 +249,19 @@ description: |+
|
|
|
246
249
|
|
|
247
250
|
### channel
|
|
248
251
|
|
|
252
|
+
#### `createSettings`
|
|
253
|
+
|
|
254
|
+
Update channel settings
|
|
255
|
+
|
|
256
|
+
Update channel settings. Only send fields you want to change. `webhookUrl` **replaces** the stored list (one URL string, or up to 5 URLs as an array). Passing an empty value clears webhooks. Repeating the same URL(s) also clears a sticky auto-disable. With several URLs, send the complete array to re-enable one of them — omitting a URL removes it from the channel.
|
|
257
|
+
|
|
258
|
+
```yaml
|
|
259
|
+
http: POST /settings
|
|
260
|
+
operationId: createSettings
|
|
261
|
+
clientGroup: channel
|
|
262
|
+
responses: 200, 401, 500
|
|
263
|
+
```
|
|
264
|
+
|
|
249
265
|
#### `getConversationalAutomation`
|
|
250
266
|
|
|
251
267
|
Get conversational automation settings
|
|
@@ -263,7 +279,7 @@ description: |+
|
|
|
263
279
|
|
|
264
280
|
Get channel status
|
|
265
281
|
|
|
266
|
-
|
|
282
|
+
Return WhatsApp Cloud API connection status for this channel (`connected` when the number can send). May include `accountStatus`, messaging limit, and MM Lite availability. Optional `health_status_warning` appears only when Meta Graph health could not be loaded and a soft `connected` response is returned. Omitted on the normal path and when health details are not applicable for the channel — never an internal provider/transport name.
|
|
267
283
|
|
|
268
284
|
```yaml
|
|
269
285
|
http: GET /status
|
|
@@ -272,6 +288,19 @@ description: |+
|
|
|
272
288
|
responses: 200, 401, 500
|
|
273
289
|
```
|
|
274
290
|
|
|
291
|
+
#### `listSettings`
|
|
292
|
+
|
|
293
|
+
Get channel settings
|
|
294
|
+
|
|
295
|
+
Return channel settings: webhook URL(s), delivery flags, and analytics toggles. Auto-disable / circuit state matches `GET /webhook`. **Prefer `webhookStatuses`** (one row per configured URL). The breaker is per URL, not per channel. Channel-level `haveDisabledWebhooks` is `true` when **at least one** URL in `webhookUrl` is sticky auto-disabled — not "the channel is dead". Live URLs still receive events. Top-level `circuitState` / `reason` / `fails` / `trips` are a compatibility summary of one URL (first sticky-disabled, else first configured). This is the same `GET /settings` endpoint as the REST API (previously missing from MCP).
|
|
296
|
+
|
|
297
|
+
```yaml
|
|
298
|
+
http: GET /settings
|
|
299
|
+
operationId: listSettings
|
|
300
|
+
clientGroup: channel
|
|
301
|
+
responses: 200, 401, 500
|
|
302
|
+
```
|
|
303
|
+
|
|
275
304
|
#### `setConversationalAutomation`
|
|
276
305
|
|
|
277
306
|
Set conversational automation settings
|
|
@@ -291,11 +320,13 @@ description: |+
|
|
|
291
320
|
|
|
292
321
|
Create Flow
|
|
293
322
|
|
|
323
|
+
Create a WhatsApp Flow (`name` + `categories` required). Currently returns HTTP 501 until the Meta Graph Flows rewrite is available.
|
|
324
|
+
|
|
294
325
|
```yaml
|
|
295
326
|
http: POST /flows
|
|
296
327
|
operationId: createFlows
|
|
297
328
|
clientGroup: flows
|
|
298
|
-
responses: 200
|
|
329
|
+
responses: 200, 501
|
|
299
330
|
```
|
|
300
331
|
|
|
301
332
|
#### `createFlowsFlowIdDeprecate`
|
|
@@ -370,33 +401,39 @@ description: |+
|
|
|
370
401
|
|
|
371
402
|
List Flows
|
|
372
403
|
|
|
404
|
+
List WhatsApp Flows for the WABA. Currently returns HTTP 501 until the Meta Graph Flows rewrite is available.
|
|
405
|
+
|
|
373
406
|
```yaml
|
|
374
407
|
http: GET /flows
|
|
375
408
|
operationId: listFlows
|
|
376
409
|
clientGroup: flows
|
|
377
|
-
responses: 200
|
|
410
|
+
responses: 200, 501
|
|
378
411
|
```
|
|
379
412
|
|
|
380
413
|
#### `patchFlowsFlowIdAssets`
|
|
381
414
|
|
|
382
415
|
Update Flow Structure
|
|
383
416
|
|
|
417
|
+
Replace the Flow JSON document (`flowJson`). Currently returns HTTP 501 until the Meta Graph Flows rewrite is available.
|
|
418
|
+
|
|
384
419
|
```yaml
|
|
385
420
|
http: PATCH /flows/{flowId}/assets
|
|
386
421
|
operationId: patchFlowsFlowIdAssets
|
|
387
422
|
clientGroup: flows
|
|
388
|
-
responses: 200
|
|
423
|
+
responses: 200, 501
|
|
389
424
|
```
|
|
390
425
|
|
|
391
426
|
#### `patchFlowsFlowIdMetadata`
|
|
392
427
|
|
|
393
428
|
Update Flow Metadata
|
|
394
429
|
|
|
430
|
+
Update Flow `name`, `categories`, and/or `endpointUri`. Currently returns HTTP 501 until the Meta Graph Flows rewrite is available.
|
|
431
|
+
|
|
395
432
|
```yaml
|
|
396
433
|
http: PATCH /flows/{flowId}/metadata
|
|
397
434
|
operationId: patchFlowsFlowIdMetadata
|
|
398
435
|
clientGroup: flows
|
|
399
|
-
responses: 200
|
|
436
|
+
responses: 200, 501
|
|
400
437
|
```
|
|
401
438
|
|
|
402
439
|
#### `setWhatsappBusinessEncryption`
|
|
@@ -429,6 +466,8 @@ description: |+
|
|
|
429
466
|
|
|
430
467
|
Update Group Info
|
|
431
468
|
|
|
469
|
+
Update group subject, description, and/or profile picture. Path `groupId` is the WABA group id (without `@g.us`).
|
|
470
|
+
|
|
432
471
|
```yaml
|
|
433
472
|
http: POST /groups/{groupId}
|
|
434
473
|
operationId: createGroupsGroupId
|
|
@@ -484,6 +523,8 @@ description: |+
|
|
|
484
523
|
|
|
485
524
|
Get Groups List
|
|
486
525
|
|
|
526
|
+
List WhatsApp groups for this channel. Paginate with `limit`, `before`, and `after`.
|
|
527
|
+
|
|
487
528
|
```yaml
|
|
488
529
|
http: GET /groups
|
|
489
530
|
operationId: listGroups
|
|
@@ -508,6 +549,8 @@ description: |+
|
|
|
508
549
|
|
|
509
550
|
Upload media
|
|
510
551
|
|
|
552
|
+
Upload a file to WhatsApp media storage and get a numeric `mediaId` for later use with `send_file` / `send_sticker` (`mediaId` field, not `body`). Pass the file as `body` **or** `url` — an HTTP(S) URL or a base64 data URI. The `mediaId` in the response is a numeric string (keep it as a string).
|
|
553
|
+
|
|
511
554
|
```yaml
|
|
512
555
|
http: POST /uploadMedia
|
|
513
556
|
operationId: createUploadMedia
|
|
@@ -556,6 +599,8 @@ description: |+
|
|
|
556
599
|
|
|
557
600
|
Get messages list
|
|
558
601
|
|
|
602
|
+
List stored chat history for this channel (requires history storage). Filter with `chatId`, `limit`, `last`, message numbers, or time bounds.
|
|
603
|
+
|
|
559
604
|
```yaml
|
|
560
605
|
http: GET /messages
|
|
561
606
|
operationId: listMessages
|
|
@@ -604,7 +649,7 @@ description: |+
|
|
|
604
649
|
|
|
605
650
|
Send Carousel
|
|
606
651
|
|
|
607
|
-
You can send product cards via Carousel in two ways: Template messages: do not require a 24-hour customer service window between you and the recipient. Use sendTemplate. Free-form messages: can be sent only when a customer service window is open between you and the recipient. Use sendCarousel. The message structure in /sendCarousel is largely similar to sending a template. However, in this case you must explicitly specify all elements that are created in advance when working with templates. This is because the message is sent without using a template. In /sendCarousel, for
|
|
652
|
+
You can send product cards via Carousel in two ways: Template messages: do not require a 24-hour customer service window between you and the recipient. Use sendTemplate. Free-form messages: can be sent only when a customer service window is open between you and the recipient. Use sendCarousel. The message structure in /sendCarousel is largely similar to sending a template. However, in this case you must explicitly specify all elements that are created in advance when working with templates. This is because the message is sent without using a template. In /sendCarousel, for a Catalog Carousel there can be either 1 URL button or one or more quick reply buttons. Prefer the simple `cards` array (2–10 cards). Each card needs a header media/product plus a CTA URL or quick-reply buttons. Example: ```json { "phone": "79001234567", "body": "Pick a product", "cards": [ { "header": { "type": "image", "image": { "link": "https://example.com/1.jpg" } }, "body": { "text": "Card one" }, "type": "cta_url", "action": { "name": "cta_url", "parameters": { "url": "https://example.com/p1", "display_text": "Open" } } }, { "header": { "type": "image", "image": { "link": "https://example.com/2.jpg" } }, "body": { "text": "Card two" }, "type": "cta_url", "action": { "name": "cta_url", "parameters": { "url": "https://example.com/p2", "display_text": "Open" } } } ] } ``` `params` with a `CAROUSEL` component is the template-like alternative.
|
|
608
653
|
|
|
609
654
|
```yaml
|
|
610
655
|
http: POST /sendCarousel
|
|
@@ -617,6 +662,8 @@ description: |+
|
|
|
617
662
|
|
|
618
663
|
Send a Contact
|
|
619
664
|
|
|
665
|
+
Send a WhatsApp contact card. Preferred simple body (legacy-compatible): ```json { "phone": "79001234567", "contact": { "name": "Lida", "phone": "+79181976551" } } ``` Cloud API shape also works: `contacts` is an array of objects with `name.formatted_name` and `phones[].phone` (E.164 string, **not** a timestamp).
|
|
666
|
+
|
|
620
667
|
```yaml
|
|
621
668
|
http: POST /sendContact
|
|
622
669
|
operationId: sendContact
|
|
@@ -624,6 +671,19 @@ description: |+
|
|
|
624
671
|
responses: 200, 400, 401, 429, 500
|
|
625
672
|
```
|
|
626
673
|
|
|
674
|
+
#### `sendContactInfo`
|
|
675
|
+
|
|
676
|
+
Request the user's phone number
|
|
677
|
+
|
|
678
|
+
Send a service-window interactive message that asks the WhatsApp user to share their phone number (`request_contact_info`). Use this when you only know the user by BSUID (WhatsApp username) and the 24-hour customer service window is open. Outside that window, create a UTILITY or MARKETING template with a `REQUEST_CONTACT_INFO` button (`POST /addTemplate`) and send it with `POST /sendTemplate`. `body` is the text shown above the button (1–1024 characters). WhatsApp chooses the button label. This method has no button-text field — do not send one. ```json { "bsuid": "US.13491208655302741918", "body": "Please share your phone number so we can reach you." } ``` `phone`, `chatId` (`…@c.us`, `…@lid`, `…@username`), or `bsuid` identifies the recipient. One of them is enough. After Meta accepts the send, the outgoing webhook and stored history message use this same text as `messages[].body` (`type: interactive`). When the user taps the button, Meta sends an inbound `contacts` message. The sender stays the BSUID. The shared number is on the card with `origin: contact_request`. We write that phone onto the existing BSUID contact automatically — there is no separate “link phone” call. ```json { "contacts": [ { "profile": { "name": "Ada", "username": "ada" }, "user_id": "US.13491208655302741918" } ], "messages": [ { "from_user_id": "US.13491208655302741918", "type": "contacts", "contacts": [ { "origin": "contact_request", "phones": [{ "phone": "+1 202-555-0123", "wa_id": "12025550123" }] } ] } ] } ``` The stored inbound message body is the digits (`12025550123`). If Meta later includes a phone on an ordinary message or status for that same BSUID (`wa_id`, `from`, or `recipient_id`, together with `user_id` / `recipient_user_id`), that phone is merged onto the same contact. A contact card the user forwards (`origin` other than `contact_request`) is someone else's number and is not stored as this sender's phone.
|
|
679
|
+
|
|
680
|
+
```yaml
|
|
681
|
+
http: POST /sendContactInfo
|
|
682
|
+
operationId: sendContactInfo
|
|
683
|
+
clientGroup: messaging
|
|
684
|
+
responses: 200, 400, 401, 429, 500
|
|
685
|
+
```
|
|
686
|
+
|
|
627
687
|
#### `sendCtaUrl`
|
|
628
688
|
|
|
629
689
|
Send CTA URL interactive message
|
|
@@ -702,7 +762,7 @@ description: |+
|
|
|
702
762
|
|
|
703
763
|
Send a Message
|
|
704
764
|
|
|
705
|
-
Send a message to an existing chat. (Only if the dialogue has an Open Session). The message will be added to the queue for sending and delivered even if the phone is disconnected from the Internet or authorization is not passed. Only one of two parameters is needed to determine the destination - chatId or phone.
|
|
765
|
+
Send a message to an existing chat. (Only if the dialogue has an Open Session). The message will be added to the queue for sending and delivered even if the phone is disconnected from the Internet or authorization is not passed. Only one of two parameters is needed to determine the destination - chatId or phone. Direct Send is in beta. Meta has not enabled it on every business portfolio, so `category` and `directSend` are a beta option: watch delivery errors before relying on them. Set `category` to `utility` or `authentication` to send outside the 24-hour window as a Meta Direct Send template instead of the 1MSG marketing auto-template. `authentication` is part of that beta and is not recommended. `directSend.serviceFirst: true` tries a free service message first and uses Direct Send only when Meta rejects it because the window is closed (131047). `directSend.templateName` is only valid with `utility` (`^[a-z0-9_]+$`, max 512). Direct Send text is limited to 1024 characters. Without `templateName`, the first unseen phrase may be delivered as Meta's onboarding template. A named template does not guarantee delivery — wait for webhook errors 131000 or 132021. An open 24-hour window is still billed as utility when `category` is set and `serviceFirst` is not true.
|
|
706
766
|
|
|
707
767
|
```yaml
|
|
708
768
|
http: POST /sendMessage
|
|
@@ -741,6 +801,8 @@ description: |+
|
|
|
741
801
|
|
|
742
802
|
Send a Product
|
|
743
803
|
|
|
804
|
+
Send a single catalog product or a product list. Destination is `chatId` or `phone`. `action` is required: - single product: `{ "catalog_id": "...", "product_retailer_id": "..." }` - product list: `{ "catalog_id": "...", "sections": [{ "title": "...", "product_items": [{ "product_retailer_id": "..." }] }] }`
|
|
805
|
+
|
|
744
806
|
```yaml
|
|
745
807
|
http: POST /sendProduct
|
|
746
808
|
operationId: sendProduct
|
|
@@ -778,7 +840,7 @@ description: |+
|
|
|
778
840
|
|
|
779
841
|
Get Profile Info
|
|
780
842
|
|
|
781
|
-
|
|
843
|
+
Return the WhatsApp Business profile for this channel: About, address, description, email, phone, websites, industry (`vertical`), and profile photo URL.
|
|
782
844
|
|
|
783
845
|
```yaml
|
|
784
846
|
http: GET /me
|
|
@@ -806,6 +868,8 @@ description: |+
|
|
|
806
868
|
|
|
807
869
|
Create message template
|
|
808
870
|
|
|
871
|
+
Create a WABA message template (`name`, `category`, `language`, `components`). After create, Meta reviews the template; list it with `GET /templates`. Authentication OTP templates (`category: AUTHENTICATION`, copy-code / OTP button) can later be sent only to a phone number. Meta does not accept a BSUID recipient for them (error 131062). If the recipient is known only by BSUID — for example they use a username and their phone number is not in your Business Portfolio — that template cannot be sent. To ask a BSUID user for their phone number, add a `REQUEST_CONTACT_INFO` button on a `UTILITY` or `MARKETING` template. Do not send `text` on that button — WhatsApp sets the label (and rejects a custom one). The button also has no send-time parameters: `POST /sendTemplate` does not take a button component for it. Inside an open 24-hour window, call `POST /sendContactInfo` instead of a template. When the user shares the number, the inbound webhook is a `contacts` message with `origin: contact_request`. The phone is stored on that BSUID automatically. See `POST /sendContactInfo`. ```json { "name": "request_phone", "category": "UTILITY", "language": "en_US", "components": [ { "type": "BODY", "text": "Please share your phone number so we can continue." }, { "type": "BUTTONS", "buttons": [{ "type": "REQUEST_CONTACT_INFO" }] } ] } ```
|
|
872
|
+
|
|
809
873
|
```yaml
|
|
810
874
|
http: POST /addTemplate
|
|
811
875
|
operationId: addTemplate
|
|
@@ -817,6 +881,8 @@ description: |+
|
|
|
817
881
|
|
|
818
882
|
Get templates list
|
|
819
883
|
|
|
884
|
+
List message templates. Paginate with `limit` / `offset`; sort by `id`, `name`, or `status`.
|
|
885
|
+
|
|
820
886
|
```yaml
|
|
821
887
|
http: GET /templates
|
|
822
888
|
operationId: listTemplates
|
|
@@ -828,6 +894,8 @@ description: |+
|
|
|
828
894
|
|
|
829
895
|
Remove message template
|
|
830
896
|
|
|
897
|
+
Delete a message template by `name` (all language versions of that name).
|
|
898
|
+
|
|
831
899
|
```yaml
|
|
832
900
|
http: POST /removeTemplate
|
|
833
901
|
operationId: removeTemplate
|
|
@@ -839,7 +907,7 @@ description: |+
|
|
|
839
907
|
|
|
840
908
|
Send Template Message
|
|
841
909
|
|
|
842
|
-
Send a WhatsApp template message (works outside the 24-hour session window). Supported `params` button `sub_type` values include: `url`, `quick_reply`, `copy_code` / `coupon_code`, `catalog`, `flow`, `limited_time_offer`, and **`order_details`** (WhatsApp Payments **India only** — requires an approved Utility template with an ORDER_DETAILS button).
|
|
910
|
+
Send a WhatsApp **template** message (works outside the 24-hour session window). Use this tool — not `send_message` — when the 24h session is closed. `params` MUST be Cloud API **component objects**, never a flat list of strings and never the old On-Prem `hsm` / `localizable_params` format. Example body variable `{{1}}`: ```json { "type": "body", "parameters": [{ "type": "text", "text": "Ivan" }] } ``` Do not send `"type": "hsm"` and do not send `params: ["Ivan", "123"]`. Supported `params` button `sub_type` values include: `url`, `quick_reply`, `copy_code` / `coupon_code`, `catalog`, `flow`, `limited_time_offer`, and **`order_details`** (WhatsApp Payments **India only** — requires an approved Utility template with an ORDER_DETAILS button). Convenience wrapper with structured fields: `POST /sendOrderDetails`. Authentication OTP templates (category `AUTHENTICATION`, or a template with an OTP / copy-code button) can only be sent to a phone number (`phone` or a phone `chatId`). Meta rejects a BSUID `recipient` for these templates with error 131062. If the recipient is known only by BSUID — for example they use a username and their phone number is not in your Business Portfolio — the template cannot be sent. A `REQUEST_CONTACT_INFO` button (UTILITY or MARKETING only) has no send-time parameters. Do not add a button component for it in `params`, and do not send button text — WhatsApp sets that label on the template. Create the button with `POST /addTemplate` as `{ "type": "REQUEST_CONTACT_INFO" }` with no `text`. Inside an open 24-hour window, `POST /sendContactInfo` asks for the number without a template.
|
|
843
911
|
|
|
844
912
|
```yaml
|
|
845
913
|
http: POST /sendTemplate
|
|
@@ -891,7 +959,7 @@ description: |+
|
|
|
891
959
|
|
|
892
960
|
Get webhook URL
|
|
893
961
|
|
|
894
|
-
|
|
962
|
+
Return the webhook URL(s) currently configured for this channel, plus delivery status for each URL. `webhookUrl` is a string when a single URL is set, an array of strings when multiple URLs are configured, or `null` if none is set. **Prefer `webhookStatuses`.** The circuit breaker is per URL, not per channel. If 1 of 4 URLs is sticky-disabled, that URL is skipped; the other three still receive events. Send/receive are not affected. Channel-level `haveDisabledWebhooks`, `circuitState`, `reason`, `fails`, `trips`, and timestamps are a compatibility summary of **one** URL (the first sticky-disabled URL, else the first configured URL). They are not "the channel is dead". - `haveDisabledWebhooks` — `true` when **at least one** URL in `webhookUrl` is sticky auto-disabled. Live URLs still get events. - `circuitState` — compressed scalar for that same primary URL: `ok` | `degraded` | `open` | `half_open` | `disabled`. - `disabledWebhooks` — currently configured URLs that are sticky-disabled (subset of `webhookUrl`). - `webhookStatuses` — one row per currently configured URL. Use this array to see which endpoints are live vs skipped. - `fails` / `trips` / `firstFailAt` — **diagnostics for support**, not product UI. `fails` = failures in a rolling ~10 minute window (not lifetime). `trips` = failed recovery probes on the 15 min → 1 h → 6 h schedule (sticky disable after 3). Clients can ignore these and use `webhookStatuses` + `disabledWebhooks` only. Sticky disable skips delivery; it does not unconfigure the URL (it stays in `webhookUrl`). Re-enable with `POST /webhook` or `POST /settings`. Those endpoints **replace** the whole list — with multiple URLs, send the full array.
|
|
895
963
|
|
|
896
964
|
```yaml
|
|
897
965
|
http: GET /webhook
|
|
@@ -904,7 +972,7 @@ description: |+
|
|
|
904
972
|
|
|
905
973
|
Set webhook URL
|
|
906
974
|
|
|
907
|
-
|
|
975
|
+
Set the client webhook URL that receives inbound events for this channel. **Replaces** the stored webhook list (it does not append). To deliver the same events to several endpoints, pass an array in `webhookUrl` (max 5) or use `POST /settings`. With several URLs already configured, posting only the disabled URL **drops the others** — send the complete array to re-enable one of many. Incoming payloads include messages, delivery ACKs, group updates, coexistence echoes, and calling events. WhatsApp Calling payloads (`type: "calls"`) are documented under the **Calling** tag. Call permission replies arrive on the normal messages path (`call_permission_reply`). Repeating `POST /webhook` with the same URL(s) clears an auto-disable (self-serve re-enable). Send/receive are not affected by webhook auto-disable.
|
|
908
976
|
|
|
909
977
|
```yaml
|
|
910
978
|
http: POST /webhook
|
|
@@ -958,6 +1026,7 @@ files:
|
|
|
958
1026
|
- LICENSE.txt
|
|
959
1027
|
- README.md
|
|
960
1028
|
- Rakefile
|
|
1029
|
+
- docs/AddTemplate200Response.md
|
|
961
1030
|
- docs/AddTemplateRequest.md
|
|
962
1031
|
- docs/BlockUserRequest.md
|
|
963
1032
|
- docs/CallingApi.md
|
|
@@ -975,10 +1044,17 @@ files:
|
|
|
975
1044
|
- docs/CreateCommerce200Response.md
|
|
976
1045
|
- docs/CreateCommerceRequest.md
|
|
977
1046
|
- docs/CreateCommerceRequestParams.md
|
|
1047
|
+
- docs/CreateFlowsRequest.md
|
|
978
1048
|
- docs/CreateGroups200Response.md
|
|
1049
|
+
- docs/CreateGroupsGroupIdRequest.md
|
|
1050
|
+
- docs/CreateGroupsRequest.md
|
|
979
1051
|
- docs/CreateReadMessage200Response.md
|
|
980
1052
|
- docs/CreateReadMessage401Response.md
|
|
981
1053
|
- docs/CreateReadMessageRequest.md
|
|
1054
|
+
- docs/CreateSettingsRequest.md
|
|
1055
|
+
- docs/CreateSettingsRequestWebhookUrl.md
|
|
1056
|
+
- docs/CreateUploadMedia200Response.md
|
|
1057
|
+
- docs/CreateUploadMediaRequest.md
|
|
982
1058
|
- docs/DeleteFlowsFlowId200Response.md
|
|
983
1059
|
- docs/DeleteGroupsGroupId200Response.md
|
|
984
1060
|
- docs/DeleteMediaLegacyRequest.md
|
|
@@ -986,7 +1062,9 @@ files:
|
|
|
986
1062
|
- docs/FlowsApi.md
|
|
987
1063
|
- docs/GetCommerce200ResponseInner.md
|
|
988
1064
|
- docs/GetMmLiteStatus200Response.md
|
|
1065
|
+
- docs/GetStatus200Response.md
|
|
989
1066
|
- docs/GetWebhook200Response.md
|
|
1067
|
+
- docs/GetWebhook200ResponseWebhookUrl.md
|
|
990
1068
|
- docs/GetWhatsappBusinessEncryption200Response.md
|
|
991
1069
|
- docs/GroupsApi.md
|
|
992
1070
|
- docs/InitiateCallRequest.md
|
|
@@ -997,19 +1075,27 @@ files:
|
|
|
997
1075
|
- docs/ListBlockedUsers200Response.md
|
|
998
1076
|
- docs/ListFlows200Response.md
|
|
999
1077
|
- docs/ListMessages200Response.md
|
|
1078
|
+
- docs/ListSettings200Response.md
|
|
1079
|
+
- docs/ListSettings200ResponseWebhookUrl.md
|
|
1000
1080
|
- docs/ListTemplates200Response.md
|
|
1001
1081
|
- docs/MessageSentResponse.md
|
|
1002
1082
|
- docs/MessagingApi.md
|
|
1003
1083
|
- docs/PatchFlowsFlowIdAssets200Response.md
|
|
1084
|
+
- docs/PatchFlowsFlowIdAssetsRequest.md
|
|
1085
|
+
- docs/PatchFlowsFlowIdMetadataRequest.md
|
|
1004
1086
|
- docs/ProfileApi.md
|
|
1005
1087
|
- docs/ProfileInfo.md
|
|
1088
|
+
- docs/RemoveTemplateRequest.md
|
|
1006
1089
|
- docs/RetrieveMedia200Response.md
|
|
1007
1090
|
- docs/SendAddressMessageRequest.md
|
|
1008
1091
|
- docs/SendButtonRequest.md
|
|
1009
1092
|
- docs/SendButtonRequestSectionsInner.md
|
|
1010
1093
|
- docs/SendButtonRequestSectionsInnerReply.md
|
|
1011
1094
|
- docs/SendCarouselRequest1.md
|
|
1095
|
+
- docs/SendContactInfoRequest.md
|
|
1012
1096
|
- docs/SendContactRequest.md
|
|
1097
|
+
- docs/SendContactRequestContact.md
|
|
1098
|
+
- docs/SendContactRequestContactName.md
|
|
1013
1099
|
- docs/SendContactRequestContactsInner.md
|
|
1014
1100
|
- docs/SendContactRequestContactsInnerName.md
|
|
1015
1101
|
- docs/SendContactRequestContactsInnerOrg.md
|
|
@@ -1025,23 +1111,31 @@ files:
|
|
|
1025
1111
|
- docs/SendLocationRequest1.md
|
|
1026
1112
|
- docs/SendLocationRequestRequest.md
|
|
1027
1113
|
- docs/SendMessageRequest.md
|
|
1114
|
+
- docs/SendMessageRequestDirectSend.md
|
|
1028
1115
|
- docs/SendOrderDetailsRequest.md
|
|
1029
1116
|
- docs/SendOrderDetailsRequestLanguage.md
|
|
1030
1117
|
- docs/SendOrderDetailsRequestOrder.md
|
|
1031
1118
|
- docs/SendOrderDetailsRequestOrderItemsInner.md
|
|
1032
1119
|
- docs/SendOrderDetailsRequestOrderItemsInnerAmount.md
|
|
1033
1120
|
- docs/SendPaymentRequestRequest.md
|
|
1121
|
+
- docs/SendProductRequest.md
|
|
1034
1122
|
- docs/SendReactionRequest.md
|
|
1035
1123
|
- docs/SendStickerRequest.md
|
|
1036
1124
|
- docs/SendTemplateRequest.md
|
|
1037
1125
|
- docs/SendTemplateRequestLanguage.md
|
|
1126
|
+
- docs/SetWebhook200Response.md
|
|
1127
|
+
- docs/SetWebhook200ResponseWebhookUrl.md
|
|
1128
|
+
- docs/SetWebhookRequest.md
|
|
1129
|
+
- docs/SetWebhookRequestWebhookUrl.md
|
|
1038
1130
|
- docs/SetWhatsappBusinessEncryptionRequest.md
|
|
1039
1131
|
- docs/SuccessResponse.md
|
|
1040
1132
|
- docs/TemplatesApi.md
|
|
1041
1133
|
- docs/UpdateCallingSettings200Response.md
|
|
1042
1134
|
- docs/UpdateCallingSettings200ResponseResponse.md
|
|
1135
|
+
- docs/UpdateMe200Response.md
|
|
1043
1136
|
- docs/UpdateMeRequest.md
|
|
1044
1137
|
- docs/UsersApi.md
|
|
1138
|
+
- docs/WebhookUrlStatus.md
|
|
1045
1139
|
- docs/WebhooksApi.md
|
|
1046
1140
|
- git_push.sh
|
|
1047
1141
|
- lib/one_msg_sdk.rb
|
|
@@ -1059,6 +1153,7 @@ files:
|
|
|
1059
1153
|
- lib/one_msg_sdk/api_error.rb
|
|
1060
1154
|
- lib/one_msg_sdk/api_model_base.rb
|
|
1061
1155
|
- lib/one_msg_sdk/configuration.rb
|
|
1156
|
+
- lib/one_msg_sdk/models/add_template200_response.rb
|
|
1062
1157
|
- lib/one_msg_sdk/models/add_template_request.rb
|
|
1063
1158
|
- lib/one_msg_sdk/models/block_user_request.rb
|
|
1064
1159
|
- lib/one_msg_sdk/models/calling_settings.rb
|
|
@@ -1073,17 +1168,26 @@ files:
|
|
|
1073
1168
|
- lib/one_msg_sdk/models/create_commerce200_response.rb
|
|
1074
1169
|
- lib/one_msg_sdk/models/create_commerce_request.rb
|
|
1075
1170
|
- lib/one_msg_sdk/models/create_commerce_request_params.rb
|
|
1171
|
+
- lib/one_msg_sdk/models/create_flows_request.rb
|
|
1076
1172
|
- lib/one_msg_sdk/models/create_groups200_response.rb
|
|
1173
|
+
- lib/one_msg_sdk/models/create_groups_group_id_request.rb
|
|
1174
|
+
- lib/one_msg_sdk/models/create_groups_request.rb
|
|
1077
1175
|
- lib/one_msg_sdk/models/create_read_message200_response.rb
|
|
1078
1176
|
- lib/one_msg_sdk/models/create_read_message401_response.rb
|
|
1079
1177
|
- lib/one_msg_sdk/models/create_read_message_request.rb
|
|
1178
|
+
- lib/one_msg_sdk/models/create_settings_request.rb
|
|
1179
|
+
- lib/one_msg_sdk/models/create_settings_request_webhook_url.rb
|
|
1180
|
+
- lib/one_msg_sdk/models/create_upload_media200_response.rb
|
|
1181
|
+
- lib/one_msg_sdk/models/create_upload_media_request.rb
|
|
1080
1182
|
- lib/one_msg_sdk/models/delete_flows_flow_id200_response.rb
|
|
1081
1183
|
- lib/one_msg_sdk/models/delete_groups_group_id200_response.rb
|
|
1082
1184
|
- lib/one_msg_sdk/models/delete_media_legacy_request.rb
|
|
1083
1185
|
- lib/one_msg_sdk/models/error_response.rb
|
|
1084
1186
|
- lib/one_msg_sdk/models/get_commerce200_response_inner.rb
|
|
1085
1187
|
- lib/one_msg_sdk/models/get_mm_lite_status200_response.rb
|
|
1188
|
+
- lib/one_msg_sdk/models/get_status200_response.rb
|
|
1086
1189
|
- lib/one_msg_sdk/models/get_webhook200_response.rb
|
|
1190
|
+
- lib/one_msg_sdk/models/get_webhook200_response_webhook_url.rb
|
|
1087
1191
|
- lib/one_msg_sdk/models/get_whatsapp_business_encryption200_response.rb
|
|
1088
1192
|
- lib/one_msg_sdk/models/initiate_call_request.rb
|
|
1089
1193
|
- lib/one_msg_sdk/models/initiate_call_request_session.rb
|
|
@@ -1093,17 +1197,25 @@ files:
|
|
|
1093
1197
|
- lib/one_msg_sdk/models/list_blocked_users200_response.rb
|
|
1094
1198
|
- lib/one_msg_sdk/models/list_flows200_response.rb
|
|
1095
1199
|
- lib/one_msg_sdk/models/list_messages200_response.rb
|
|
1200
|
+
- lib/one_msg_sdk/models/list_settings200_response.rb
|
|
1201
|
+
- lib/one_msg_sdk/models/list_settings200_response_webhook_url.rb
|
|
1096
1202
|
- lib/one_msg_sdk/models/list_templates200_response.rb
|
|
1097
1203
|
- lib/one_msg_sdk/models/message_sent_response.rb
|
|
1098
1204
|
- lib/one_msg_sdk/models/patch_flows_flow_id_assets200_response.rb
|
|
1205
|
+
- lib/one_msg_sdk/models/patch_flows_flow_id_assets_request.rb
|
|
1206
|
+
- lib/one_msg_sdk/models/patch_flows_flow_id_metadata_request.rb
|
|
1099
1207
|
- lib/one_msg_sdk/models/profile_info.rb
|
|
1208
|
+
- lib/one_msg_sdk/models/remove_template_request.rb
|
|
1100
1209
|
- lib/one_msg_sdk/models/retrieve_media200_response.rb
|
|
1101
1210
|
- lib/one_msg_sdk/models/send_address_message_request.rb
|
|
1102
1211
|
- lib/one_msg_sdk/models/send_button_request.rb
|
|
1103
1212
|
- lib/one_msg_sdk/models/send_button_request_sections_inner.rb
|
|
1104
1213
|
- lib/one_msg_sdk/models/send_button_request_sections_inner_reply.rb
|
|
1105
1214
|
- lib/one_msg_sdk/models/send_carousel_request1.rb
|
|
1215
|
+
- lib/one_msg_sdk/models/send_contact_info_request.rb
|
|
1106
1216
|
- lib/one_msg_sdk/models/send_contact_request.rb
|
|
1217
|
+
- lib/one_msg_sdk/models/send_contact_request_contact.rb
|
|
1218
|
+
- lib/one_msg_sdk/models/send_contact_request_contact_name.rb
|
|
1107
1219
|
- lib/one_msg_sdk/models/send_contact_request_contacts_inner.rb
|
|
1108
1220
|
- lib/one_msg_sdk/models/send_contact_request_contacts_inner_name.rb
|
|
1109
1221
|
- lib/one_msg_sdk/models/send_contact_request_contacts_inner_org.rb
|
|
@@ -1119,21 +1231,30 @@ files:
|
|
|
1119
1231
|
- lib/one_msg_sdk/models/send_location_request1.rb
|
|
1120
1232
|
- lib/one_msg_sdk/models/send_location_request_request.rb
|
|
1121
1233
|
- lib/one_msg_sdk/models/send_message_request.rb
|
|
1234
|
+
- lib/one_msg_sdk/models/send_message_request_direct_send.rb
|
|
1122
1235
|
- lib/one_msg_sdk/models/send_order_details_request.rb
|
|
1123
1236
|
- lib/one_msg_sdk/models/send_order_details_request_language.rb
|
|
1124
1237
|
- lib/one_msg_sdk/models/send_order_details_request_order.rb
|
|
1125
1238
|
- lib/one_msg_sdk/models/send_order_details_request_order_items_inner.rb
|
|
1126
1239
|
- lib/one_msg_sdk/models/send_order_details_request_order_items_inner_amount.rb
|
|
1127
1240
|
- lib/one_msg_sdk/models/send_payment_request_request.rb
|
|
1241
|
+
- lib/one_msg_sdk/models/send_product_request.rb
|
|
1128
1242
|
- lib/one_msg_sdk/models/send_reaction_request.rb
|
|
1129
1243
|
- lib/one_msg_sdk/models/send_sticker_request.rb
|
|
1130
1244
|
- lib/one_msg_sdk/models/send_template_request.rb
|
|
1131
1245
|
- lib/one_msg_sdk/models/send_template_request_language.rb
|
|
1246
|
+
- lib/one_msg_sdk/models/set_webhook200_response.rb
|
|
1247
|
+
- lib/one_msg_sdk/models/set_webhook200_response_webhook_url.rb
|
|
1248
|
+
- lib/one_msg_sdk/models/set_webhook_request.rb
|
|
1249
|
+
- lib/one_msg_sdk/models/set_webhook_request_webhook_url.rb
|
|
1132
1250
|
- lib/one_msg_sdk/models/set_whatsapp_business_encryption_request.rb
|
|
1133
1251
|
- lib/one_msg_sdk/models/success_response.rb
|
|
1134
1252
|
- lib/one_msg_sdk/models/update_calling_settings200_response.rb
|
|
1135
1253
|
- lib/one_msg_sdk/models/update_calling_settings200_response_response.rb
|
|
1254
|
+
- lib/one_msg_sdk/models/update_me200_response.rb
|
|
1136
1255
|
- lib/one_msg_sdk/models/update_me_request.rb
|
|
1256
|
+
- lib/one_msg_sdk/models/webhook_url_status.rb
|
|
1257
|
+
- lib/one_msg_sdk/platform_client.rb
|
|
1137
1258
|
- lib/one_msg_sdk/version.rb
|
|
1138
1259
|
- one_msg_sdk.gemspec
|
|
1139
1260
|
- spec/api/calling_api_spec.rb
|
|
@@ -1146,6 +1267,7 @@ files:
|
|
|
1146
1267
|
- spec/api/templates_api_spec.rb
|
|
1147
1268
|
- spec/api/users_api_spec.rb
|
|
1148
1269
|
- spec/api/webhooks_api_spec.rb
|
|
1270
|
+
- spec/models/add_template200_response_spec.rb
|
|
1149
1271
|
- spec/models/add_template_request_spec.rb
|
|
1150
1272
|
- spec/models/block_user_request_spec.rb
|
|
1151
1273
|
- spec/models/calling_settings_calling_audio_spec.rb
|
|
@@ -1160,17 +1282,26 @@ files:
|
|
|
1160
1282
|
- spec/models/create_commerce200_response_spec.rb
|
|
1161
1283
|
- spec/models/create_commerce_request_params_spec.rb
|
|
1162
1284
|
- spec/models/create_commerce_request_spec.rb
|
|
1285
|
+
- spec/models/create_flows_request_spec.rb
|
|
1163
1286
|
- spec/models/create_groups200_response_spec.rb
|
|
1287
|
+
- spec/models/create_groups_group_id_request_spec.rb
|
|
1288
|
+
- spec/models/create_groups_request_spec.rb
|
|
1164
1289
|
- spec/models/create_read_message200_response_spec.rb
|
|
1165
1290
|
- spec/models/create_read_message401_response_spec.rb
|
|
1166
1291
|
- spec/models/create_read_message_request_spec.rb
|
|
1292
|
+
- spec/models/create_settings_request_spec.rb
|
|
1293
|
+
- spec/models/create_settings_request_webhook_url_spec.rb
|
|
1294
|
+
- spec/models/create_upload_media200_response_spec.rb
|
|
1295
|
+
- spec/models/create_upload_media_request_spec.rb
|
|
1167
1296
|
- spec/models/delete_flows_flow_id200_response_spec.rb
|
|
1168
1297
|
- spec/models/delete_groups_group_id200_response_spec.rb
|
|
1169
1298
|
- spec/models/delete_media_legacy_request_spec.rb
|
|
1170
1299
|
- spec/models/error_response_spec.rb
|
|
1171
1300
|
- spec/models/get_commerce200_response_inner_spec.rb
|
|
1172
1301
|
- spec/models/get_mm_lite_status200_response_spec.rb
|
|
1302
|
+
- spec/models/get_status200_response_spec.rb
|
|
1173
1303
|
- spec/models/get_webhook200_response_spec.rb
|
|
1304
|
+
- spec/models/get_webhook200_response_webhook_url_spec.rb
|
|
1174
1305
|
- spec/models/get_whatsapp_business_encryption200_response_spec.rb
|
|
1175
1306
|
- spec/models/initiate_call_request_session_spec.rb
|
|
1176
1307
|
- spec/models/initiate_call_request_spec.rb
|
|
@@ -1180,16 +1311,24 @@ files:
|
|
|
1180
1311
|
- spec/models/list_blocked_users200_response_spec.rb
|
|
1181
1312
|
- spec/models/list_flows200_response_spec.rb
|
|
1182
1313
|
- spec/models/list_messages200_response_spec.rb
|
|
1314
|
+
- spec/models/list_settings200_response_spec.rb
|
|
1315
|
+
- spec/models/list_settings200_response_webhook_url_spec.rb
|
|
1183
1316
|
- spec/models/list_templates200_response_spec.rb
|
|
1184
1317
|
- spec/models/message_sent_response_spec.rb
|
|
1185
1318
|
- spec/models/patch_flows_flow_id_assets200_response_spec.rb
|
|
1319
|
+
- spec/models/patch_flows_flow_id_assets_request_spec.rb
|
|
1320
|
+
- spec/models/patch_flows_flow_id_metadata_request_spec.rb
|
|
1186
1321
|
- spec/models/profile_info_spec.rb
|
|
1322
|
+
- spec/models/remove_template_request_spec.rb
|
|
1187
1323
|
- spec/models/retrieve_media200_response_spec.rb
|
|
1188
1324
|
- spec/models/send_address_message_request_spec.rb
|
|
1189
1325
|
- spec/models/send_button_request_sections_inner_reply_spec.rb
|
|
1190
1326
|
- spec/models/send_button_request_sections_inner_spec.rb
|
|
1191
1327
|
- spec/models/send_button_request_spec.rb
|
|
1192
1328
|
- spec/models/send_carousel_request1_spec.rb
|
|
1329
|
+
- spec/models/send_contact_info_request_spec.rb
|
|
1330
|
+
- spec/models/send_contact_request_contact_name_spec.rb
|
|
1331
|
+
- spec/models/send_contact_request_contact_spec.rb
|
|
1193
1332
|
- spec/models/send_contact_request_contacts_inner_name_spec.rb
|
|
1194
1333
|
- spec/models/send_contact_request_contacts_inner_org_spec.rb
|
|
1195
1334
|
- spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb
|
|
@@ -1205,6 +1344,7 @@ files:
|
|
|
1205
1344
|
- spec/models/send_list_request_spec.rb
|
|
1206
1345
|
- spec/models/send_location_request1_spec.rb
|
|
1207
1346
|
- spec/models/send_location_request_request_spec.rb
|
|
1347
|
+
- spec/models/send_message_request_direct_send_spec.rb
|
|
1208
1348
|
- spec/models/send_message_request_spec.rb
|
|
1209
1349
|
- spec/models/send_order_details_request_language_spec.rb
|
|
1210
1350
|
- spec/models/send_order_details_request_order_items_inner_amount_spec.rb
|
|
@@ -1212,15 +1352,22 @@ files:
|
|
|
1212
1352
|
- spec/models/send_order_details_request_order_spec.rb
|
|
1213
1353
|
- spec/models/send_order_details_request_spec.rb
|
|
1214
1354
|
- spec/models/send_payment_request_request_spec.rb
|
|
1355
|
+
- spec/models/send_product_request_spec.rb
|
|
1215
1356
|
- spec/models/send_reaction_request_spec.rb
|
|
1216
1357
|
- spec/models/send_sticker_request_spec.rb
|
|
1217
1358
|
- spec/models/send_template_request_language_spec.rb
|
|
1218
1359
|
- spec/models/send_template_request_spec.rb
|
|
1360
|
+
- spec/models/set_webhook200_response_spec.rb
|
|
1361
|
+
- spec/models/set_webhook200_response_webhook_url_spec.rb
|
|
1362
|
+
- spec/models/set_webhook_request_spec.rb
|
|
1363
|
+
- spec/models/set_webhook_request_webhook_url_spec.rb
|
|
1219
1364
|
- spec/models/set_whatsapp_business_encryption_request_spec.rb
|
|
1220
1365
|
- spec/models/success_response_spec.rb
|
|
1221
1366
|
- spec/models/update_calling_settings200_response_response_spec.rb
|
|
1222
1367
|
- spec/models/update_calling_settings200_response_spec.rb
|
|
1368
|
+
- spec/models/update_me200_response_spec.rb
|
|
1223
1369
|
- spec/models/update_me_request_spec.rb
|
|
1370
|
+
- spec/models/webhook_url_status_spec.rb
|
|
1224
1371
|
- spec/spec_helper.rb
|
|
1225
1372
|
homepage: https://github.com/1msg/1msg-sdk
|
|
1226
1373
|
licenses:
|
|
@@ -1258,16 +1405,21 @@ test_files:
|
|
|
1258
1405
|
- spec/api/profile_api_spec.rb
|
|
1259
1406
|
- spec/models/get_mm_lite_status200_response_spec.rb
|
|
1260
1407
|
- spec/models/send_button_request_spec.rb
|
|
1408
|
+
- spec/models/send_product_request_spec.rb
|
|
1261
1409
|
- spec/models/send_file_request_spec.rb
|
|
1262
1410
|
- spec/models/send_message_request_spec.rb
|
|
1263
1411
|
- spec/models/list_templates200_response_spec.rb
|
|
1412
|
+
- spec/models/add_template200_response_spec.rb
|
|
1413
|
+
- spec/models/get_status200_response_spec.rb
|
|
1264
1414
|
- spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb
|
|
1265
1415
|
- spec/models/send_order_details_request_order_spec.rb
|
|
1266
1416
|
- spec/models/send_button_request_sections_inner_spec.rb
|
|
1417
|
+
- spec/models/send_contact_info_request_spec.rb
|
|
1267
1418
|
- spec/models/create_commerce_request_params_spec.rb
|
|
1268
1419
|
- spec/models/profile_info_spec.rb
|
|
1269
1420
|
- spec/models/delete_media_legacy_request_spec.rb
|
|
1270
1421
|
- spec/models/send_order_details_request_order_items_inner_spec.rb
|
|
1422
|
+
- spec/models/get_webhook200_response_webhook_url_spec.rb
|
|
1271
1423
|
- spec/models/get_webhook200_response_spec.rb
|
|
1272
1424
|
- spec/models/add_template_request_spec.rb
|
|
1273
1425
|
- spec/models/send_address_message_request_spec.rb
|
|
@@ -1275,26 +1427,39 @@ test_files:
|
|
|
1275
1427
|
- spec/models/initiate_call_request_session_spec.rb
|
|
1276
1428
|
- spec/models/error_response_spec.rb
|
|
1277
1429
|
- spec/models/calling_settings_calling_sip_spec.rb
|
|
1430
|
+
- spec/models/webhook_url_status_spec.rb
|
|
1278
1431
|
- spec/models/send_flow_request1_spec.rb
|
|
1432
|
+
- spec/models/update_me200_response_spec.rb
|
|
1279
1433
|
- spec/models/send_contact_request_spec.rb
|
|
1280
1434
|
- spec/models/send_flow_request1_header_spec.rb
|
|
1435
|
+
- spec/models/create_groups_request_spec.rb
|
|
1436
|
+
- spec/models/create_settings_request_webhook_url_spec.rb
|
|
1281
1437
|
- spec/models/send_order_details_request_language_spec.rb
|
|
1438
|
+
- spec/models/create_settings_request_spec.rb
|
|
1282
1439
|
- spec/models/send_location_request_request_spec.rb
|
|
1440
|
+
- spec/models/create_groups_group_id_request_spec.rb
|
|
1283
1441
|
- spec/models/initiate_call_response_response_spec.rb
|
|
1284
1442
|
- spec/models/send_carousel_request1_spec.rb
|
|
1285
1443
|
- spec/models/get_commerce200_response_inner_spec.rb
|
|
1286
1444
|
- spec/models/block_user_request_spec.rb
|
|
1445
|
+
- spec/models/create_upload_media200_response_spec.rb
|
|
1287
1446
|
- spec/models/delete_groups_group_id200_response_spec.rb
|
|
1288
1447
|
- spec/models/send_list_request_sections_inner_spec.rb
|
|
1448
|
+
- spec/models/set_webhook200_response_webhook_url_spec.rb
|
|
1449
|
+
- spec/models/send_contact_request_contact_name_spec.rb
|
|
1289
1450
|
- spec/models/create_read_message401_response_spec.rb
|
|
1290
1451
|
- spec/models/send_reaction_request_spec.rb
|
|
1291
1452
|
- spec/models/create_commerce200_response_spec.rb
|
|
1292
1453
|
- spec/models/send_cta_url_request_spec.rb
|
|
1293
1454
|
- spec/models/create_groups200_response_spec.rb
|
|
1455
|
+
- spec/models/set_webhook200_response_spec.rb
|
|
1294
1456
|
- spec/models/initiate_call_response_spec.rb
|
|
1295
1457
|
- spec/models/send_button_request_sections_inner_reply_spec.rb
|
|
1296
1458
|
- spec/models/calling_settings_calling_video_spec.rb
|
|
1297
1459
|
- spec/models/create_read_message200_response_spec.rb
|
|
1460
|
+
- spec/models/set_webhook_request_webhook_url_spec.rb
|
|
1461
|
+
- spec/models/patch_flows_flow_id_assets_request_spec.rb
|
|
1462
|
+
- spec/models/patch_flows_flow_id_metadata_request_spec.rb
|
|
1298
1463
|
- spec/models/list_messages200_response_spec.rb
|
|
1299
1464
|
- spec/models/send_contact_request_contacts_inner_spec.rb
|
|
1300
1465
|
- spec/models/create_commerce_request_spec.rb
|
|
@@ -1306,12 +1471,18 @@ test_files:
|
|
|
1306
1471
|
- spec/models/list_blocked_users200_response_spec.rb
|
|
1307
1472
|
- spec/models/send_location_request1_spec.rb
|
|
1308
1473
|
- spec/models/message_sent_response_spec.rb
|
|
1474
|
+
- spec/models/list_settings200_response_webhook_url_spec.rb
|
|
1475
|
+
- spec/models/send_message_request_direct_send_spec.rb
|
|
1309
1476
|
- spec/models/initiate_call_request_spec.rb
|
|
1477
|
+
- spec/models/set_webhook_request_spec.rb
|
|
1310
1478
|
- spec/models/update_calling_settings200_response_spec.rb
|
|
1311
1479
|
- spec/models/list_flows200_response_spec.rb
|
|
1480
|
+
- spec/models/send_contact_request_contact_spec.rb
|
|
1481
|
+
- spec/models/list_settings200_response_spec.rb
|
|
1312
1482
|
- spec/models/send_flow_request_header_spec.rb
|
|
1313
1483
|
- spec/models/retrieve_media200_response_spec.rb
|
|
1314
1484
|
- spec/models/set_whatsapp_business_encryption_request_spec.rb
|
|
1485
|
+
- spec/models/create_flows_request_spec.rb
|
|
1315
1486
|
- spec/models/send_contact_request_contacts_inner_org_spec.rb
|
|
1316
1487
|
- spec/models/get_whatsapp_business_encryption200_response_spec.rb
|
|
1317
1488
|
- spec/models/calling_settings_spec.rb
|
|
@@ -1328,6 +1499,8 @@ test_files:
|
|
|
1328
1499
|
- spec/models/send_order_details_request_spec.rb
|
|
1329
1500
|
- spec/models/success_response_spec.rb
|
|
1330
1501
|
- spec/models/send_sticker_request_spec.rb
|
|
1502
|
+
- spec/models/remove_template_request_spec.rb
|
|
1503
|
+
- spec/models/create_upload_media_request_spec.rb
|
|
1331
1504
|
- spec/models/calling_settings_calling_sip_servers_inner_spec.rb
|
|
1332
1505
|
- spec/models/conversational_automation_spec.rb
|
|
1333
1506
|
- spec/models/initiate_call_response_calls_inner_spec.rb
|