late-sdk 0.0.67 → 0.0.69
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/README.md +63 -0
- data/docs/AddBroadcastRecipientsRequest.md +20 -0
- data/docs/BroadcastsApi.md +699 -0
- data/docs/BulkCreateContactsRequest.md +24 -0
- data/docs/BulkCreateContactsRequestContactsInner.md +28 -0
- data/docs/CommentAutomationsApi.md +428 -0
- data/docs/ContactsApi.md +500 -0
- data/docs/CreateBroadcastRequest.md +32 -0
- data/docs/CreateBroadcastRequestMessage.md +20 -0
- data/docs/CreateBroadcastRequestMessageAttachmentsInner.md +22 -0
- data/docs/CreateBroadcastRequestSegmentFilters.md +20 -0
- data/docs/CreateBroadcastRequestTemplate.md +22 -0
- data/docs/CreateCommentAutomationRequest.md +36 -0
- data/docs/CreateContactRequest.md +38 -0
- data/docs/CreateCustomFieldRequest.md +26 -0
- data/docs/CreateSequenceRequest.md +32 -0
- data/docs/CreateSequenceRequestStepsInner.md +24 -0
- data/docs/CreateSequenceRequestStepsInnerMessage.md +18 -0
- data/docs/CustomFieldsApi.md +419 -0
- data/docs/EnrollContactsRequest.md +20 -0
- data/docs/ListCommentAutomations200Response.md +20 -0
- data/docs/ListCommentAutomations200ResponseAutomationsInner.md +42 -0
- data/docs/ListCommentAutomations200ResponseAutomationsInnerStats.md +24 -0
- data/docs/ScheduleBroadcastRequest.md +18 -0
- data/docs/SequencesApi.md +697 -0
- data/docs/SetContactFieldValueRequest.md +18 -0
- data/docs/TwitterPlatformData.md +3 -1
- data/docs/TwitterPlatformDataPoll.md +20 -0
- data/docs/UpdateCommentAutomationRequest.md +28 -0
- data/docs/UpdateContactRequest.md +32 -0
- data/docs/UpdateCustomFieldRequest.md +20 -0
- data/docs/WhatsAppApi.md +25 -25
- data/lib/late-sdk/api/broadcasts_api.rb +689 -0
- data/lib/late-sdk/api/comment_automations_api.rb +420 -0
- data/lib/late-sdk/api/contacts_api.rb +503 -0
- data/lib/late-sdk/api/custom_fields_api.rb +424 -0
- data/lib/late-sdk/api/sequences_api.rb +681 -0
- data/lib/late-sdk/api/whats_app_api.rb +50 -50
- data/lib/late-sdk/models/add_broadcast_recipients_request.rb +160 -0
- data/lib/late-sdk/models/bulk_create_contacts_request.rb +253 -0
- data/lib/late-sdk/models/bulk_create_contacts_request_contacts_inner.rb +228 -0
- data/lib/late-sdk/models/create_broadcast_request.rb +302 -0
- data/lib/late-sdk/models/create_broadcast_request_message.rb +158 -0
- data/lib/late-sdk/models/create_broadcast_request_message_attachments_inner.rb +165 -0
- data/lib/late-sdk/models/create_broadcast_request_segment_filters.rb +158 -0
- data/lib/late-sdk/models/create_broadcast_request_template.rb +168 -0
- data/lib/late-sdk/models/create_comment_automation_request.rb +359 -0
- data/lib/late-sdk/models/create_contact_request.rb +276 -0
- data/lib/late-sdk/models/create_custom_field_request.rb +262 -0
- data/lib/late-sdk/models/create_sequence_request.rb +308 -0
- data/lib/late-sdk/models/create_sequence_request_steps_inner.rb +208 -0
- data/lib/late-sdk/models/create_sequence_request_steps_inner_message.rb +147 -0
- data/lib/late-sdk/models/enroll_contacts_request.rb +178 -0
- data/lib/late-sdk/models/list_comment_automations200_response.rb +158 -0
- data/lib/late-sdk/models/list_comment_automations200_response_automations_inner.rb +303 -0
- data/lib/late-sdk/models/list_comment_automations200_response_automations_inner_stats.rb +174 -0
- data/lib/late-sdk/models/schedule_broadcast_request.rb +164 -0
- data/lib/late-sdk/models/set_contact_field_value_request.rb +150 -0
- data/lib/late-sdk/models/twitter_platform_data.rb +13 -4
- data/lib/late-sdk/models/twitter_platform_data_poll.rb +231 -0
- data/lib/late-sdk/models/update_comment_automation_request.rb +228 -0
- data/lib/late-sdk/models/update_contact_request.rb +212 -0
- data/lib/late-sdk/models/update_custom_field_request.rb +158 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +29 -0
- data/openapi.yaml +830 -13
- data/spec/api/broadcasts_api_spec.rb +154 -0
- data/spec/api/comment_automations_api_spec.rb +108 -0
- data/spec/api/contacts_api_spec.rb +122 -0
- data/spec/api/custom_fields_api_spec.rb +105 -0
- data/spec/api/sequences_api_spec.rb +153 -0
- data/spec/api/whats_app_api_spec.rb +25 -25
- data/spec/models/add_broadcast_recipients_request_spec.rb +42 -0
- data/spec/models/bulk_create_contacts_request_contacts_inner_spec.rb +66 -0
- data/spec/models/bulk_create_contacts_request_spec.rb +54 -0
- data/spec/models/create_broadcast_request_message_attachments_inner_spec.rb +48 -0
- data/spec/models/create_broadcast_request_message_spec.rb +42 -0
- data/spec/models/create_broadcast_request_segment_filters_spec.rb +42 -0
- data/spec/models/create_broadcast_request_spec.rb +82 -0
- data/spec/models/create_broadcast_request_template_spec.rb +48 -0
- data/spec/models/create_comment_automation_request_spec.rb +94 -0
- data/spec/models/create_contact_request_spec.rb +96 -0
- data/spec/models/create_custom_field_request_spec.rb +64 -0
- data/spec/models/create_sequence_request_spec.rb +82 -0
- data/spec/models/create_sequence_request_steps_inner_message_spec.rb +36 -0
- data/spec/models/create_sequence_request_steps_inner_spec.rb +54 -0
- data/spec/models/enroll_contacts_request_spec.rb +42 -0
- data/spec/models/list_comment_automations200_response_automations_inner_spec.rb +116 -0
- data/spec/models/list_comment_automations200_response_automations_inner_stats_spec.rb +54 -0
- data/spec/models/list_comment_automations200_response_spec.rb +42 -0
- data/spec/models/schedule_broadcast_request_spec.rb +36 -0
- data/spec/models/set_contact_field_value_request_spec.rb +36 -0
- data/spec/models/twitter_platform_data_poll_spec.rb +42 -0
- data/spec/models/twitter_platform_data_spec.rb +6 -0
- data/spec/models/update_comment_automation_request_spec.rb +70 -0
- data/spec/models/update_contact_request_spec.rb +78 -0
- data/spec/models/update_custom_field_request_spec.rb +42 -0
- data/zernio-sdk-0.0.69.gem +0 -0
- metadata +118 -2
- data/zernio-sdk-0.0.67.gem +0 -0
data/docs/TwitterPlatformData.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **reply_to_tweet_id** | **String** | ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally. | [optional] |
|
|
8
8
|
| **reply_settings** | **String** | Controls who can reply to the tweet. \"following\" allows only people you follow, \"mentionedUsers\" allows only mentioned users, \"subscribers\" allows only subscribers, \"verified\" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId. | [optional] |
|
|
9
9
|
| **thread_items** | [**Array<TwitterPlatformDataThreadItemsInner>**](TwitterPlatformDataThreadItemsInner.md) | Sequence of tweets in a thread. First item is the root tweet. | [optional] |
|
|
10
|
+
| **poll** | [**TwitterPlatformDataPoll**](TwitterPlatformDataPoll.md) | | [optional] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'late-sdk'
|
|
|
16
17
|
instance = Late::TwitterPlatformData.new(
|
|
17
18
|
reply_to_tweet_id: null,
|
|
18
19
|
reply_settings: null,
|
|
19
|
-
thread_items: null
|
|
20
|
+
thread_items: null,
|
|
21
|
+
poll: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::TwitterPlatformDataPoll
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **options** | **Array<String>** | Poll options (2-4 choices, max 25 characters each) | |
|
|
8
|
+
| **duration_minutes** | **Integer** | Poll duration in minutes (5 min to 7 days) | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::TwitterPlatformDataPoll.new(
|
|
16
|
+
options: null,
|
|
17
|
+
duration_minutes: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Late::UpdateCommentAutomationRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | [optional] |
|
|
8
|
+
| **keywords** | **Array<String>** | | [optional] |
|
|
9
|
+
| **match_mode** | **String** | | [optional] |
|
|
10
|
+
| **dm_message** | **String** | | [optional] |
|
|
11
|
+
| **comment_reply** | **String** | | [optional] |
|
|
12
|
+
| **is_active** | **Boolean** | | [optional] |
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
require 'late-sdk'
|
|
18
|
+
|
|
19
|
+
instance = Late::UpdateCommentAutomationRequest.new(
|
|
20
|
+
name: null,
|
|
21
|
+
keywords: null,
|
|
22
|
+
match_mode: null,
|
|
23
|
+
dm_message: null,
|
|
24
|
+
comment_reply: null,
|
|
25
|
+
is_active: null
|
|
26
|
+
)
|
|
27
|
+
```
|
|
28
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Late::UpdateContactRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | [optional] |
|
|
8
|
+
| **email** | **String** | | [optional] |
|
|
9
|
+
| **company** | **String** | | [optional] |
|
|
10
|
+
| **avatar_url** | **String** | | [optional] |
|
|
11
|
+
| **tags** | **Array<String>** | | [optional] |
|
|
12
|
+
| **is_subscribed** | **Boolean** | | [optional] |
|
|
13
|
+
| **is_blocked** | **Boolean** | | [optional] |
|
|
14
|
+
| **notes** | **String** | | [optional] |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'late-sdk'
|
|
20
|
+
|
|
21
|
+
instance = Late::UpdateContactRequest.new(
|
|
22
|
+
name: null,
|
|
23
|
+
email: null,
|
|
24
|
+
company: null,
|
|
25
|
+
avatar_url: null,
|
|
26
|
+
tags: null,
|
|
27
|
+
is_subscribed: null,
|
|
28
|
+
is_blocked: null,
|
|
29
|
+
notes: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Late::UpdateCustomFieldRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | | [optional] |
|
|
8
|
+
| **options** | **Array<String>** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'late-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Late::UpdateCustomFieldRequest.new(
|
|
16
|
+
name: null,
|
|
17
|
+
options: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
data/docs/WhatsAppApi.md
CHANGED
|
@@ -44,7 +44,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
44
44
|
|
|
45
45
|
Add recipients
|
|
46
46
|
|
|
47
|
-
Add recipients to a draft broadcast. Maximum 1000 recipients per request. Duplicate phone numbers are automatically skipped.
|
|
47
|
+
**Deprecated.** Use `POST /v1/broadcasts/{id}/recipients` instead. Add recipients to a draft broadcast. Maximum 1000 recipients per request. Duplicate phone numbers are automatically skipped.
|
|
48
48
|
|
|
49
49
|
### Examples
|
|
50
50
|
|
|
@@ -115,7 +115,7 @@ end
|
|
|
115
115
|
|
|
116
116
|
Bulk delete contacts
|
|
117
117
|
|
|
118
|
-
Permanently delete multiple contacts at once (max 500 per request).
|
|
118
|
+
**Deprecated.** Use `DELETE /v1/contacts/{id}` for individual deletes instead. Permanently delete multiple contacts at once (max 500 per request).
|
|
119
119
|
|
|
120
120
|
### Examples
|
|
121
121
|
|
|
@@ -184,7 +184,7 @@ end
|
|
|
184
184
|
|
|
185
185
|
Bulk update contacts
|
|
186
186
|
|
|
187
|
-
Perform bulk operations on multiple contacts (max 500 per request). Supported actions: addTags, removeTags, addGroups, removeGroups, optIn, optOut, block, unblock.
|
|
187
|
+
**Deprecated.** Use `PATCH /v1/contacts/{id}` for individual updates instead. Perform bulk operations on multiple contacts (max 500 per request). Supported actions: addTags, removeTags, addGroups, removeGroups, optIn, optOut, block, unblock.
|
|
188
188
|
|
|
189
189
|
### Examples
|
|
190
190
|
|
|
@@ -253,7 +253,7 @@ end
|
|
|
253
253
|
|
|
254
254
|
Cancel scheduled broadcast
|
|
255
255
|
|
|
256
|
-
Cancel a scheduled broadcast and return it to draft status. Only broadcasts in scheduled status can be cancelled.
|
|
256
|
+
**Deprecated.** Use `POST /v1/broadcasts/{id}/cancel` instead. Cancel a scheduled broadcast and return it to draft status. Only broadcasts in scheduled status can be cancelled.
|
|
257
257
|
|
|
258
258
|
### Examples
|
|
259
259
|
|
|
@@ -322,7 +322,7 @@ end
|
|
|
322
322
|
|
|
323
323
|
Create broadcast
|
|
324
324
|
|
|
325
|
-
Create a new draft broadcast. Optionally include initial recipients. After creation, add recipients and then send or schedule the broadcast.
|
|
325
|
+
**Deprecated.** Use `POST /v1/broadcasts` instead. Create a new draft broadcast. Optionally include initial recipients. After creation, add recipients and then send or schedule the broadcast.
|
|
326
326
|
|
|
327
327
|
### Examples
|
|
328
328
|
|
|
@@ -391,7 +391,7 @@ end
|
|
|
391
391
|
|
|
392
392
|
Create contact
|
|
393
393
|
|
|
394
|
-
Create a new WhatsApp contact. Phone number must be unique per account and in E.164 format (e.g., +1234567890).
|
|
394
|
+
**Deprecated.** Use `POST /v1/contacts` instead. Create a new WhatsApp contact. Phone number must be unique per account and in E.164 format (e.g., +1234567890).
|
|
395
395
|
|
|
396
396
|
### Examples
|
|
397
397
|
|
|
@@ -529,7 +529,7 @@ end
|
|
|
529
529
|
|
|
530
530
|
Delete broadcast
|
|
531
531
|
|
|
532
|
-
Delete a broadcast. Only draft or cancelled broadcasts can be deleted.
|
|
532
|
+
**Deprecated.** Use `DELETE /v1/broadcasts/{id}` instead. Delete a broadcast. Only draft or cancelled broadcasts can be deleted.
|
|
533
533
|
|
|
534
534
|
### Examples
|
|
535
535
|
|
|
@@ -598,7 +598,7 @@ end
|
|
|
598
598
|
|
|
599
599
|
Delete contact
|
|
600
600
|
|
|
601
|
-
Permanently delete a WhatsApp contact.
|
|
601
|
+
**Deprecated.** Use `DELETE /v1/contacts/{id}` instead. Permanently delete a WhatsApp contact.
|
|
602
602
|
|
|
603
603
|
### Examples
|
|
604
604
|
|
|
@@ -667,7 +667,7 @@ end
|
|
|
667
667
|
|
|
668
668
|
Delete group
|
|
669
669
|
|
|
670
|
-
Delete a contact group. This removes the group from all contacts but does not delete the contacts themselves.
|
|
670
|
+
**Deprecated.** Use contact tags via `PATCH /v1/contacts/{id}` instead. Delete a contact group. This removes the group from all contacts but does not delete the contacts themselves.
|
|
671
671
|
|
|
672
672
|
### Examples
|
|
673
673
|
|
|
@@ -736,7 +736,7 @@ end
|
|
|
736
736
|
|
|
737
737
|
Delete template
|
|
738
738
|
|
|
739
|
-
Permanently delete a message template by name.
|
|
739
|
+
Permanently delete a message template by name.
|
|
740
740
|
|
|
741
741
|
### Examples
|
|
742
742
|
|
|
@@ -807,7 +807,7 @@ end
|
|
|
807
807
|
|
|
808
808
|
Get broadcast
|
|
809
809
|
|
|
810
|
-
Retrieve detailed information about a single broadcast including delivery statistics.
|
|
810
|
+
**Deprecated.** Use `GET /v1/broadcasts/{id}` instead. Retrieve detailed information about a single broadcast including delivery statistics.
|
|
811
811
|
|
|
812
812
|
### Examples
|
|
813
813
|
|
|
@@ -876,7 +876,7 @@ end
|
|
|
876
876
|
|
|
877
877
|
List recipients
|
|
878
878
|
|
|
879
|
-
List recipients of a broadcast with their delivery status. Supports filtering by delivery status and pagination.
|
|
879
|
+
**Deprecated.** Use `GET /v1/broadcasts/{id}/recipients` instead. List recipients of a broadcast with their delivery status. Supports filtering by delivery status and pagination.
|
|
880
880
|
|
|
881
881
|
### Examples
|
|
882
882
|
|
|
@@ -953,7 +953,7 @@ end
|
|
|
953
953
|
|
|
954
954
|
List broadcasts
|
|
955
955
|
|
|
956
|
-
List all WhatsApp broadcasts for an account. Returns broadcasts sorted by creation date (newest first) without the full recipients list for performance.
|
|
956
|
+
**Deprecated.** Use `GET /v1/broadcasts?profileId={profileId}` instead. List all WhatsApp broadcasts for an account. Returns broadcasts sorted by creation date (newest first) without the full recipients list for performance.
|
|
957
957
|
|
|
958
958
|
### Examples
|
|
959
959
|
|
|
@@ -1030,7 +1030,7 @@ end
|
|
|
1030
1030
|
|
|
1031
1031
|
Get business profile
|
|
1032
1032
|
|
|
1033
|
-
Retrieve the WhatsApp Business profile for the account (about, address, description, email, websites, etc.).
|
|
1033
|
+
Retrieve the WhatsApp Business profile for the account (about, address, description, email, websites, etc.).
|
|
1034
1034
|
|
|
1035
1035
|
### Examples
|
|
1036
1036
|
|
|
@@ -1099,7 +1099,7 @@ end
|
|
|
1099
1099
|
|
|
1100
1100
|
Get contact
|
|
1101
1101
|
|
|
1102
|
-
Retrieve a single WhatsApp contact by ID with full details.
|
|
1102
|
+
**Deprecated.** Use `GET /v1/contacts/{id}` instead. Retrieve a single WhatsApp contact by ID with full details.
|
|
1103
1103
|
|
|
1104
1104
|
### Examples
|
|
1105
1105
|
|
|
@@ -1168,7 +1168,7 @@ end
|
|
|
1168
1168
|
|
|
1169
1169
|
List contacts
|
|
1170
1170
|
|
|
1171
|
-
List WhatsApp contacts for an account. Supports filtering by tags, groups, opt-in status, and text search. Returns contacts sorted by name with available filter options.
|
|
1171
|
+
**Deprecated.** Use `GET /v1/contacts?profileId={profileId}` instead. List WhatsApp contacts for an account. Supports filtering by tags, groups, opt-in status, and text search. Returns contacts sorted by name with available filter options.
|
|
1172
1172
|
|
|
1173
1173
|
### Examples
|
|
1174
1174
|
|
|
@@ -1320,7 +1320,7 @@ end
|
|
|
1320
1320
|
|
|
1321
1321
|
List contact groups
|
|
1322
1322
|
|
|
1323
|
-
List all contact groups for a WhatsApp account with contact counts. Groups are derived from the groups field on contacts, not stored as separate documents.
|
|
1323
|
+
**Deprecated.** Use contact tags via `GET /v1/contacts` for grouping instead. WhatsApp groups have no cross-platform equivalent. List all contact groups for a WhatsApp account with contact counts. Groups are derived from the groups field on contacts, not stored as separate documents.
|
|
1324
1324
|
|
|
1325
1325
|
### Examples
|
|
1326
1326
|
|
|
@@ -1389,7 +1389,7 @@ end
|
|
|
1389
1389
|
|
|
1390
1390
|
Get template
|
|
1391
1391
|
|
|
1392
|
-
Retrieve a single message template by name.
|
|
1392
|
+
Retrieve a single message template by name.
|
|
1393
1393
|
|
|
1394
1394
|
### Examples
|
|
1395
1395
|
|
|
@@ -1529,7 +1529,7 @@ end
|
|
|
1529
1529
|
|
|
1530
1530
|
Bulk import contacts
|
|
1531
1531
|
|
|
1532
|
-
Import up to 1000 contacts at once. Each contact requires a phone number and name. Duplicates are skipped by default. Supports default tags and groups applied to all imported contacts.
|
|
1532
|
+
**Deprecated.** Use `POST /v1/contacts/bulk` instead. Import up to 1000 contacts at once. Each contact requires a phone number and name. Duplicates are skipped by default. Supports default tags and groups applied to all imported contacts.
|
|
1533
1533
|
|
|
1534
1534
|
### Examples
|
|
1535
1535
|
|
|
@@ -1598,7 +1598,7 @@ end
|
|
|
1598
1598
|
|
|
1599
1599
|
Remove recipients
|
|
1600
1600
|
|
|
1601
|
-
Remove recipients from a draft broadcast by phone number.
|
|
1601
|
+
**Deprecated.** Use `POST /v1/broadcasts/{id}/recipients` with removal flag instead. Remove recipients from a draft broadcast by phone number.
|
|
1602
1602
|
|
|
1603
1603
|
### Examples
|
|
1604
1604
|
|
|
@@ -1669,7 +1669,7 @@ end
|
|
|
1669
1669
|
|
|
1670
1670
|
Rename group
|
|
1671
1671
|
|
|
1672
|
-
Rename a contact group. This updates the group name on all contacts that belong to the group.
|
|
1672
|
+
**Deprecated.** Use contact tags via `PATCH /v1/contacts/{id}` instead. Rename a contact group. This updates the group name on all contacts that belong to the group.
|
|
1673
1673
|
|
|
1674
1674
|
### Examples
|
|
1675
1675
|
|
|
@@ -1738,7 +1738,7 @@ end
|
|
|
1738
1738
|
|
|
1739
1739
|
Schedule broadcast
|
|
1740
1740
|
|
|
1741
|
-
Schedule a draft broadcast for future sending. The scheduled time must be in the future and no more than 30 days in advance. The broadcast must be in draft status and have recipients.
|
|
1741
|
+
**Deprecated.** Use `POST /v1/broadcasts/{id}/schedule` instead. Schedule a draft broadcast for future sending. The scheduled time must be in the future and no more than 30 days in advance. The broadcast must be in draft status and have recipients.
|
|
1742
1742
|
|
|
1743
1743
|
### Examples
|
|
1744
1744
|
|
|
@@ -1809,7 +1809,7 @@ end
|
|
|
1809
1809
|
|
|
1810
1810
|
Send broadcast
|
|
1811
1811
|
|
|
1812
|
-
Start sending a broadcast immediately. The broadcast must be in draft or scheduled status and have at least one recipient. Messages are sent sequentially with rate limiting.
|
|
1812
|
+
**Deprecated.** Use `POST /v1/broadcasts/{id}/send` instead. Start sending a broadcast immediately. The broadcast must be in draft or scheduled status and have at least one recipient. Messages are sent sequentially with rate limiting.
|
|
1813
1813
|
|
|
1814
1814
|
### Examples
|
|
1815
1815
|
|
|
@@ -1878,7 +1878,7 @@ end
|
|
|
1878
1878
|
|
|
1879
1879
|
Bulk send template messages
|
|
1880
1880
|
|
|
1881
|
-
Send a template message to multiple recipients in a single request. Maximum 100 recipients per request. Only template messages are supported for bulk sending (not free-form text). Each recipient can have optional per-recipient template variables for personalization. Returns detailed results for each recipient.
|
|
1881
|
+
**Deprecated.** Use `POST /v1/broadcasts` to create a broadcast, `POST /v1/broadcasts/{id}/recipients` to add recipients, then `POST /v1/broadcasts/{id}/send` to send. Send a template message to multiple recipients in a single request. Maximum 100 recipients per request. Only template messages are supported for bulk sending (not free-form text). Each recipient can have optional per-recipient template variables for personalization. Returns detailed results for each recipient.
|
|
1882
1882
|
|
|
1883
1883
|
### Examples
|
|
1884
1884
|
|
|
@@ -2016,7 +2016,7 @@ end
|
|
|
2016
2016
|
|
|
2017
2017
|
Update contact
|
|
2018
2018
|
|
|
2019
|
-
Update an existing WhatsApp contact. All fields are optional; only provided fields will be updated. Custom fields are merged with existing values. Set a custom field to null to remove it.
|
|
2019
|
+
**Deprecated.** Use `PATCH /v1/contacts/{id}` instead. Update an existing WhatsApp contact. All fields are optional; only provided fields will be updated. Custom fields are merged with existing values. Set a custom field to null to remove it.
|
|
2020
2020
|
|
|
2021
2021
|
### Examples
|
|
2022
2022
|
|