-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-docs.json
More file actions
11360 lines (11360 loc) · 378 KB
/
api-docs.json
File metadata and controls
11360 lines (11360 loc) · 378 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"basePath": "/",
"definitions": {
"Action": {
"properties": {
"data": {
"description": "For URL actions, this field is a full URL. For custom actions, it's an empty string.",
"type": "string"
},
"type": {
"description": "For URL actions, this field is <code>openUrl</code>. For custom actions, it's the full URL of the custom action.",
"type": "string"
}
},
"type": "object"
},
"ActionIcon": {
"properties": {
"iconType": {
"$ref": "#/definitions/ActionIconType"
},
"imageName": {
"type": "string"
}
},
"required": [
"iconType",
"imageName"
],
"type": "object"
},
"ActionIconType": {
"type": "object"
},
"ApiEmailTemplateModel": {
"properties": {
"bccEmails": {
"description": "BCC emails",
"items": {
"type": "string"
},
"type": "array"
},
"cacheDataFeed": {
"description": "Cache data feed lookups for 1 hour",
"type": "object"
},
"campaignDataFields": {
"description": "Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name.",
"type": "object"
},
"ccEmails": {
"description": "CC emails",
"items": {
"type": "string"
},
"type": "array"
},
"clientTemplateId": {
"description": "Client template ID. Used as a secondary key to reference the template",
"type": "string"
},
"creatorUserId": {
"description": "Creator User Id",
"type": "string"
},
"dataFeedId": {
"description": "[Deprecated - use dataFeedIds instead] Id for data feed used in template rendering",
"type": "number"
},
"dataFeedIds": {
"description": "Ids for data feeds used in template rendering",
"items": {
"type": "number"
},
"type": "array"
},
"fromEmail": {
"description": "From email (must be an authorized sender)",
"type": "string"
},
"fromName": {
"description": "From name",
"type": "string"
},
"googleAnalyticsCampaignName": {
"description": "Google analytics utm_campaign value",
"type": "string"
},
"html": {
"description": "HTML contents",
"type": "string"
},
"isDefaultLocale": {
"description": "Ask your Iterable CSM to enroll you in the beta for this feature.\n\nIdentifies if the locale associated with the response is the template’s default. If empty or flexible default locales are not enabled for the project, the project’s default locale is assigned.",
"type": "boolean"
},
"linkParams": {
"description": "Parameters to append to each URL in html contents",
"items": {
"$ref": "#/definitions/LinkParam"
},
"type": "array"
},
"locale": {
"description": "The locale for the content in this request. Leave empty for default locale. Iterable will automatically send the content with locale that matches a 'locale' field in the user profile.",
"type": "string"
},
"mergeDataFeedContext": {
"description": "Merge data feed contents into user context, so fields be referenced by {{field}} instead of [[field]]",
"type": "object"
},
"messageTypeId": {
"description": "Message Type Id",
"type": "number"
},
"metadata": {
"$ref": "#/definitions/ApiTemplateResponse",
"description": "Metadata"
},
"name": {
"description": "Name of the template",
"type": "string"
},
"plainText": {
"description": "Plain text contents",
"type": "string"
},
"preheaderText": {
"description": "Preheader text",
"type": "string"
},
"replyToEmail": {
"description": "Reply to email",
"type": "string"
},
"subject": {
"description": "Subject",
"type": "string"
},
"templateId": {
"description": "Email Template ID",
"format": "int64",
"type": "integer"
}
},
"required": [
"templateId"
],
"type": "object"
},
"ApiEmbeddedMessage": {
"properties": {
"elements": {
"$ref": "#/definitions/ApiEmbeddedMessagingElements",
"description": "Content to display in the message, and actions to invoke on click or tap."
},
"metadata": {
"$ref": "#/definitions/ApiEmbeddedMessagingMetadata",
"description": "Identifying information about the embedded message."
},
"payload": {
"description": "Custom JSON data. Use to customize the message display or trigger custom behavior.",
"type": "object"
}
},
"type": "object"
},
"ApiEmbeddedMessagingElements": {
"properties": {
"body": {
"description": "Body text of the embedded message.",
"type": "string"
},
"buttons": {
"description": "Buttons to display with the embedded message.",
"items": {
"$ref": "#/definitions/Button"
},
"type": "array"
},
"defaultAction": {
"$ref": "#/definitions/Action",
"description": "Action to invoke when a user taps or clicks on the embedded message (but not on a button or link)."
},
"mediaUrl": {
"description": "Image URL associated with the embedded message.",
"type": "string"
},
"mediaUrlCaption": {
"description": "Alt text for the image specified by <code>mediaUrl</code>.",
"type": "string"
},
"text": {
"description": "Text fields (other than title and body) to display with the embedded message.",
"items": {
"$ref": "#/definitions/Text"
},
"type": "array"
},
"title": {
"description": "Title text of the embedded message.",
"type": "string"
}
},
"type": "object"
},
"ApiEmbeddedMessagingMetadata": {
"properties": {
"campaignId": {
"description": "ID of the Iterable campaign associated with the embedded message.",
"format": "int32",
"type": "integer"
},
"isProof": {
"description": "Whether or not the campaign is a test message (proof).",
"type": "boolean"
},
"messageId": {
"description": "ID associated with the specific send of a specific campaign to a specific user.",
"type": "string"
},
"placementId": {
"description": "ID of the placement to which the embedded message belongs.",
"format": "int64",
"type": "integer"
},
"priorityOrder": {
"description": "Numeric priority, as compared to other embedded campaigns in the same placement. Lower numbers mean higher priority. Highest priority is 1.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"ApiEmbeddedPlacement": {
"properties": {
"embeddedMessages": {
"description": "Array of embedded messages associated with <code>placementId</code>. The user specified in the request is eligible for all messages in this array.",
"items": {
"$ref": "#/definitions/ApiEmbeddedMessage"
},
"type": "array"
},
"placementId": {
"description": "ID of a placement.",
"format": "int64",
"type": "integer"
}
},
"type": "object"
},
"ApiEmbeddedTemplateModel": {
"properties": {
"body": {
"description": "Body text of the embedded message",
"type": "string"
},
"campaignDataFields": {
"description": "Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name.",
"type": "object"
},
"campaignId": {
"description": "Campaign ID",
"format": "int32",
"type": "integer"
},
"clientTemplateId": {
"description": "Client template ID. Used as a secondary key to reference the template",
"type": "string"
},
"elements": {
"$ref": "#/definitions/Elements",
"description": "Elements (buttons, media, text fields) for the embedded message"
},
"isDefaultLocale": {
"description": "Ask your Iterable CSM to enroll you in the beta for this feature.\n\nIdentifies if the locale associated with the response is the template's default. If empty or flexible default locales are not enabled for the project, the project's default locale is assigned.",
"type": "boolean"
},
"locale": {
"description": "The locale for the content in this request. Leave empty for default locale. Iterable automatically sends the content with a locale that matches a user profile's <code>locale</code> field.",
"type": "string"
},
"messageTypeId": {
"description": "Message type ID",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name of the template",
"type": "string"
},
"payload": {
"description": "Payload",
"type": "object"
},
"placementId": {
"description": "Placement ID that this template is associated with",
"type": "object"
},
"templateId": {
"description": "Embedded message template ID",
"format": "int64",
"type": "integer"
},
"title": {
"description": "Title of the embedded message",
"type": "string"
}
},
"required": [
"templateId"
],
"type": "object"
},
"ApiInAppMessage": {
"properties": {
"campaignId": {
"description": "Campaign ID",
"type": "number"
},
"content": {
"$ref": "#/definitions/InAppContentApi",
"description": "The content for the in-app message"
},
"createdAt": {
"description": "Time the In-app message was created",
"format": "date-time",
"type": "string"
},
"customPayload": {
"description": "The custom payload for the in-app message",
"type": "object"
},
"expiresAt": {
"description": "Time the in-app message will expire",
"format": "date-time",
"type": "string"
},
"inboxMetadata": {
"$ref": "#/definitions/InboxMetadata",
"description": "An object containing inbox metadata associated with this in-app message"
},
"jsonOnly": {
"type": "boolean"
},
"messageId": {
"description": "Iterable-generated Message ID",
"type": "string"
},
"messageType": {
"$ref": "#/definitions/InAppType"
},
"ottPayload": {
"$ref": "#/definitions/RokuContent",
"description": "The custom Roku payload for the in-app message"
},
"priorityLevel": {
"description": "The priority value of the in-app message",
"type": "number"
},
"read": {
"description": "Whether or not the message was read by user",
"type": "boolean"
},
"saveToInbox": {
"description": "Whether or not the message associated with the event was configured to use the inbox",
"type": "boolean"
},
"trigger": {
"$ref": "#/definitions/InAppTrigger",
"description": "The trigger type for the in-app message"
},
"typeOfContent": {
"$ref": "#/definitions/InAppTypeOfContent"
}
},
"required": [
"jsonOnly",
"messageType",
"typeOfContent"
],
"type": "object"
},
"ApiInAppMessagesResponse": {
"properties": {
"inAppMessages": {
"items": {
"$ref": "#/definitions/ApiInAppMessage"
},
"type": "array"
}
},
"required": [
"inAppMessages"
],
"type": "object"
},
"ApiInAppTemplateModel": {
"properties": {
"campaignDataFields": {
"description": "Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name.",
"type": "object"
},
"campaignId": {
"description": "Campaign ID",
"format": "int32",
"type": "integer"
},
"clientTemplateId": {
"description": "Client template ID. Used as a secondary key to reference the template",
"type": "string"
},
"expirationDateTime": {
"description": "The in-app message's absolute expiration time. If set to a time before the campaign sends, contacts will never see the message. Format is <code>YYYY-MM-DD HH:MM:SS</code> (UTC timestamp, time zones not allowed). Default expiration is 90 days after send time. For more information, read <a href=\"https://support.iterable.com/hc/articles/360044425951\">Creating In-App Templates</a>.",
"format": "date-time",
"type": "string"
},
"expirationDuration": {
"description": "The in-app message's expiration time, relative to its send time. Should be an expression such as <code>now+90d</code>. Default expiration is 90 days after send time. For more information, read <a href=\"https://support.iterable.com/hc/articles/360044425951\">Creating In-App Templates</a>.",
"type": "string"
},
"html": {
"description": "Html of the in-app notification",
"type": "string"
},
"inAppDisplaySettings": {
"$ref": "#/definitions/InAppDisplaySettings",
"description": "Display settings"
},
"inboxMetadata": {
"$ref": "#/definitions/InboxMetadata",
"description": "Title, subtitle, and thumbnail"
},
"isDefaultLocale": {
"description": "Ask your Iterable CSM to enroll you in the beta for this feature.\n\nIdentifies if the locale associated with the response is the template's default. If empty or flexible default locales are not enabled for the project, the project's default locale is assigned.",
"type": "boolean"
},
"locale": {
"description": "The locale for the content in this request. Leave empty for default locale. Iterable automatically sends the content with a locale that matches a user profile's <code>locale</code> field.",
"type": "string"
},
"messageTypeId": {
"description": "Message Type Id",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name of the template",
"type": "string"
},
"payload": {
"description": "Payload",
"type": "object"
},
"templateId": {
"description": "In-app template ID",
"format": "int64",
"type": "integer"
},
"webInAppDisplaySettings": {
"$ref": "#/definitions/WebInAppDisplaySettings",
"description": "Web In-app Display settings"
}
},
"required": [
"templateId"
],
"type": "object"
},
"ApiPushTemplateModel": {
"properties": {
"badge": {
"description": "Badge to set for push notification",
"type": "string"
},
"buttons": {
"description": "Array of buttons that appear to respond to the push. Max of 3.",
"items": {
"$ref": "#/definitions/PushActionButton"
},
"type": "array"
},
"cacheDataFeed": {
"description": "Cache data feed lookups for 1 hour",
"type": "boolean"
},
"campaignDataFields": {
"description": "Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name.",
"type": "object"
},
"campaignId": {
"description": "Campaign ID",
"type": "object"
},
"clientTemplateId": {
"description": "Client template ID. Used as a secondary key to reference the template",
"type": "string"
},
"createdAt": {
"description": "Date created [Read only]",
"format": "date-time",
"type": "string"
},
"dataFeedIds": {
"description": "Ids for data feeds used in template rendering",
"items": {
"type": "number"
},
"type": "array"
},
"deeplink": {
"$ref": "#/definitions/DeeplinkURI",
"description": "Deep Link. A mapping that accepts two optional properties: 'ios' & 'android' and their respective deep link values."
},
"interruptionLevel": {
"description": "An interruption level helps iOS determine when to alert a user about the arrival of a push notification",
"enum": [
"passive",
"active",
"time-sensitive",
"critical"
],
"type": "string"
},
"isDefaultLocale": {
"description": "Ask your Iterable CSM to enroll you in the beta for this feature.\n\nIdentifies if the locale associated with the response is the template's default. If empty or flexible default locales are not enabled for the project, the project's default locale is assigned.",
"type": "boolean"
},
"isSilentPush": {
"description": "Whether or not this is a silent push notification template",
"type": "boolean"
},
"locale": {
"description": "The locale for the content in this request. Leave empty for default locale. Iterable will automatically send the content with locale that matches a 'locale' field in the user profile.",
"type": "string"
},
"mergeDataFeedContext": {
"description": "Merge data feed contents into user context, so fields can be referenced by {{field}} instead of [[field]]",
"type": "boolean"
},
"message": {
"description": "Push message",
"type": "string"
},
"messageTypeId": {
"description": "Message Type Id",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name of the template",
"type": "string"
},
"payload": {
"description": "Payload to send with push notification",
"type": "object"
},
"relevanceScore": {
"description": "Relevance score for iOS notifications on iOS 15+. Number is clamped between 0 and 1.0",
"format": "double",
"type": "number"
},
"richMedia": {
"$ref": "#/definitions/RichMediaURL",
"description": "Rich Media URL. A mapping that accepts two optional properties: 'ios' & 'android' and their respective rich media url values."
},
"sound": {
"description": "Sound",
"type": "string"
},
"templateId": {
"description": "Push template ID",
"format": "int64",
"type": "integer"
},
"title": {
"description": "Push message title",
"type": "string"
},
"updatedAt": {
"description": "Date last updated [Read only]",
"format": "date-time",
"type": "string"
},
"wake": {
"description": "Set the content-available flag on iOS notifications, which will wake the app in the background",
"type": "boolean"
}
},
"required": [
"templateId"
],
"type": "object"
},
"ApiResponseUser": {
"properties": {
"dataFields": {
"type": "object"
},
"email": {
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
},
"ApiSMSTemplateModel": {
"properties": {
"campaignDataFields": {
"description": "Campaign-level data fields available as {{field}} merge parameters during message rendering. These fields are overridden by user and event data fields of the same name.",
"type": "object"
},
"campaignId": {
"description": "Campaign ID",
"type": "object"
},
"clientTemplateId": {
"description": "Client template ID. Used as a secondary key to reference the template",
"type": "string"
},
"createdAt": {
"description": "Date created [Read only]",
"format": "date-time",
"type": "string"
},
"googleAnalyticsCampaignName": {
"description": "Google analytics utm_campaign value",
"type": "string"
},
"imageUrl": {
"description": "Image Url",
"type": "string"
},
"isDefaultLocale": {
"description": "Ask your Iterable CSM to enroll you in the beta for this feature.\n\nIdentifies if the locale associated with the response is the template's default. If empty or flexible default locales are not enabled for the project, the project's default locale is assigned.",
"type": "boolean"
},
"linkParams": {
"description": "Parameters to append to each URL in contents",
"items": {
"$ref": "#/definitions/LinkParam"
},
"type": "array"
},
"locale": {
"description": "The locale for the content in this request. Leave empty for default locale. Iterable will automatically send the content with locale that matches a 'locale' field in the user profile.",
"type": "string"
},
"message": {
"description": "SMS message",
"type": "string"
},
"messageTypeId": {
"description": "Message Type Id",
"format": "int32",
"type": "integer"
},
"name": {
"description": "Name of the template",
"type": "string"
},
"templateId": {
"description": "SMS template ID",
"format": "int64",
"type": "integer"
},
"trackingDomain": {
"description": "Tracking Domain",
"type": "string"
},
"updatedAt": {
"description": "Date last updated [Read only]",
"format": "date-time",
"type": "string"
}
},
"required": [
"templateId"
],
"type": "object"
},
"ApiTemplateEntry": {
"properties": {
"campaignId": {
"description": "ID of campaign using this template",
"format": "int64",
"type": "integer"
},
"locales": {
"description": "Locales with content for this template",
"items": {
"$ref": "#/definitions/string"
},
"type": "array"
},
"templateId": {
"description": "Template ID",
"format": "int64",
"type": "integer"
}
},
"required": [
"templateId"
],
"type": "object"
},
"ApiTemplateResponse": {
"properties": {
"campaignId": {
"description": "Campaign ID",
"format": "int32",
"type": "integer"
},
"clientTemplateId": {
"description": "Client template ID. Used as a secondary key to reference the template",
"type": "string"
},
"createdAt": {
"description": "Date created",
"format": "date-time",
"type": "string"
},
"creatorUserId": {
"description": "Creator email",
"type": "string"
},
"messageTypeId": {
"description": "Message type ID",
"format": "int64",
"type": "integer"
},
"name": {
"description": "Name of the template",
"type": "string"
},
"templateId": {
"description": "Template ID",
"format": "int64",
"type": "integer"
},
"updatedAt": {
"description": "Date last updated",
"format": "date-time",
"type": "string"
}
},
"required": [
"createdAt",
"creatorUserId",
"messageTypeId",
"name",
"templateId",
"updatedAt"
],
"type": "object"
},
"ApiUserUpdateRequest": {
"properties": {
"createNewFields": {
"description": "Whether new fields should be ingested and added to the schema. Defaults to project's setting to allow or drop unrecognized fields.",
"example": false,
"type": "boolean"
},
"dataFields": {
"description": "Data to store on the user profile identified by <code>userId</code> or <code>email</code>.",
"type": "object"
},
"email": {
"description": "An email address that identifies a user profile in Iterable. Provide an <code>email</code> or a <code>userId</code> (but not both), depending on <a href=\"https://support.iterable.com/hc/articles/29156459027348\">how your project identifies users</a>.",
"type": "string"
},
"mergeNestedObjects": {
"description": "Merge top-level objects instead of overwriting them. Defaults to <code>false</code>. For example, if a user profile has data <code>{\"mySettings\":{\"mobile\":true}}</code> and the request has data <code>{\"mySettings\":{\"email\":true}}</code>, merging results in <code>{\"mySettings\":{\"mobile\":true,\"email\":true}}</code>.",
"example": false,
"type": "boolean"
},
"preferUserId": {
"description": "Whether or not a new user should be created if the request includes a <code>userId</code> that doesn't yet exist in the Iterable project. Defaults to <code>false</code>. Only respected in API calls for <a href=\"https://support.iterable.com/hc/articles/29156459027348\">email-based projects</a>.",
"example": false,
"type": "boolean"
},
"userId": {
"description": "A user ID that identifies a user profile in Iterable. Provide an <code>email</code> or a <code>userId</code> (but not both), depending on <a href=\"https://support.iterable.com/hc/articles/29156459027348\">how your project identifies users</a>.",
"type": "string"
}
},
"type": "object"
},
"ApiWebhookModel": {
"properties": {
"authToken": {
"description": "Auth token",
"type": "string"
},
"authType": {
"description": "The type of authentication Iterable uses when calling this webhook",
"enum": [
"NoAuth",
"Basic",
"OAuth2"
],
"type": "string"
},
"blastSendEnabled": {
"description": "Whether or not Iterable calls this webhook for blast campaigns",
"type": "boolean"
},
"enabled": {
"description": "Whether or not Iterable will call the webhook when sending campaigns",
"type": "boolean"
},
"endpoint": {
"description": "The URL associated with the webhook",
"type": "string"
},
"headers": {
"description": "Headers",
"items": {
"$ref": "#/definitions/LinkParam"
},
"type": "array"
},
"id": {
"description": "The ID of the webhook in Iterable",
"format": "int64",
"type": "integer"
},
"triggeredSendEnabled": {
"description": "Whether or not Iterable calls this webhook for triggered campaigns",
"type": "boolean"
}
},
"required": [
"id"
],
"type": "object"
},
"ApiWebhookResponse": {
"properties": {
"authType": {
"description": "Auth type",
"type": "string"
},
"blastSendEnabled": {
"description": "Blast Send Enabled",
"type": "boolean"
},
"channelIds": {
"description": "Channel IDs",
"items": {
"type": "object"
},
"type": "array"
},
"enabled": {
"description": "Enabled",
"type": "boolean"
},
"endpoint": {
"description": "Endpoint",
"type": "string"
},
"id": {
"description": "Webhook ID",
"format": "int64",
"type": "integer"
},
"messageTypeIds": {
"description": "Message Type IDs",
"items": {
"type": "object"
},
"type": "array"
},
"triggeredSendEnabled": {
"description": "Triggered Send Enabled",
"type": "boolean"
}
},
"required": [
"authType",
"blastSendEnabled",
"enabled",
"endpoint",
"id",
"triggeredSendEnabled"
],
"type": "object"
},
"ArrayMerge": {
"properties": {
"dedupeBy": {
"description": "The name of a top-level field that exists on the objects in the array being merged. The merge operation uses this field for de-duplicating the array merge.<br/><br/>An object in the source array is discarded from the array merge if it contains the field specified by <code>dedupeBy</code>, and if the destination array has an object with the same field and value. (The merge operation considers arrays to be equal if they have the same items, in the same order. Objects are considered equal if they have the same fields and values. Other data types must simply have the same value.)<br/><br/>If you do not provide a <code>dedupeBy</code> field in a given <code>ArrayMerge</code> object, when merging that array Iterable discards source objects that have exact matches in the analogous destination array (same equivalence rules as described above).<br/><br/>Provide this field only when <code>field</code> references an array of objects. Including <code>dedupeBy</code> when merging an array of some other data type (for example, an array of strings), will cause the entire user merge operation to fail.",
"type": "string"
},
"field": {
"description": "The name of a top-level user profile field that contains an array. During the merge operation, the contents of this array on the source profile are merged with the contents of the same array on the destination profile. For details about de-duplicating array merges, see <code>dedupeBy</code>.<br/><br/>If you specify a <code>field</code> whose value is not an array (for example, a single number like <code>age</code>), the merge operation treats that field as an array with a single value. Because of this, after the merge, the value of that field on the destination user profile will be an array containing both of the original values (except if de-duplication affects the result).",
"type": "string"
}
},
"type": "object"
},
"BeginSmsVerificationRequest": {
"properties": {
"phoneNumber": {
"type": "string"
},
"verificationProfileId": {
"format": "int64",
"type": "integer"
}
},
"required": [
"phoneNumber",
"verificationProfileId"
],
"type": "object"
},
"BgColor": {
"properties": {
"alpha": {
"description": "The opacity range of the background between 0-1",
"type": "number"
},
"hex": {
"description": "The hex color of the background. Format: #FFFFFF",
"type": "string"
}
},
"type": "object"
},
"BulkArchiveCampaignRequest": {
"properties": {
"campaignIds": {
"description": "Campaign IDs to archive",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"campaignIds"
],
"type": "object"
},
"BulkArchiveCampaignsResponse": {
"properties": {
"failed": {
"description": "Campaigns that failed to archive (ids)",
"items": {
"type": "object"
},
"type": "array"
},
"success": {
"description": "Campaigns that were successfully archived (ids)",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"BulkDeleteTemplatesRequest": {
"properties": {
"ids": {
"description": "IDs of templates to be deleted.",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"ids"
],
"type": "object"
},
"BulkDeleteTemplatesResponse": {
"properties": {
"failed": {
"description": "IDs of templates that failed to delete.",
"items": {
"type": "object"
},
"type": "array"
},
"failureReason": {
"description": "Reason for failure",
"type": "string"
},
"success": {