one_msg_sdk 2.0.1 → 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.
Files changed (298) hide show
  1. checksums.yaml +4 -4
  2. data/AGENTS.md +65 -19
  3. data/README.md +102 -34
  4. data/docs/AddTemplate200Response.md +18 -0
  5. data/docs/AddTemplateRequest.md +7 -7
  6. data/docs/CallingApi.md +27 -31
  7. data/docs/CallingSettings.md +18 -0
  8. data/docs/CallingSettingsCalling.md +38 -0
  9. data/docs/CallingSettingsCallingAudio.md +18 -0
  10. data/docs/CallingSettingsCallingCallHours.md +22 -0
  11. data/docs/CallingSettingsCallingSip.md +20 -0
  12. data/docs/CallingSettingsCallingSipServersInner.md +28 -0
  13. data/docs/CallingSettingsCallingVideo.md +18 -0
  14. data/docs/CatalogApi.md +1 -1
  15. data/docs/ChannelApi.md +151 -5
  16. data/docs/CreateFlowsRequest.md +26 -0
  17. data/docs/CreateGroupsGroupIdRequest.md +22 -0
  18. data/docs/CreateGroupsRequest.md +20 -0
  19. data/docs/CreateSettingsRequest.md +28 -0
  20. data/docs/CreateSettingsRequestWebhookUrl.md +49 -0
  21. data/docs/CreateUploadMedia200Response.md +18 -0
  22. data/docs/CreateUploadMediaRequest.md +20 -0
  23. data/docs/FlowsApi.md +32 -16
  24. data/docs/GetStatus200Response.md +26 -0
  25. data/docs/GetWebhook200Response.md +24 -2
  26. data/docs/GetWebhook200ResponseWebhookUrl.md +49 -0
  27. data/docs/GroupsApi.md +38 -18
  28. data/docs/InitiateCallRequest.md +28 -0
  29. data/docs/InitiateCallRequestSession.md +20 -0
  30. data/docs/InitiateCallResponse.md +26 -0
  31. data/docs/InitiateCallResponseCallsInner.md +18 -0
  32. data/docs/InitiateCallResponseResponse.md +18 -0
  33. data/docs/ListSettings200Response.md +52 -0
  34. data/docs/ListSettings200ResponseWebhookUrl.md +49 -0
  35. data/docs/MessagingApi.md +140 -35
  36. data/docs/PatchFlowsFlowIdAssetsRequest.md +18 -0
  37. data/docs/PatchFlowsFlowIdMetadataRequest.md +22 -0
  38. data/docs/ProfileApi.md +9 -11
  39. data/docs/RemoveTemplateRequest.md +18 -0
  40. data/docs/SendButtonRequest.md +9 -1
  41. data/docs/SendCarouselRequest1.md +4 -2
  42. data/docs/SendContactInfoRequest.md +26 -0
  43. data/docs/SendContactRequest.md +7 -1
  44. data/docs/SendContactRequestContact.md +26 -0
  45. data/docs/SendContactRequestContactName.md +49 -0
  46. data/docs/SendContactRequestContactsInner.md +3 -3
  47. data/docs/SendContactRequestContactsInnerPhonesInner.md +1 -1
  48. data/docs/SendListRequest.md +5 -1
  49. data/docs/SendLocationRequestRequest.md +5 -1
  50. data/docs/SendMessageRequest.md +6 -2
  51. data/docs/SendMessageRequestDirectSend.md +20 -0
  52. data/docs/SendProductRequest.md +30 -0
  53. data/docs/SendReactionRequest.md +3 -1
  54. data/docs/SendTemplateRequest.md +9 -5
  55. data/docs/SendTemplateRequestLanguage.md +3 -3
  56. data/docs/SetWebhook200Response.md +20 -0
  57. data/docs/SetWebhook200ResponseWebhookUrl.md +49 -0
  58. data/docs/SetWebhookRequest.md +18 -0
  59. data/docs/SetWebhookRequestWebhookUrl.md +49 -0
  60. data/docs/TemplatesApi.md +29 -17
  61. data/docs/UpdateCallingSettings200Response.md +22 -0
  62. data/docs/UpdateCallingSettings200ResponseResponse.md +18 -0
  63. data/docs/UpdateMe200Response.md +18 -0
  64. data/docs/UpdateMeRequest.md +6 -6
  65. data/docs/WebhookUrlStatus.md +34 -0
  66. data/docs/WebhooksApi.md +10 -12
  67. data/lib/one_msg_sdk/api/calling_api.rb +39 -31
  68. data/lib/one_msg_sdk/api/catalog_api.rb +4 -4
  69. data/lib/one_msg_sdk/api/channel_api.rb +146 -7
  70. data/lib/one_msg_sdk/api/flows_api.rb +58 -14
  71. data/lib/one_msg_sdk/api/groups_api.rb +48 -10
  72. data/lib/one_msg_sdk/api/messaging_api.rb +163 -38
  73. data/lib/one_msg_sdk/api/profile_api.rb +17 -13
  74. data/lib/one_msg_sdk/api/templates_api.rb +36 -13
  75. data/lib/one_msg_sdk/api/users_api.rb +2 -2
  76. data/lib/one_msg_sdk/api/webhooks_api.rb +19 -15
  77. data/lib/one_msg_sdk/api_client.rb +2 -2
  78. data/lib/one_msg_sdk/api_error.rb +2 -2
  79. data/lib/one_msg_sdk/api_model_base.rb +2 -2
  80. data/lib/one_msg_sdk/configuration.rb +2 -2
  81. data/lib/one_msg_sdk/models/add_template200_response.rb +150 -0
  82. data/lib/one_msg_sdk/models/add_template_request.rb +6 -2
  83. data/lib/one_msg_sdk/models/block_user_request.rb +2 -2
  84. data/lib/one_msg_sdk/models/calling_settings.rb +148 -0
  85. data/lib/one_msg_sdk/models/calling_settings_calling.rb +321 -0
  86. data/lib/one_msg_sdk/models/calling_settings_calling_audio.rb +148 -0
  87. data/lib/one_msg_sdk/models/calling_settings_calling_call_hours.rb +166 -0
  88. data/lib/one_msg_sdk/models/calling_settings_calling_sip.rb +193 -0
  89. data/lib/one_msg_sdk/models/calling_settings_calling_sip_servers_inner.rb +196 -0
  90. data/lib/one_msg_sdk/models/calling_settings_calling_video.rb +182 -0
  91. data/lib/one_msg_sdk/models/conversational_automation.rb +2 -2
  92. data/lib/one_msg_sdk/models/conversational_automation_commands_inner.rb +2 -2
  93. data/lib/one_msg_sdk/models/create_commerce200_response.rb +2 -2
  94. data/lib/one_msg_sdk/models/create_commerce_request.rb +2 -2
  95. data/lib/one_msg_sdk/models/create_commerce_request_params.rb +2 -2
  96. data/lib/one_msg_sdk/models/create_flows_request.rb +238 -0
  97. data/lib/one_msg_sdk/models/create_groups200_response.rb +2 -2
  98. data/lib/one_msg_sdk/models/create_groups_group_id_request.rb +168 -0
  99. data/lib/one_msg_sdk/models/create_groups_request.rb +175 -0
  100. data/lib/one_msg_sdk/models/create_read_message200_response.rb +2 -2
  101. data/lib/one_msg_sdk/models/create_read_message401_response.rb +2 -2
  102. data/lib/one_msg_sdk/models/create_read_message_request.rb +2 -2
  103. data/lib/one_msg_sdk/models/create_settings_request.rb +192 -0
  104. data/lib/one_msg_sdk/models/create_settings_request_webhook_url.rb +105 -0
  105. data/lib/one_msg_sdk/models/create_upload_media200_response.rb +147 -0
  106. data/lib/one_msg_sdk/models/create_upload_media_request.rb +158 -0
  107. data/lib/one_msg_sdk/models/delete_flows_flow_id200_response.rb +2 -2
  108. data/lib/one_msg_sdk/models/delete_groups_group_id200_response.rb +2 -2
  109. data/lib/one_msg_sdk/models/delete_media_legacy_request.rb +2 -2
  110. data/lib/one_msg_sdk/models/error_response.rb +2 -2
  111. data/lib/one_msg_sdk/models/get_commerce200_response_inner.rb +2 -2
  112. data/lib/one_msg_sdk/models/get_mm_lite_status200_response.rb +2 -2
  113. data/lib/one_msg_sdk/models/get_status200_response.rb +185 -0
  114. data/lib/one_msg_sdk/models/get_webhook200_response.rb +155 -6
  115. data/lib/one_msg_sdk/models/get_webhook200_response_webhook_url.rb +105 -0
  116. data/lib/one_msg_sdk/models/get_whatsapp_business_encryption200_response.rb +2 -2
  117. data/lib/one_msg_sdk/models/initiate_call_request.rb +277 -0
  118. data/lib/one_msg_sdk/models/initiate_call_request_session.rb +217 -0
  119. data/lib/one_msg_sdk/models/initiate_call_response.rb +188 -0
  120. data/lib/one_msg_sdk/models/initiate_call_response_calls_inner.rb +147 -0
  121. data/lib/one_msg_sdk/models/initiate_call_response_response.rb +148 -0
  122. data/lib/one_msg_sdk/models/list_blocked_users200_response.rb +2 -2
  123. data/lib/one_msg_sdk/models/list_flows200_response.rb +2 -2
  124. data/lib/one_msg_sdk/models/list_messages200_response.rb +2 -2
  125. data/lib/one_msg_sdk/models/list_settings200_response.rb +352 -0
  126. data/lib/one_msg_sdk/models/list_settings200_response_webhook_url.rb +105 -0
  127. data/lib/one_msg_sdk/models/list_templates200_response.rb +2 -2
  128. data/lib/one_msg_sdk/models/message_sent_response.rb +2 -2
  129. data/lib/one_msg_sdk/models/patch_flows_flow_id_assets200_response.rb +2 -2
  130. data/lib/one_msg_sdk/models/patch_flows_flow_id_assets_request.rb +167 -0
  131. data/lib/one_msg_sdk/models/patch_flows_flow_id_metadata_request.rb +190 -0
  132. data/lib/one_msg_sdk/models/profile_info.rb +2 -2
  133. data/lib/one_msg_sdk/models/remove_template_request.rb +165 -0
  134. data/lib/one_msg_sdk/models/retrieve_media200_response.rb +2 -2
  135. data/lib/one_msg_sdk/models/send_address_message_request.rb +2 -2
  136. data/lib/one_msg_sdk/models/send_button_request.rb +48 -3
  137. data/lib/one_msg_sdk/models/send_button_request_sections_inner.rb +2 -2
  138. data/lib/one_msg_sdk/models/send_button_request_sections_inner_reply.rb +2 -2
  139. data/lib/one_msg_sdk/models/send_carousel_request1.rb +38 -13
  140. data/lib/one_msg_sdk/models/send_contact_info_request.rb +222 -0
  141. data/lib/one_msg_sdk/models/send_contact_request.rb +32 -3
  142. data/lib/one_msg_sdk/models/send_contact_request_contact.rb +221 -0
  143. data/lib/one_msg_sdk/models/send_contact_request_contact_name.rb +105 -0
  144. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner.rb +5 -5
  145. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_name.rb +2 -2
  146. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_org.rb +2 -2
  147. data/lib/one_msg_sdk/models/send_contact_request_contacts_inner_phones_inner.rb +3 -2
  148. data/lib/one_msg_sdk/models/send_cta_url_request.rb +2 -2
  149. data/lib/one_msg_sdk/models/send_file_request.rb +2 -2
  150. data/lib/one_msg_sdk/models/send_flow_request1.rb +2 -2
  151. data/lib/one_msg_sdk/models/send_flow_request1_header.rb +2 -2
  152. data/lib/one_msg_sdk/models/send_flow_request_header.rb +2 -2
  153. data/lib/one_msg_sdk/models/send_list_request.rb +23 -3
  154. data/lib/one_msg_sdk/models/send_list_request_sections_inner.rb +2 -2
  155. data/lib/one_msg_sdk/models/send_list_request_sections_inner_rows_inner.rb +2 -2
  156. data/lib/one_msg_sdk/models/send_location_request1.rb +2 -2
  157. data/lib/one_msg_sdk/models/send_location_request_request.rb +23 -3
  158. data/lib/one_msg_sdk/models/send_message_request.rb +60 -28
  159. data/lib/one_msg_sdk/models/send_message_request_direct_send.rb +189 -0
  160. data/lib/one_msg_sdk/models/send_order_details_request.rb +2 -2
  161. data/lib/one_msg_sdk/models/send_order_details_request_language.rb +2 -2
  162. data/lib/one_msg_sdk/models/send_order_details_request_order.rb +2 -2
  163. data/lib/one_msg_sdk/models/send_order_details_request_order_items_inner.rb +2 -2
  164. data/lib/one_msg_sdk/models/send_order_details_request_order_items_inner_amount.rb +2 -2
  165. data/lib/one_msg_sdk/models/send_payment_request_request.rb +2 -2
  166. data/lib/one_msg_sdk/models/send_product_request.rb +225 -0
  167. data/lib/one_msg_sdk/models/send_reaction_request.rb +14 -3
  168. data/lib/one_msg_sdk/models/send_sticker_request.rb +2 -2
  169. data/lib/one_msg_sdk/models/send_template_request.rb +29 -5
  170. data/lib/one_msg_sdk/models/send_template_request_language.rb +6 -2
  171. data/lib/one_msg_sdk/models/set_webhook200_response.rb +157 -0
  172. data/lib/one_msg_sdk/models/set_webhook200_response_webhook_url.rb +105 -0
  173. data/lib/one_msg_sdk/models/set_webhook_request.rb +164 -0
  174. data/lib/one_msg_sdk/models/set_webhook_request_webhook_url.rb +105 -0
  175. data/lib/one_msg_sdk/models/set_whatsapp_business_encryption_request.rb +2 -2
  176. data/lib/one_msg_sdk/models/success_response.rb +2 -2
  177. data/lib/one_msg_sdk/models/update_calling_settings200_response.rb +165 -0
  178. data/lib/one_msg_sdk/models/update_calling_settings200_response_response.rb +147 -0
  179. data/lib/one_msg_sdk/models/update_me200_response.rb +147 -0
  180. data/lib/one_msg_sdk/models/update_me_request.rb +6 -3
  181. data/lib/one_msg_sdk/models/webhook_url_status.rb +287 -0
  182. data/lib/one_msg_sdk/platform_client.rb +182 -0
  183. data/lib/one_msg_sdk/version.rb +3 -3
  184. data/lib/one_msg_sdk.rb +44 -2
  185. data/one_msg_sdk.gemspec +2 -2
  186. data/spec/api/calling_api_spec.rb +11 -11
  187. data/spec/api/catalog_api_spec.rb +3 -3
  188. data/spec/api/channel_api_spec.rb +29 -4
  189. data/spec/api/flows_api_spec.rb +10 -2
  190. data/spec/api/groups_api_spec.rb +10 -2
  191. data/spec/api/messaging_api_spec.rb +37 -9
  192. data/spec/api/profile_api_spec.rb +5 -5
  193. data/spec/api/templates_api_spec.rb +11 -5
  194. data/spec/api/users_api_spec.rb +2 -2
  195. data/spec/api/webhooks_api_spec.rb +6 -6
  196. data/spec/models/add_template200_response_spec.rb +36 -0
  197. data/spec/models/add_template_request_spec.rb +2 -2
  198. data/spec/models/block_user_request_spec.rb +2 -2
  199. data/spec/models/calling_settings_calling_audio_spec.rb +36 -0
  200. data/spec/models/calling_settings_calling_call_hours_spec.rb +48 -0
  201. data/spec/models/calling_settings_calling_sip_servers_inner_spec.rb +66 -0
  202. data/spec/models/calling_settings_calling_sip_spec.rb +46 -0
  203. data/spec/models/calling_settings_calling_spec.rb +112 -0
  204. data/spec/models/calling_settings_calling_video_spec.rb +40 -0
  205. data/spec/models/calling_settings_spec.rb +36 -0
  206. data/spec/models/conversational_automation_commands_inner_spec.rb +2 -2
  207. data/spec/models/conversational_automation_spec.rb +2 -2
  208. data/spec/models/create_commerce200_response_spec.rb +2 -2
  209. data/spec/models/create_commerce_request_params_spec.rb +2 -2
  210. data/spec/models/create_commerce_request_spec.rb +2 -2
  211. data/spec/models/create_flows_request_spec.rb +64 -0
  212. data/spec/models/create_groups200_response_spec.rb +2 -2
  213. data/spec/models/create_groups_group_id_request_spec.rb +48 -0
  214. data/spec/models/create_groups_request_spec.rb +42 -0
  215. data/spec/models/create_read_message200_response_spec.rb +2 -2
  216. data/spec/models/create_read_message401_response_spec.rb +2 -2
  217. data/spec/models/create_read_message_request_spec.rb +2 -2
  218. data/spec/models/create_settings_request_spec.rb +66 -0
  219. data/spec/models/create_settings_request_webhook_url_spec.rb +32 -0
  220. data/spec/models/create_upload_media200_response_spec.rb +36 -0
  221. data/spec/models/create_upload_media_request_spec.rb +42 -0
  222. data/spec/models/delete_flows_flow_id200_response_spec.rb +2 -2
  223. data/spec/models/delete_groups_group_id200_response_spec.rb +2 -2
  224. data/spec/models/delete_media_legacy_request_spec.rb +2 -2
  225. data/spec/models/error_response_spec.rb +2 -2
  226. data/spec/models/get_commerce200_response_inner_spec.rb +2 -2
  227. data/spec/models/get_mm_lite_status200_response_spec.rb +2 -2
  228. data/spec/models/get_status200_response_spec.rb +60 -0
  229. data/spec/models/get_webhook200_response_spec.rb +72 -2
  230. data/spec/models/get_webhook200_response_webhook_url_spec.rb +32 -0
  231. data/spec/models/get_whatsapp_business_encryption200_response_spec.rb +2 -2
  232. data/spec/models/initiate_call_request_session_spec.rb +46 -0
  233. data/spec/models/initiate_call_request_spec.rb +74 -0
  234. data/spec/models/initiate_call_response_calls_inner_spec.rb +36 -0
  235. data/spec/models/initiate_call_response_response_spec.rb +36 -0
  236. data/spec/models/initiate_call_response_spec.rb +60 -0
  237. data/spec/models/list_blocked_users200_response_spec.rb +2 -2
  238. data/spec/models/list_flows200_response_spec.rb +2 -2
  239. data/spec/models/list_messages200_response_spec.rb +2 -2
  240. data/spec/models/list_settings200_response_spec.rb +142 -0
  241. data/spec/models/list_settings200_response_webhook_url_spec.rb +32 -0
  242. data/spec/models/list_templates200_response_spec.rb +2 -2
  243. data/spec/models/message_sent_response_spec.rb +2 -2
  244. data/spec/models/patch_flows_flow_id_assets200_response_spec.rb +2 -2
  245. data/spec/models/patch_flows_flow_id_assets_request_spec.rb +36 -0
  246. data/spec/models/patch_flows_flow_id_metadata_request_spec.rb +52 -0
  247. data/spec/models/profile_info_spec.rb +2 -2
  248. data/spec/models/remove_template_request_spec.rb +36 -0
  249. data/spec/models/retrieve_media200_response_spec.rb +2 -2
  250. data/spec/models/send_address_message_request_spec.rb +2 -2
  251. data/spec/models/send_button_request_sections_inner_reply_spec.rb +2 -2
  252. data/spec/models/send_button_request_sections_inner_spec.rb +2 -2
  253. data/spec/models/send_button_request_spec.rb +26 -2
  254. data/spec/models/send_carousel_request1_spec.rb +8 -2
  255. data/spec/models/send_contact_info_request_spec.rb +60 -0
  256. data/spec/models/send_contact_request_contact_name_spec.rb +32 -0
  257. data/spec/models/send_contact_request_contact_spec.rb +60 -0
  258. data/spec/models/send_contact_request_contacts_inner_name_spec.rb +2 -2
  259. data/spec/models/send_contact_request_contacts_inner_org_spec.rb +2 -2
  260. data/spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb +2 -2
  261. data/spec/models/send_contact_request_contacts_inner_spec.rb +2 -2
  262. data/spec/models/send_contact_request_spec.rb +20 -2
  263. data/spec/models/send_cta_url_request_spec.rb +2 -2
  264. data/spec/models/send_file_request_spec.rb +2 -2
  265. data/spec/models/send_flow_request1_header_spec.rb +2 -2
  266. data/spec/models/send_flow_request1_spec.rb +2 -2
  267. data/spec/models/send_flow_request_header_spec.rb +2 -2
  268. data/spec/models/send_list_request_sections_inner_rows_inner_spec.rb +2 -2
  269. data/spec/models/send_list_request_sections_inner_spec.rb +2 -2
  270. data/spec/models/send_list_request_spec.rb +14 -2
  271. data/spec/models/send_location_request1_spec.rb +2 -2
  272. data/spec/models/send_location_request_request_spec.rb +14 -2
  273. data/spec/models/send_message_request_direct_send_spec.rb +42 -0
  274. data/spec/models/send_message_request_spec.rb +18 -2
  275. data/spec/models/send_order_details_request_language_spec.rb +2 -2
  276. data/spec/models/send_order_details_request_order_items_inner_amount_spec.rb +2 -2
  277. data/spec/models/send_order_details_request_order_items_inner_spec.rb +2 -2
  278. data/spec/models/send_order_details_request_order_spec.rb +2 -2
  279. data/spec/models/send_order_details_request_spec.rb +2 -2
  280. data/spec/models/send_payment_request_request_spec.rb +2 -2
  281. data/spec/models/send_product_request_spec.rb +72 -0
  282. data/spec/models/send_reaction_request_spec.rb +8 -2
  283. data/spec/models/send_sticker_request_spec.rb +2 -2
  284. data/spec/models/send_template_request_language_spec.rb +2 -2
  285. data/spec/models/send_template_request_spec.rb +14 -2
  286. data/spec/models/set_webhook200_response_spec.rb +42 -0
  287. data/spec/models/set_webhook200_response_webhook_url_spec.rb +32 -0
  288. data/spec/models/set_webhook_request_spec.rb +36 -0
  289. data/spec/models/set_webhook_request_webhook_url_spec.rb +32 -0
  290. data/spec/models/set_whatsapp_business_encryption_request_spec.rb +2 -2
  291. data/spec/models/success_response_spec.rb +2 -2
  292. data/spec/models/update_calling_settings200_response_response_spec.rb +36 -0
  293. data/spec/models/update_calling_settings200_response_spec.rb +48 -0
  294. data/spec/models/update_me200_response_spec.rb +36 -0
  295. data/spec/models/update_me_request_spec.rb +2 -2
  296. data/spec/models/webhook_url_status_spec.rb +88 -0
  297. data/spec/spec_helper.rb +2 -2
  298. metadata +319 -89
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.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 1MSG
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-29 00:00:00.000000000 Z
11
+ date: 2026-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -79,39 +79,42 @@ dependencies:
79
79
  - !ruby/object:Gem::Version
80
80
  version: 3.6.0
81
81
  description: |+
82
- # 1msg Ruby SDK
82
+ # 1MSG Ruby SDK
83
83
 
84
- Official Ruby SDK for the **1msg WhatsApp Business API**.
84
+ Official Ruby SDK for the **1MSG WhatsApp Business API**.
85
85
 
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** | [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** | [platform.1msg.io](https://platform.1msg.io/) |
95
- | **Support** | support@1msg.io |
96
- | **OpenAPI version** | 1.0.0 |
97
- | **Operations** | 60 |
98
- | **AI agent guide** | [AGENTS.md](./AGENTS.md) |
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.1
108
+ gem install one_msg_sdk -v 2.0.3
106
109
  ```
107
110
 
108
111
  ## Requirements
109
112
 
110
- | Variable | Where to get it | Example |
111
- |----------|-----------------|---------|
112
- | `baseUrl` | Platform → channel → API host | `https://api.1msg.io` |
113
- | `instanceId` | Platform → channel id | `ODI371267300` |
114
- | `token` | Platform → channel → API token | JWT or API key |
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
 
@@ -181,7 +184,7 @@ description: |+
181
184
 
182
185
  Get calling settings
183
186
 
184
- WhatsApp Calling API settings (beta). Requires Meta Calling enablement on the WABA. Not production-complete — paths and webhook field names may change. Trial/subscription-limited channels are blocked.
187
+ Return WhatsApp Calling API settings for this channel (beta). Proxies upstream `GET /calling/settings`. **Prerequisites** - Number must be eligible for Meta Calling (Cloud API; not COEX) - Trial / `subscriptionBlocked` channels receive **403** plain text - You need your own WebRTC or SIP stack; 1msg is a **signaling proxy** only and does **not** store call history or recordings See the **Calling** tag overview for inbound/outbound flows and webhooks.
185
188
 
186
189
  ```yaml
187
190
  http: GET /callingSettings
@@ -192,9 +195,9 @@ description: |+
192
195
 
193
196
  #### `initiateCall`
194
197
 
195
- Initiate WhatsApp call
198
+ Call action (connect / pre_accept / accept / reject / terminate)
196
199
 
197
- Outbound Calling API (beta). Requires Meta Calling enablement and product consent. Not production-complete — verify on stage before relying on this in production. Trial/subscription-limited channels are blocked.
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
@@ -207,7 +210,7 @@ description: |+
207
210
 
208
211
  Update calling settings
209
212
 
210
- Update WhatsApp Calling API settings (beta). Requires Meta Calling enablement. Trial/subscription-limited channels are blocked.
213
+ Enable, disable, or update WhatsApp Calling settings (beta). Proxies upstream `POST /calling/settings`. Body is forwarded as-is (1msg does not validate fields). **Common fields under `calling`** - `status` (`ENABLED` | `DISABLED`) — required to turn calling on/off - `call_icon_visibility` (`DEFAULT` | `DISABLE_ALL`) — optional - `callback_permission_status` (`ENABLED` | `DISABLED`) — optional; when enabled, inbound user calls grant callback permission - `call_hours` — optional hours / timezone object - `sip` — optional SIP trunk; when SIP is ENABLED, Graph call actions and calling webhooks are not used - `srtp_key_exchange_protocol` (`DTLS` | `SDES`) — SDES only with SIP - `video.status` — optional Meta may accept only one feature group per request — prefer focused updates (e.g. enable status first, then SIP). Trial / `subscriptionBlocked` → **403** plain text.
211
214
 
212
215
  ```yaml
213
216
  http: POST /callingSettings
@@ -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
- Returns WhatsApp Business API client connection status.
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 sending a Catalog Carousel there can be either 1 URL button or one or more quick reply buttons.
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
- Get WhatsApp Business Account profile information
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). For India order/invoice payments outside 24h, include a button component: ```json { "type": "button", "sub_type": "order_details", "index": 0, "parameters": [{ "type": "action", "action": { "order_details": { "reference_id": "...", "currency": "INR", "order": {} } } }] } ``` Convenience wrapper with structured fields: `POST /sendOrderDetails`.
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
- Returns the configured client webhook URL for this channel.
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
- Configure the client webhook URL for inbound events.
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,9 +1026,17 @@ 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
1033
+ - docs/CallingSettings.md
1034
+ - docs/CallingSettingsCalling.md
1035
+ - docs/CallingSettingsCallingAudio.md
1036
+ - docs/CallingSettingsCallingCallHours.md
1037
+ - docs/CallingSettingsCallingSip.md
1038
+ - docs/CallingSettingsCallingSipServersInner.md
1039
+ - docs/CallingSettingsCallingVideo.md
964
1040
  - docs/CatalogApi.md
965
1041
  - docs/ChannelApi.md
966
1042
  - docs/ConversationalAutomation.md
@@ -968,10 +1044,17 @@ files:
968
1044
  - docs/CreateCommerce200Response.md
969
1045
  - docs/CreateCommerceRequest.md
970
1046
  - docs/CreateCommerceRequestParams.md
1047
+ - docs/CreateFlowsRequest.md
971
1048
  - docs/CreateGroups200Response.md
1049
+ - docs/CreateGroupsGroupIdRequest.md
1050
+ - docs/CreateGroupsRequest.md
972
1051
  - docs/CreateReadMessage200Response.md
973
1052
  - docs/CreateReadMessage401Response.md
974
1053
  - docs/CreateReadMessageRequest.md
1054
+ - docs/CreateSettingsRequest.md
1055
+ - docs/CreateSettingsRequestWebhookUrl.md
1056
+ - docs/CreateUploadMedia200Response.md
1057
+ - docs/CreateUploadMediaRequest.md
975
1058
  - docs/DeleteFlowsFlowId200Response.md
976
1059
  - docs/DeleteGroupsGroupId200Response.md
977
1060
  - docs/DeleteMediaLegacyRequest.md
@@ -979,25 +1062,40 @@ files:
979
1062
  - docs/FlowsApi.md
980
1063
  - docs/GetCommerce200ResponseInner.md
981
1064
  - docs/GetMmLiteStatus200Response.md
1065
+ - docs/GetStatus200Response.md
982
1066
  - docs/GetWebhook200Response.md
1067
+ - docs/GetWebhook200ResponseWebhookUrl.md
983
1068
  - docs/GetWhatsappBusinessEncryption200Response.md
984
1069
  - docs/GroupsApi.md
1070
+ - docs/InitiateCallRequest.md
1071
+ - docs/InitiateCallRequestSession.md
1072
+ - docs/InitiateCallResponse.md
1073
+ - docs/InitiateCallResponseCallsInner.md
1074
+ - docs/InitiateCallResponseResponse.md
985
1075
  - docs/ListBlockedUsers200Response.md
986
1076
  - docs/ListFlows200Response.md
987
1077
  - docs/ListMessages200Response.md
1078
+ - docs/ListSettings200Response.md
1079
+ - docs/ListSettings200ResponseWebhookUrl.md
988
1080
  - docs/ListTemplates200Response.md
989
1081
  - docs/MessageSentResponse.md
990
1082
  - docs/MessagingApi.md
991
1083
  - docs/PatchFlowsFlowIdAssets200Response.md
1084
+ - docs/PatchFlowsFlowIdAssetsRequest.md
1085
+ - docs/PatchFlowsFlowIdMetadataRequest.md
992
1086
  - docs/ProfileApi.md
993
1087
  - docs/ProfileInfo.md
1088
+ - docs/RemoveTemplateRequest.md
994
1089
  - docs/RetrieveMedia200Response.md
995
1090
  - docs/SendAddressMessageRequest.md
996
1091
  - docs/SendButtonRequest.md
997
1092
  - docs/SendButtonRequestSectionsInner.md
998
1093
  - docs/SendButtonRequestSectionsInnerReply.md
999
1094
  - docs/SendCarouselRequest1.md
1095
+ - docs/SendContactInfoRequest.md
1000
1096
  - docs/SendContactRequest.md
1097
+ - docs/SendContactRequestContact.md
1098
+ - docs/SendContactRequestContactName.md
1001
1099
  - docs/SendContactRequestContactsInner.md
1002
1100
  - docs/SendContactRequestContactsInnerName.md
1003
1101
  - docs/SendContactRequestContactsInnerOrg.md
@@ -1013,21 +1111,31 @@ files:
1013
1111
  - docs/SendLocationRequest1.md
1014
1112
  - docs/SendLocationRequestRequest.md
1015
1113
  - docs/SendMessageRequest.md
1114
+ - docs/SendMessageRequestDirectSend.md
1016
1115
  - docs/SendOrderDetailsRequest.md
1017
1116
  - docs/SendOrderDetailsRequestLanguage.md
1018
1117
  - docs/SendOrderDetailsRequestOrder.md
1019
1118
  - docs/SendOrderDetailsRequestOrderItemsInner.md
1020
1119
  - docs/SendOrderDetailsRequestOrderItemsInnerAmount.md
1021
1120
  - docs/SendPaymentRequestRequest.md
1121
+ - docs/SendProductRequest.md
1022
1122
  - docs/SendReactionRequest.md
1023
1123
  - docs/SendStickerRequest.md
1024
1124
  - docs/SendTemplateRequest.md
1025
1125
  - docs/SendTemplateRequestLanguage.md
1126
+ - docs/SetWebhook200Response.md
1127
+ - docs/SetWebhook200ResponseWebhookUrl.md
1128
+ - docs/SetWebhookRequest.md
1129
+ - docs/SetWebhookRequestWebhookUrl.md
1026
1130
  - docs/SetWhatsappBusinessEncryptionRequest.md
1027
1131
  - docs/SuccessResponse.md
1028
1132
  - docs/TemplatesApi.md
1133
+ - docs/UpdateCallingSettings200Response.md
1134
+ - docs/UpdateCallingSettings200ResponseResponse.md
1135
+ - docs/UpdateMe200Response.md
1029
1136
  - docs/UpdateMeRequest.md
1030
1137
  - docs/UsersApi.md
1138
+ - docs/WebhookUrlStatus.md
1031
1139
  - docs/WebhooksApi.md
1032
1140
  - git_push.sh
1033
1141
  - lib/one_msg_sdk.rb
@@ -1045,39 +1153,69 @@ files:
1045
1153
  - lib/one_msg_sdk/api_error.rb
1046
1154
  - lib/one_msg_sdk/api_model_base.rb
1047
1155
  - lib/one_msg_sdk/configuration.rb
1156
+ - lib/one_msg_sdk/models/add_template200_response.rb
1048
1157
  - lib/one_msg_sdk/models/add_template_request.rb
1049
1158
  - lib/one_msg_sdk/models/block_user_request.rb
1159
+ - lib/one_msg_sdk/models/calling_settings.rb
1160
+ - lib/one_msg_sdk/models/calling_settings_calling.rb
1161
+ - lib/one_msg_sdk/models/calling_settings_calling_audio.rb
1162
+ - lib/one_msg_sdk/models/calling_settings_calling_call_hours.rb
1163
+ - lib/one_msg_sdk/models/calling_settings_calling_sip.rb
1164
+ - lib/one_msg_sdk/models/calling_settings_calling_sip_servers_inner.rb
1165
+ - lib/one_msg_sdk/models/calling_settings_calling_video.rb
1050
1166
  - lib/one_msg_sdk/models/conversational_automation.rb
1051
1167
  - lib/one_msg_sdk/models/conversational_automation_commands_inner.rb
1052
1168
  - lib/one_msg_sdk/models/create_commerce200_response.rb
1053
1169
  - lib/one_msg_sdk/models/create_commerce_request.rb
1054
1170
  - lib/one_msg_sdk/models/create_commerce_request_params.rb
1171
+ - lib/one_msg_sdk/models/create_flows_request.rb
1055
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
1056
1175
  - lib/one_msg_sdk/models/create_read_message200_response.rb
1057
1176
  - lib/one_msg_sdk/models/create_read_message401_response.rb
1058
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
1059
1182
  - lib/one_msg_sdk/models/delete_flows_flow_id200_response.rb
1060
1183
  - lib/one_msg_sdk/models/delete_groups_group_id200_response.rb
1061
1184
  - lib/one_msg_sdk/models/delete_media_legacy_request.rb
1062
1185
  - lib/one_msg_sdk/models/error_response.rb
1063
1186
  - lib/one_msg_sdk/models/get_commerce200_response_inner.rb
1064
1187
  - lib/one_msg_sdk/models/get_mm_lite_status200_response.rb
1188
+ - lib/one_msg_sdk/models/get_status200_response.rb
1065
1189
  - lib/one_msg_sdk/models/get_webhook200_response.rb
1190
+ - lib/one_msg_sdk/models/get_webhook200_response_webhook_url.rb
1066
1191
  - lib/one_msg_sdk/models/get_whatsapp_business_encryption200_response.rb
1192
+ - lib/one_msg_sdk/models/initiate_call_request.rb
1193
+ - lib/one_msg_sdk/models/initiate_call_request_session.rb
1194
+ - lib/one_msg_sdk/models/initiate_call_response.rb
1195
+ - lib/one_msg_sdk/models/initiate_call_response_calls_inner.rb
1196
+ - lib/one_msg_sdk/models/initiate_call_response_response.rb
1067
1197
  - lib/one_msg_sdk/models/list_blocked_users200_response.rb
1068
1198
  - lib/one_msg_sdk/models/list_flows200_response.rb
1069
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
1070
1202
  - lib/one_msg_sdk/models/list_templates200_response.rb
1071
1203
  - lib/one_msg_sdk/models/message_sent_response.rb
1072
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
1073
1207
  - lib/one_msg_sdk/models/profile_info.rb
1208
+ - lib/one_msg_sdk/models/remove_template_request.rb
1074
1209
  - lib/one_msg_sdk/models/retrieve_media200_response.rb
1075
1210
  - lib/one_msg_sdk/models/send_address_message_request.rb
1076
1211
  - lib/one_msg_sdk/models/send_button_request.rb
1077
1212
  - lib/one_msg_sdk/models/send_button_request_sections_inner.rb
1078
1213
  - lib/one_msg_sdk/models/send_button_request_sections_inner_reply.rb
1079
1214
  - lib/one_msg_sdk/models/send_carousel_request1.rb
1215
+ - lib/one_msg_sdk/models/send_contact_info_request.rb
1080
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
1081
1219
  - lib/one_msg_sdk/models/send_contact_request_contacts_inner.rb
1082
1220
  - lib/one_msg_sdk/models/send_contact_request_contacts_inner_name.rb
1083
1221
  - lib/one_msg_sdk/models/send_contact_request_contacts_inner_org.rb
@@ -1093,19 +1231,30 @@ files:
1093
1231
  - lib/one_msg_sdk/models/send_location_request1.rb
1094
1232
  - lib/one_msg_sdk/models/send_location_request_request.rb
1095
1233
  - lib/one_msg_sdk/models/send_message_request.rb
1234
+ - lib/one_msg_sdk/models/send_message_request_direct_send.rb
1096
1235
  - lib/one_msg_sdk/models/send_order_details_request.rb
1097
1236
  - lib/one_msg_sdk/models/send_order_details_request_language.rb
1098
1237
  - lib/one_msg_sdk/models/send_order_details_request_order.rb
1099
1238
  - lib/one_msg_sdk/models/send_order_details_request_order_items_inner.rb
1100
1239
  - lib/one_msg_sdk/models/send_order_details_request_order_items_inner_amount.rb
1101
1240
  - lib/one_msg_sdk/models/send_payment_request_request.rb
1241
+ - lib/one_msg_sdk/models/send_product_request.rb
1102
1242
  - lib/one_msg_sdk/models/send_reaction_request.rb
1103
1243
  - lib/one_msg_sdk/models/send_sticker_request.rb
1104
1244
  - lib/one_msg_sdk/models/send_template_request.rb
1105
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
1106
1250
  - lib/one_msg_sdk/models/set_whatsapp_business_encryption_request.rb
1107
1251
  - lib/one_msg_sdk/models/success_response.rb
1252
+ - lib/one_msg_sdk/models/update_calling_settings200_response.rb
1253
+ - lib/one_msg_sdk/models/update_calling_settings200_response_response.rb
1254
+ - lib/one_msg_sdk/models/update_me200_response.rb
1108
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
1109
1258
  - lib/one_msg_sdk/version.rb
1110
1259
  - one_msg_sdk.gemspec
1111
1260
  - spec/api/calling_api_spec.rb
@@ -1118,38 +1267,68 @@ files:
1118
1267
  - spec/api/templates_api_spec.rb
1119
1268
  - spec/api/users_api_spec.rb
1120
1269
  - spec/api/webhooks_api_spec.rb
1270
+ - spec/models/add_template200_response_spec.rb
1121
1271
  - spec/models/add_template_request_spec.rb
1122
1272
  - spec/models/block_user_request_spec.rb
1273
+ - spec/models/calling_settings_calling_audio_spec.rb
1274
+ - spec/models/calling_settings_calling_call_hours_spec.rb
1275
+ - spec/models/calling_settings_calling_sip_servers_inner_spec.rb
1276
+ - spec/models/calling_settings_calling_sip_spec.rb
1277
+ - spec/models/calling_settings_calling_spec.rb
1278
+ - spec/models/calling_settings_calling_video_spec.rb
1279
+ - spec/models/calling_settings_spec.rb
1123
1280
  - spec/models/conversational_automation_commands_inner_spec.rb
1124
1281
  - spec/models/conversational_automation_spec.rb
1125
1282
  - spec/models/create_commerce200_response_spec.rb
1126
1283
  - spec/models/create_commerce_request_params_spec.rb
1127
1284
  - spec/models/create_commerce_request_spec.rb
1285
+ - spec/models/create_flows_request_spec.rb
1128
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
1129
1289
  - spec/models/create_read_message200_response_spec.rb
1130
1290
  - spec/models/create_read_message401_response_spec.rb
1131
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
1132
1296
  - spec/models/delete_flows_flow_id200_response_spec.rb
1133
1297
  - spec/models/delete_groups_group_id200_response_spec.rb
1134
1298
  - spec/models/delete_media_legacy_request_spec.rb
1135
1299
  - spec/models/error_response_spec.rb
1136
1300
  - spec/models/get_commerce200_response_inner_spec.rb
1137
1301
  - spec/models/get_mm_lite_status200_response_spec.rb
1302
+ - spec/models/get_status200_response_spec.rb
1138
1303
  - spec/models/get_webhook200_response_spec.rb
1304
+ - spec/models/get_webhook200_response_webhook_url_spec.rb
1139
1305
  - spec/models/get_whatsapp_business_encryption200_response_spec.rb
1306
+ - spec/models/initiate_call_request_session_spec.rb
1307
+ - spec/models/initiate_call_request_spec.rb
1308
+ - spec/models/initiate_call_response_calls_inner_spec.rb
1309
+ - spec/models/initiate_call_response_response_spec.rb
1310
+ - spec/models/initiate_call_response_spec.rb
1140
1311
  - spec/models/list_blocked_users200_response_spec.rb
1141
1312
  - spec/models/list_flows200_response_spec.rb
1142
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
1143
1316
  - spec/models/list_templates200_response_spec.rb
1144
1317
  - spec/models/message_sent_response_spec.rb
1145
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
1146
1321
  - spec/models/profile_info_spec.rb
1322
+ - spec/models/remove_template_request_spec.rb
1147
1323
  - spec/models/retrieve_media200_response_spec.rb
1148
1324
  - spec/models/send_address_message_request_spec.rb
1149
1325
  - spec/models/send_button_request_sections_inner_reply_spec.rb
1150
1326
  - spec/models/send_button_request_sections_inner_spec.rb
1151
1327
  - spec/models/send_button_request_spec.rb
1152
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
1153
1332
  - spec/models/send_contact_request_contacts_inner_name_spec.rb
1154
1333
  - spec/models/send_contact_request_contacts_inner_org_spec.rb
1155
1334
  - spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb
@@ -1165,6 +1344,7 @@ files:
1165
1344
  - spec/models/send_list_request_spec.rb
1166
1345
  - spec/models/send_location_request1_spec.rb
1167
1346
  - spec/models/send_location_request_request_spec.rb
1347
+ - spec/models/send_message_request_direct_send_spec.rb
1168
1348
  - spec/models/send_message_request_spec.rb
1169
1349
  - spec/models/send_order_details_request_language_spec.rb
1170
1350
  - spec/models/send_order_details_request_order_items_inner_amount_spec.rb
@@ -1172,19 +1352,28 @@ files:
1172
1352
  - spec/models/send_order_details_request_order_spec.rb
1173
1353
  - spec/models/send_order_details_request_spec.rb
1174
1354
  - spec/models/send_payment_request_request_spec.rb
1355
+ - spec/models/send_product_request_spec.rb
1175
1356
  - spec/models/send_reaction_request_spec.rb
1176
1357
  - spec/models/send_sticker_request_spec.rb
1177
1358
  - spec/models/send_template_request_language_spec.rb
1178
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
1179
1364
  - spec/models/set_whatsapp_business_encryption_request_spec.rb
1180
1365
  - spec/models/success_response_spec.rb
1366
+ - spec/models/update_calling_settings200_response_response_spec.rb
1367
+ - spec/models/update_calling_settings200_response_spec.rb
1368
+ - spec/models/update_me200_response_spec.rb
1181
1369
  - spec/models/update_me_request_spec.rb
1370
+ - spec/models/webhook_url_status_spec.rb
1182
1371
  - spec/spec_helper.rb
1183
1372
  homepage: https://github.com/1msg/1msg-sdk
1184
1373
  licenses:
1185
1374
  - MIT
1186
1375
  metadata: {}
1187
- post_install_message:
1376
+ post_install_message:
1188
1377
  rdoc_options: []
1189
1378
  require_paths:
1190
1379
  - lib
@@ -1200,79 +1389,120 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1200
1389
  version: '0'
1201
1390
  requirements: []
1202
1391
  rubygems_version: 3.4.19
1203
- signing_key:
1392
+ signing_key:
1204
1393
  specification_version: 4
1205
1394
  summary: "&quot;Official Ruby SDK for the 1msg WhatsApp Business API&quot;"
1206
1395
  test_files:
1207
- - spec/api/groups_api_spec.rb
1208
1396
  - spec/api/catalog_api_spec.rb
1209
1397
  - spec/api/users_api_spec.rb
1210
- - spec/api/flows_api_spec.rb
1211
- - spec/api/calling_api_spec.rb
1212
1398
  - spec/api/messaging_api_spec.rb
1213
- - spec/api/webhooks_api_spec.rb
1214
1399
  - spec/api/templates_api_spec.rb
1400
+ - spec/api/calling_api_spec.rb
1401
+ - spec/api/webhooks_api_spec.rb
1402
+ - spec/api/groups_api_spec.rb
1215
1403
  - spec/api/channel_api_spec.rb
1404
+ - spec/api/flows_api_spec.rb
1216
1405
  - spec/api/profile_api_spec.rb
1217
- - spec/models/add_template_request_spec.rb
1218
- - spec/models/send_address_message_request_spec.rb
1406
+ - spec/models/get_mm_lite_status200_response_spec.rb
1407
+ - spec/models/send_button_request_spec.rb
1408
+ - spec/models/send_product_request_spec.rb
1409
+ - spec/models/send_file_request_spec.rb
1410
+ - spec/models/send_message_request_spec.rb
1219
1411
  - spec/models/list_templates200_response_spec.rb
1220
- - spec/models/profile_info_spec.rb
1221
- - spec/models/send_carousel_request1_spec.rb
1222
- - spec/models/send_location_request1_spec.rb
1223
- - spec/models/create_read_message401_response_spec.rb
1224
- - spec/models/send_location_request_request_spec.rb
1225
- - spec/models/conversational_automation_commands_inner_spec.rb
1226
- - spec/models/create_groups200_response_spec.rb
1227
- - spec/models/send_order_details_request_language_spec.rb
1228
- - spec/models/send_contact_request_spec.rb
1229
- - spec/models/list_flows200_response_spec.rb
1230
- - spec/models/send_order_details_request_order_items_inner_spec.rb
1412
+ - spec/models/add_template200_response_spec.rb
1413
+ - spec/models/get_status200_response_spec.rb
1414
+ - spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb
1231
1415
  - spec/models/send_order_details_request_order_spec.rb
1416
+ - spec/models/send_button_request_sections_inner_spec.rb
1417
+ - spec/models/send_contact_info_request_spec.rb
1232
1418
  - spec/models/create_commerce_request_params_spec.rb
1233
- - spec/models/get_mm_lite_status200_response_spec.rb
1234
- - spec/models/list_messages200_response_spec.rb
1235
- - spec/models/send_file_request_spec.rb
1236
- - spec/models/send_flow_request1_spec.rb
1237
- - spec/models/send_button_request_spec.rb
1419
+ - spec/models/profile_info_spec.rb
1420
+ - spec/models/delete_media_legacy_request_spec.rb
1421
+ - spec/models/send_order_details_request_order_items_inner_spec.rb
1422
+ - spec/models/get_webhook200_response_webhook_url_spec.rb
1423
+ - spec/models/get_webhook200_response_spec.rb
1424
+ - spec/models/add_template_request_spec.rb
1425
+ - spec/models/send_address_message_request_spec.rb
1426
+ - spec/models/calling_settings_calling_audio_spec.rb
1427
+ - spec/models/initiate_call_request_session_spec.rb
1238
1428
  - spec/models/error_response_spec.rb
1239
- - spec/models/message_sent_response_spec.rb
1429
+ - spec/models/calling_settings_calling_sip_spec.rb
1430
+ - spec/models/webhook_url_status_spec.rb
1431
+ - spec/models/send_flow_request1_spec.rb
1432
+ - spec/models/update_me200_response_spec.rb
1433
+ - spec/models/send_contact_request_spec.rb
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
1437
+ - spec/models/send_order_details_request_language_spec.rb
1438
+ - spec/models/create_settings_request_spec.rb
1439
+ - spec/models/send_location_request_request_spec.rb
1440
+ - spec/models/create_groups_group_id_request_spec.rb
1441
+ - spec/models/initiate_call_response_response_spec.rb
1442
+ - spec/models/send_carousel_request1_spec.rb
1443
+ - spec/models/get_commerce200_response_inner_spec.rb
1444
+ - spec/models/block_user_request_spec.rb
1445
+ - spec/models/create_upload_media200_response_spec.rb
1240
1446
  - spec/models/delete_groups_group_id200_response_spec.rb
1241
- - spec/models/send_template_request_language_spec.rb
1242
1447
  - spec/models/send_list_request_sections_inner_spec.rb
1243
- - spec/models/get_webhook200_response_spec.rb
1448
+ - spec/models/set_webhook200_response_webhook_url_spec.rb
1449
+ - spec/models/send_contact_request_contact_name_spec.rb
1450
+ - spec/models/create_read_message401_response_spec.rb
1451
+ - spec/models/send_reaction_request_spec.rb
1452
+ - spec/models/create_commerce200_response_spec.rb
1453
+ - spec/models/send_cta_url_request_spec.rb
1454
+ - spec/models/create_groups200_response_spec.rb
1455
+ - spec/models/set_webhook200_response_spec.rb
1456
+ - spec/models/initiate_call_response_spec.rb
1457
+ - spec/models/send_button_request_sections_inner_reply_spec.rb
1458
+ - spec/models/calling_settings_calling_video_spec.rb
1244
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
1463
+ - spec/models/list_messages200_response_spec.rb
1245
1464
  - spec/models/send_contact_request_contacts_inner_spec.rb
1246
- - spec/models/block_user_request_spec.rb
1247
- - spec/models/get_whatsapp_business_encryption200_response_spec.rb
1248
- - spec/models/delete_flows_flow_id200_response_spec.rb
1249
- - spec/models/send_contact_request_contacts_inner_org_spec.rb
1250
- - spec/models/send_template_request_spec.rb
1251
- - spec/models/conversational_automation_spec.rb
1252
1465
  - spec/models/create_commerce_request_spec.rb
1253
- - spec/models/send_order_details_request_order_items_inner_amount_spec.rb
1254
- - spec/models/send_order_details_request_spec.rb
1255
- - spec/models/create_commerce200_response_spec.rb
1256
- - spec/models/set_whatsapp_business_encryption_request_spec.rb
1257
- - spec/models/delete_media_legacy_request_spec.rb
1466
+ - spec/models/update_me_request_spec.rb
1467
+ - spec/models/calling_settings_calling_spec.rb
1468
+ - spec/models/delete_flows_flow_id200_response_spec.rb
1258
1469
  - spec/models/send_contact_request_contacts_inner_name_spec.rb
1259
- - spec/models/send_payment_request_request_spec.rb
1260
- - spec/models/get_commerce200_response_inner_spec.rb
1261
- - spec/models/send_message_request_spec.rb
1470
+ - spec/models/send_template_request_spec.rb
1262
1471
  - spec/models/list_blocked_users200_response_spec.rb
1263
- - spec/models/update_me_request_spec.rb
1264
- - spec/models/send_list_request_spec.rb
1265
- - spec/models/send_sticker_request_spec.rb
1266
- - spec/models/retrieve_media200_response_spec.rb
1267
- - spec/models/send_flow_request1_header_spec.rb
1472
+ - spec/models/send_location_request1_spec.rb
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
1476
+ - spec/models/initiate_call_request_spec.rb
1477
+ - spec/models/set_webhook_request_spec.rb
1478
+ - spec/models/update_calling_settings200_response_spec.rb
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
1268
1482
  - spec/models/send_flow_request_header_spec.rb
1483
+ - spec/models/retrieve_media200_response_spec.rb
1484
+ - spec/models/set_whatsapp_business_encryption_request_spec.rb
1485
+ - spec/models/create_flows_request_spec.rb
1486
+ - spec/models/send_contact_request_contacts_inner_org_spec.rb
1487
+ - spec/models/get_whatsapp_business_encryption200_response_spec.rb
1488
+ - spec/models/calling_settings_spec.rb
1489
+ - spec/models/patch_flows_flow_id_assets200_response_spec.rb
1490
+ - spec/models/send_list_request_spec.rb
1491
+ - spec/models/send_order_details_request_order_items_inner_amount_spec.rb
1269
1492
  - spec/models/create_read_message_request_spec.rb
1270
- - spec/models/send_button_request_sections_inner_spec.rb
1271
- - spec/models/send_reaction_request_spec.rb
1272
1493
  - spec/models/send_list_request_sections_inner_rows_inner_spec.rb
1273
- - spec/models/send_button_request_sections_inner_reply_spec.rb
1274
- - spec/models/send_contact_request_contacts_inner_phones_inner_spec.rb
1275
- - spec/models/patch_flows_flow_id_assets200_response_spec.rb
1494
+ - spec/models/send_template_request_language_spec.rb
1495
+ - spec/models/conversational_automation_commands_inner_spec.rb
1496
+ - spec/models/calling_settings_calling_call_hours_spec.rb
1497
+ - spec/models/send_payment_request_request_spec.rb
1498
+ - spec/models/update_calling_settings200_response_response_spec.rb
1499
+ - spec/models/send_order_details_request_spec.rb
1276
1500
  - spec/models/success_response_spec.rb
1277
- - spec/models/send_cta_url_request_spec.rb
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
1504
+ - spec/models/calling_settings_calling_sip_servers_inner_spec.rb
1505
+ - spec/models/conversational_automation_spec.rb
1506
+ - spec/models/initiate_call_response_calls_inner_spec.rb
1278
1507
  - spec/spec_helper.rb
1508
+ ...