hostinger-api-mcp 1.30.0 → 1.32.0

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.
@@ -6173,7 +6173,7 @@ export default [
6173
6173
  },
6174
6174
  {
6175
6175
  "name": "reach_deleteAContactV1",
6176
- "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.",
6176
+ "description": "Delete a contact with the specified UUID.\n\nThis endpoint permanently removes a contact from the email marketing system.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to the\nclient's default profile and cannot delete contacts of any other profile. Use\n`DELETE /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}` instead.",
6177
6177
  "method": "DELETE",
6178
6178
  "path": "/api/reach/v1/contacts/{uuid}",
6179
6179
  "inputSchema": {
@@ -6195,6 +6195,163 @@ export default [
6195
6195
  ],
6196
6196
  "group": "reach"
6197
6197
  },
6198
+ {
6199
+ "name": "reach_deleteAContactFieldV1",
6200
+ "description": "Delete a custom contact field.\n\nEvery value contacts hold for the field is deleted with it, and for the choice types so\nare its options. The contacts themselves are not affected.",
6201
+ "method": "DELETE",
6202
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/fields/{fieldUuid}",
6203
+ "inputSchema": {
6204
+ "type": "object",
6205
+ "properties": {
6206
+ "profileUuid": {
6207
+ "type": "string",
6208
+ "description": "Profile uuid parameter"
6209
+ },
6210
+ "fieldUuid": {
6211
+ "type": "string",
6212
+ "description": "Contact field uuid parameter"
6213
+ }
6214
+ },
6215
+ "required": [
6216
+ "profileUuid",
6217
+ "fieldUuid"
6218
+ ]
6219
+ },
6220
+ "security": [
6221
+ {
6222
+ "apiToken": []
6223
+ }
6224
+ ],
6225
+ "group": "reach"
6226
+ },
6227
+ {
6228
+ "name": "reach_updateAContactFieldV1",
6229
+ "description": "Rename a custom contact field and, for the choice types, replace its option set.\n\nOptions carrying a uuid are kept and relabelled, options without one are created, and any\nexisting option left out of the list is deleted along with the values contacts hold for\nit. The field type and slug cannot be changed.",
6230
+ "method": "PATCH",
6231
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/fields/{fieldUuid}",
6232
+ "inputSchema": {
6233
+ "type": "object",
6234
+ "properties": {
6235
+ "profileUuid": {
6236
+ "type": "string",
6237
+ "description": "Profile uuid parameter"
6238
+ },
6239
+ "fieldUuid": {
6240
+ "type": "string",
6241
+ "description": "Contact field uuid parameter"
6242
+ },
6243
+ "label": {
6244
+ "type": "string",
6245
+ "description": "label parameter"
6246
+ },
6247
+ "options": {
6248
+ "type": "array",
6249
+ "description": "Replaces the option set when provided. Entries carrying a uuid are kept and relabelled, entries without one are created, and any existing option missing from the list is deleted along with the values contacts hold for it.",
6250
+ "items": {
6251
+ "type": "object",
6252
+ "description": "options parameter",
6253
+ "properties": {
6254
+ "uuid": {
6255
+ "type": "string",
6256
+ "description": "uuid parameter"
6257
+ },
6258
+ "label": {
6259
+ "type": "string",
6260
+ "description": "label parameter"
6261
+ }
6262
+ },
6263
+ "required": [
6264
+ "label"
6265
+ ]
6266
+ }
6267
+ }
6268
+ },
6269
+ "required": [
6270
+ "profileUuid",
6271
+ "fieldUuid",
6272
+ "label"
6273
+ ]
6274
+ },
6275
+ "security": [
6276
+ {
6277
+ "apiToken": []
6278
+ }
6279
+ ],
6280
+ "group": "reach"
6281
+ },
6282
+ {
6283
+ "name": "reach_listContactFieldsV1",
6284
+ "description": "Get the custom contact fields defined in a profile.\n\nCustom fields let you store your own attributes on contacts. The returned uuids are what\nyou pass to the contact update endpoint to set values, and choice fields also list the\noptions available to pick from.",
6285
+ "method": "GET",
6286
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/fields",
6287
+ "inputSchema": {
6288
+ "type": "object",
6289
+ "properties": {
6290
+ "profileUuid": {
6291
+ "type": "string",
6292
+ "description": "Profile uuid parameter"
6293
+ }
6294
+ },
6295
+ "required": [
6296
+ "profileUuid"
6297
+ ]
6298
+ },
6299
+ "security": [
6300
+ {
6301
+ "apiToken": []
6302
+ }
6303
+ ],
6304
+ "group": "reach"
6305
+ },
6306
+ {
6307
+ "name": "reach_createAContactFieldV1",
6308
+ "description": "Define a new custom contact field in a profile.\n\nThe `slug` is derived from the label and, like the field type, cannot be changed later.\nUse the returned uuid to set values on contacts.",
6309
+ "method": "POST",
6310
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/fields",
6311
+ "inputSchema": {
6312
+ "type": "object",
6313
+ "properties": {
6314
+ "profileUuid": {
6315
+ "type": "string",
6316
+ "description": "Profile uuid parameter"
6317
+ },
6318
+ "type": {
6319
+ "type": "string",
6320
+ "description": "Immutable once the field exists",
6321
+ "enum": [
6322
+ "text",
6323
+ "number",
6324
+ "date",
6325
+ "single_choice",
6326
+ "multi_choice"
6327
+ ]
6328
+ },
6329
+ "label": {
6330
+ "type": "string",
6331
+ "description": "label parameter"
6332
+ },
6333
+ "options": {
6334
+ "type": "array",
6335
+ "description": "Required for single_choice and multi_choice, ignored for the scalar types. Labels must be unique regardless of casing.",
6336
+ "items": {
6337
+ "type": "string",
6338
+ "description": "options parameter"
6339
+ }
6340
+ }
6341
+ },
6342
+ "required": [
6343
+ "profileUuid",
6344
+ "type",
6345
+ "label"
6346
+ ]
6347
+ },
6348
+ "security": [
6349
+ {
6350
+ "apiToken": []
6351
+ }
6352
+ ],
6353
+ "group": "reach"
6354
+ },
6198
6355
  {
6199
6356
  "name": "reach_listContactGroupsV1",
6200
6357
  "description": "Get a list of all contact groups.\n\nThis endpoint returns a list of contact groups that can be used to organize contacts.",
@@ -6202,8 +6359,296 @@ export default [
6202
6359
  "path": "/api/reach/v1/contacts/groups",
6203
6360
  "inputSchema": {
6204
6361
  "type": "object",
6205
- "properties": {},
6206
- "required": []
6362
+ "properties": {},
6363
+ "required": []
6364
+ },
6365
+ "security": [
6366
+ {
6367
+ "apiToken": []
6368
+ }
6369
+ ],
6370
+ "group": "reach"
6371
+ },
6372
+ {
6373
+ "name": "reach_listContactsV1",
6374
+ "description": "Get a list of contacts, optionally filtered by group and subscription status.\n\nThis endpoint returns a paginated list of contacts with their basic information.\nYou can filter contacts by group UUID and subscription status.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to the\nclient's default profile and cannot list contacts of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/contacts` instead, which also replaces the\ngroup filter with a tag filter.",
6375
+ "method": "GET",
6376
+ "path": "/api/reach/v1/contacts",
6377
+ "inputSchema": {
6378
+ "type": "object",
6379
+ "properties": {
6380
+ "group_uuid": {
6381
+ "type": "string",
6382
+ "description": "Filter contacts by group UUID"
6383
+ },
6384
+ "subscription_status": {
6385
+ "type": "string",
6386
+ "description": "Filter contacts by subscription status",
6387
+ "enum": [
6388
+ "subscribed",
6389
+ "unsubscribed",
6390
+ "confirmed",
6391
+ "pending"
6392
+ ]
6393
+ },
6394
+ "page": {
6395
+ "type": "integer",
6396
+ "description": "Page number"
6397
+ }
6398
+ },
6399
+ "required": []
6400
+ },
6401
+ "security": [
6402
+ {
6403
+ "apiToken": []
6404
+ }
6405
+ ],
6406
+ "group": "reach"
6407
+ },
6408
+ {
6409
+ "name": "reach_createANewContactV1",
6410
+ "description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled,\nthe contact will be created with a pending status and a confirmation email will be sent.",
6411
+ "method": "POST",
6412
+ "path": "/api/reach/v1/contacts",
6413
+ "inputSchema": {
6414
+ "type": "object",
6415
+ "properties": {
6416
+ "email": {
6417
+ "type": "string",
6418
+ "description": "email parameter"
6419
+ },
6420
+ "name": {
6421
+ "type": "string",
6422
+ "description": "name parameter"
6423
+ },
6424
+ "surname": {
6425
+ "type": "string",
6426
+ "description": "surname parameter"
6427
+ },
6428
+ "phone": {
6429
+ "type": "string",
6430
+ "description": "Phone number in E.164 format (leading \"+\" then 7-15 digits)"
6431
+ },
6432
+ "note": {
6433
+ "type": "string",
6434
+ "description": "note parameter"
6435
+ }
6436
+ },
6437
+ "required": [
6438
+ "email"
6439
+ ]
6440
+ },
6441
+ "security": [
6442
+ {
6443
+ "apiToken": []
6444
+ }
6445
+ ],
6446
+ "group": "reach"
6447
+ },
6448
+ {
6449
+ "name": "reach_getContactDetailsV1",
6450
+ "description": "Get the full details of a single contact.\n\nAlongside the contact's own attributes this returns the tags assigned to it and the\nvalues it holds for the profile's custom contact fields.",
6451
+ "method": "GET",
6452
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}",
6453
+ "inputSchema": {
6454
+ "type": "object",
6455
+ "properties": {
6456
+ "profileUuid": {
6457
+ "type": "string",
6458
+ "description": "Profile uuid parameter"
6459
+ },
6460
+ "contactUuid": {
6461
+ "type": "string",
6462
+ "description": "Contact uuid parameter"
6463
+ }
6464
+ },
6465
+ "required": [
6466
+ "profileUuid",
6467
+ "contactUuid"
6468
+ ]
6469
+ },
6470
+ "security": [
6471
+ {
6472
+ "apiToken": []
6473
+ }
6474
+ ],
6475
+ "group": "reach"
6476
+ },
6477
+ {
6478
+ "name": "reach_deleteAProfileContactV1",
6479
+ "description": "Permanently delete a contact from a profile.\n\nThe contact is removed together with its custom field values and tag assignments.",
6480
+ "method": "DELETE",
6481
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}",
6482
+ "inputSchema": {
6483
+ "type": "object",
6484
+ "properties": {
6485
+ "profileUuid": {
6486
+ "type": "string",
6487
+ "description": "Profile uuid parameter"
6488
+ },
6489
+ "contactUuid": {
6490
+ "type": "string",
6491
+ "description": "Contact uuid parameter"
6492
+ }
6493
+ },
6494
+ "required": [
6495
+ "profileUuid",
6496
+ "contactUuid"
6497
+ ]
6498
+ },
6499
+ "security": [
6500
+ {
6501
+ "apiToken": []
6502
+ }
6503
+ ],
6504
+ "group": "reach"
6505
+ },
6506
+ {
6507
+ "name": "reach_updateAContactV1",
6508
+ "description": "Update a contact's attributes and custom field values.\n\nOnly the properties present in the request body are changed, so a partial body is enough\nto change a single attribute. Sending a property as `null` clears it.\n\nThe response carries the contact's core attributes. Read back its tags, custom field\nvalues, source and note with `GET /api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}`.",
6509
+ "method": "PATCH",
6510
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/{contactUuid}",
6511
+ "inputSchema": {
6512
+ "type": "object",
6513
+ "properties": {
6514
+ "profileUuid": {
6515
+ "type": "string",
6516
+ "description": "Profile uuid parameter"
6517
+ },
6518
+ "contactUuid": {
6519
+ "type": "string",
6520
+ "description": "Contact uuid parameter"
6521
+ },
6522
+ "email": {
6523
+ "type": "string",
6524
+ "description": "email parameter"
6525
+ },
6526
+ "name": {
6527
+ "type": "string",
6528
+ "description": "name parameter"
6529
+ },
6530
+ "surname": {
6531
+ "type": "string",
6532
+ "description": "surname parameter"
6533
+ },
6534
+ "phone": {
6535
+ "type": "string",
6536
+ "description": "Phone number in E.164 format (leading \"+\" then 7-15 digits)"
6537
+ },
6538
+ "subscription_status": {
6539
+ "type": "string",
6540
+ "description": "subscription_status parameter",
6541
+ "enum": [
6542
+ "subscribed",
6543
+ "unsubscribed",
6544
+ "confirmed",
6545
+ "pending"
6546
+ ]
6547
+ },
6548
+ "note": {
6549
+ "type": "string",
6550
+ "description": "note parameter"
6551
+ },
6552
+ "fields": {
6553
+ "type": "array",
6554
+ "description": "Set custom field values. Omit to leave untouched, send an empty array to clear them all.",
6555
+ "items": {
6556
+ "type": "object",
6557
+ "description": "fields parameter",
6558
+ "properties": {
6559
+ "uuid": {
6560
+ "type": "string",
6561
+ "description": "uuid parameter"
6562
+ },
6563
+ "value": {
6564
+ "type": "string",
6565
+ "description": "For the scalar field types"
6566
+ },
6567
+ "selected_option_uuids": {
6568
+ "type": "array",
6569
+ "description": "For the choice field types",
6570
+ "items": {
6571
+ "type": "string",
6572
+ "description": "selected_option_uuids parameter"
6573
+ }
6574
+ }
6575
+ },
6576
+ "required": [
6577
+ "uuid"
6578
+ ]
6579
+ }
6580
+ }
6581
+ },
6582
+ "required": [
6583
+ "profileUuid",
6584
+ "contactUuid"
6585
+ ]
6586
+ },
6587
+ "security": [
6588
+ {
6589
+ "apiToken": []
6590
+ }
6591
+ ],
6592
+ "group": "reach"
6593
+ },
6594
+ {
6595
+ "name": "reach_createContactsInBulkV1",
6596
+ "description": "Create many contacts in a profile in a single call.\n\nThe contacts are imported in the background, so a success response means the import was\naccepted rather than finished. Contacts whose email already exists in the profile are\nleft as they are. If double opt-in is enabled, new contacts start off pending and are\nsent a confirmation email.",
6597
+ "method": "POST",
6598
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts/bulk",
6599
+ "inputSchema": {
6600
+ "type": "object",
6601
+ "properties": {
6602
+ "profileUuid": {
6603
+ "type": "string",
6604
+ "description": "Profile uuid parameter"
6605
+ },
6606
+ "contacts": {
6607
+ "type": "array",
6608
+ "description": "contacts parameter",
6609
+ "items": {
6610
+ "type": "object",
6611
+ "description": "contacts parameter",
6612
+ "properties": {
6613
+ "email": {
6614
+ "type": "string",
6615
+ "description": "email parameter"
6616
+ },
6617
+ "name": {
6618
+ "type": "string",
6619
+ "description": "name parameter"
6620
+ },
6621
+ "surname": {
6622
+ "type": "string",
6623
+ "description": "surname parameter"
6624
+ },
6625
+ "phone": {
6626
+ "type": "string",
6627
+ "description": "Phone number in E.164 format (leading \"+\" then 7-15 digits)"
6628
+ }
6629
+ },
6630
+ "required": [
6631
+ "email"
6632
+ ]
6633
+ }
6634
+ },
6635
+ "tag_uuids": {
6636
+ "type": "array",
6637
+ "description": "Existing tags to attach to every created contact",
6638
+ "items": {
6639
+ "type": "string",
6640
+ "description": "tag_uuids parameter"
6641
+ }
6642
+ },
6643
+ "note": {
6644
+ "type": "string",
6645
+ "description": "Note applied to every created contact"
6646
+ }
6647
+ },
6648
+ "required": [
6649
+ "profileUuid",
6650
+ "contacts"
6651
+ ]
6207
6652
  },
6208
6653
  "security": [
6209
6654
  {
@@ -6213,31 +6658,47 @@ export default [
6213
6658
  "group": "reach"
6214
6659
  },
6215
6660
  {
6216
- "name": "reach_listContactsV1",
6217
- "description": "Get a list of contacts, optionally filtered by group and subscription status.\n\nThis endpoint returns a paginated list of contacts with their basic information.\nYou can filter contacts by group UUID and subscription status.",
6661
+ "name": "reach_listProfileContactsV1",
6662
+ "description": "Get a paginated list of contacts belonging to a profile.\n\nContacts can be filtered by subscription status, by tag, and by an email search term.\nThe `meta.total` field of the response is the number of contacts matching the filters,\nso calling this endpoint without filters gives the profile's total contact count.",
6218
6663
  "method": "GET",
6219
- "path": "/api/reach/v1/contacts",
6664
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts",
6220
6665
  "inputSchema": {
6221
6666
  "type": "object",
6222
6667
  "properties": {
6223
- "group_uuid": {
6668
+ "profileUuid": {
6224
6669
  "type": "string",
6225
- "description": "Filter contacts by group UUID"
6670
+ "description": "Profile uuid parameter"
6226
6671
  },
6227
6672
  "subscription_status": {
6228
6673
  "type": "string",
6229
6674
  "description": "Filter contacts by subscription status",
6230
6675
  "enum": [
6231
6676
  "subscribed",
6232
- "unsubscribed"
6677
+ "unsubscribed",
6678
+ "confirmed",
6679
+ "pending"
6233
6680
  ]
6234
6681
  },
6682
+ "tag_uuid": {
6683
+ "type": "string",
6684
+ "description": "Filter contacts by tag UUID"
6685
+ },
6686
+ "search": {
6687
+ "type": "string",
6688
+ "description": "Search contacts by email"
6689
+ },
6235
6690
  "page": {
6236
6691
  "type": "integer",
6237
6692
  "description": "Page number"
6693
+ },
6694
+ "per_page": {
6695
+ "type": "integer",
6696
+ "description": "Number of items per page"
6238
6697
  }
6239
6698
  },
6240
- "required": []
6699
+ "required": [
6700
+ "profileUuid"
6701
+ ]
6241
6702
  },
6242
6703
  "security": [
6243
6704
  {
@@ -6247,13 +6708,17 @@ export default [
6247
6708
  "group": "reach"
6248
6709
  },
6249
6710
  {
6250
- "name": "reach_createANewContactV1",
6251
- "description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled,\nthe contact will be created with a pending status and a confirmation email will be sent.",
6711
+ "name": "reach_createNewContactsV1",
6712
+ "description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled, the contact will be created with a pending status\nand a confirmation email will be sent.",
6252
6713
  "method": "POST",
6253
- "path": "/api/reach/v1/contacts",
6714
+ "path": "/api/reach/v1/profiles/{profileUuid}/contacts",
6254
6715
  "inputSchema": {
6255
6716
  "type": "object",
6256
6717
  "properties": {
6718
+ "profileUuid": {
6719
+ "type": "string",
6720
+ "description": "Profile uuid parameter"
6721
+ },
6257
6722
  "email": {
6258
6723
  "type": "string",
6259
6724
  "description": "email parameter"
@@ -6276,6 +6741,7 @@ export default [
6276
6741
  }
6277
6742
  },
6278
6743
  "required": [
6744
+ "profileUuid",
6279
6745
  "email"
6280
6746
  ]
6281
6747
  },
@@ -6501,10 +6967,10 @@ export default [
6501
6967
  "group": "reach"
6502
6968
  },
6503
6969
  {
6504
- "name": "reach_createNewContactsV1",
6505
- "description": "Create a new contact in the email marketing system.\n\nThis endpoint allows you to create a new contact with basic information like name, email, and surname.\n\nIf double opt-in is enabled, the contact will be created with a pending status\nand a confirmation email will be sent.",
6970
+ "name": "reach_assignAContactToATagV1",
6971
+ "description": "Assign a tag to a single contact.\n\nUnlike the bulk endpoint this is applied immediately rather than queued. Assigning a tag\nthe contact already carries succeeds without duplicating it.",
6506
6972
  "method": "POST",
6507
- "path": "/api/reach/v1/profiles/{profileUuid}/contacts",
6973
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts/{contactUuid}",
6508
6974
  "inputSchema": {
6509
6975
  "type": "object",
6510
6976
  "properties": {
@@ -6512,30 +6978,243 @@ export default [
6512
6978
  "type": "string",
6513
6979
  "description": "Profile uuid parameter"
6514
6980
  },
6515
- "email": {
6981
+ "tagUuid": {
6516
6982
  "type": "string",
6517
- "description": "email parameter"
6983
+ "description": "Tag uuid parameter"
6518
6984
  },
6519
- "name": {
6985
+ "contactUuid": {
6520
6986
  "type": "string",
6521
- "description": "name parameter"
6987
+ "description": "Contact uuid parameter"
6988
+ }
6989
+ },
6990
+ "required": [
6991
+ "profileUuid",
6992
+ "tagUuid",
6993
+ "contactUuid"
6994
+ ]
6995
+ },
6996
+ "security": [
6997
+ {
6998
+ "apiToken": []
6999
+ }
7000
+ ],
7001
+ "group": "reach"
7002
+ },
7003
+ {
7004
+ "name": "reach_removeAContactFromATagV1",
7005
+ "description": "Remove a tag from a single contact.\n\nUnlike the bulk endpoint this is applied immediately rather than queued. Neither the tag\nnor the contact is deleted.",
7006
+ "method": "DELETE",
7007
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts/{contactUuid}",
7008
+ "inputSchema": {
7009
+ "type": "object",
7010
+ "properties": {
7011
+ "profileUuid": {
7012
+ "type": "string",
7013
+ "description": "Profile uuid parameter"
6522
7014
  },
6523
- "surname": {
7015
+ "tagUuid": {
6524
7016
  "type": "string",
6525
- "description": "surname parameter"
7017
+ "description": "Tag uuid parameter"
6526
7018
  },
6527
- "phone": {
7019
+ "contactUuid": {
6528
7020
  "type": "string",
6529
- "description": "Phone number in E.164 format (leading \"+\" then 7-15 digits)"
7021
+ "description": "Contact uuid parameter"
7022
+ }
7023
+ },
7024
+ "required": [
7025
+ "profileUuid",
7026
+ "tagUuid",
7027
+ "contactUuid"
7028
+ ]
7029
+ },
7030
+ "security": [
7031
+ {
7032
+ "apiToken": []
7033
+ }
7034
+ ],
7035
+ "group": "reach"
7036
+ },
7037
+ {
7038
+ "name": "reach_assignContactsToATagV1",
7039
+ "description": "Assign a tag to many contacts at once.\n\nPass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact\nin the profile. The work is queued, so a success response means it was accepted rather than\nfinished. Contacts that already carry the tag are left alone.",
7040
+ "method": "POST",
7041
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts",
7042
+ "inputSchema": {
7043
+ "type": "object",
7044
+ "properties": {
7045
+ "profileUuid": {
7046
+ "type": "string",
7047
+ "description": "Profile uuid parameter"
6530
7048
  },
6531
- "note": {
7049
+ "tagUuid": {
6532
7050
  "type": "string",
6533
- "description": "note parameter"
7051
+ "description": "Tag uuid parameter"
7052
+ },
7053
+ "contact_uuids": {
7054
+ "type": "array",
7055
+ "description": "Contacts to apply the change to. Required unless all_contacts is true.",
7056
+ "items": {
7057
+ "type": "string",
7058
+ "description": "contact_uuids parameter"
7059
+ }
7060
+ },
7061
+ "all_contacts": {
7062
+ "type": "boolean",
7063
+ "description": "Apply to every contact in the profile"
6534
7064
  }
6535
7065
  },
6536
7066
  "required": [
6537
7067
  "profileUuid",
6538
- "email"
7068
+ "tagUuid"
7069
+ ]
7070
+ },
7071
+ "security": [
7072
+ {
7073
+ "apiToken": []
7074
+ }
7075
+ ],
7076
+ "group": "reach"
7077
+ },
7078
+ {
7079
+ "name": "reach_removeContactsFromATagV1",
7080
+ "description": "Remove a tag from many contacts at once.\n\nPass `contact_uuids` to target specific contacts, or `all_contacts` to target every contact\nin the profile. The work is queued, so a success response means it was accepted rather than\nfinished. The tag itself and the contacts are not deleted.",
7081
+ "method": "DELETE",
7082
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}/contacts",
7083
+ "inputSchema": {
7084
+ "type": "object",
7085
+ "properties": {
7086
+ "profileUuid": {
7087
+ "type": "string",
7088
+ "description": "Profile uuid parameter"
7089
+ },
7090
+ "tagUuid": {
7091
+ "type": "string",
7092
+ "description": "Tag uuid parameter"
7093
+ }
7094
+ },
7095
+ "required": [
7096
+ "profileUuid",
7097
+ "tagUuid"
7098
+ ]
7099
+ },
7100
+ "security": [
7101
+ {
7102
+ "apiToken": []
7103
+ }
7104
+ ],
7105
+ "group": "reach"
7106
+ },
7107
+ {
7108
+ "name": "reach_deleteATagV1",
7109
+ "description": "Delete a tag and remove it from every contact carrying it.\n\nThe contacts themselves are not deleted. This is idempotent: deleting a tag that does not\nexist in the profile still succeeds.",
7110
+ "method": "DELETE",
7111
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}",
7112
+ "inputSchema": {
7113
+ "type": "object",
7114
+ "properties": {
7115
+ "profileUuid": {
7116
+ "type": "string",
7117
+ "description": "Profile uuid parameter"
7118
+ },
7119
+ "tagUuid": {
7120
+ "type": "string",
7121
+ "description": "Tag uuid parameter"
7122
+ }
7123
+ },
7124
+ "required": [
7125
+ "profileUuid",
7126
+ "tagUuid"
7127
+ ]
7128
+ },
7129
+ "security": [
7130
+ {
7131
+ "apiToken": []
7132
+ }
7133
+ ],
7134
+ "group": "reach"
7135
+ },
7136
+ {
7137
+ "name": "reach_renameATagV1",
7138
+ "description": "Rename a tag.\n\nThe contacts assigned to the tag are unaffected. Names are unique within a profile, so\nrenaming a tag to a name that is already taken is rejected.",
7139
+ "method": "PATCH",
7140
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags/{tagUuid}",
7141
+ "inputSchema": {
7142
+ "type": "object",
7143
+ "properties": {
7144
+ "profileUuid": {
7145
+ "type": "string",
7146
+ "description": "Profile uuid parameter"
7147
+ },
7148
+ "tagUuid": {
7149
+ "type": "string",
7150
+ "description": "Tag uuid parameter"
7151
+ },
7152
+ "value": {
7153
+ "type": "string",
7154
+ "description": "New tag name"
7155
+ }
7156
+ },
7157
+ "required": [
7158
+ "profileUuid",
7159
+ "tagUuid",
7160
+ "value"
7161
+ ]
7162
+ },
7163
+ "security": [
7164
+ {
7165
+ "apiToken": []
7166
+ }
7167
+ ],
7168
+ "group": "reach"
7169
+ },
7170
+ {
7171
+ "name": "reach_listProfileTagsV1",
7172
+ "description": "Get all tags defined in a profile.\n\nTags are the way contacts are grouped in Reach, and can be used to filter the contact\nlist or to build segments.",
7173
+ "method": "GET",
7174
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags",
7175
+ "inputSchema": {
7176
+ "type": "object",
7177
+ "properties": {
7178
+ "profileUuid": {
7179
+ "type": "string",
7180
+ "description": "Profile uuid parameter"
7181
+ }
7182
+ },
7183
+ "required": [
7184
+ "profileUuid"
7185
+ ]
7186
+ },
7187
+ "security": [
7188
+ {
7189
+ "apiToken": []
7190
+ }
7191
+ ],
7192
+ "group": "reach"
7193
+ },
7194
+ {
7195
+ "name": "reach_createOrFindTagsV1",
7196
+ "description": "Create tags in a profile.\n\nNames that already exist in the profile are not duplicated: the existing tag is returned\ninstead, so the call is safe to repeat. Every tag in the request is returned, whether it\nwas created now or already existed.",
7197
+ "method": "POST",
7198
+ "path": "/api/reach/v1/profiles/{profileUuid}/tags",
7199
+ "inputSchema": {
7200
+ "type": "object",
7201
+ "properties": {
7202
+ "profileUuid": {
7203
+ "type": "string",
7204
+ "description": "Profile uuid parameter"
7205
+ },
7206
+ "names": {
7207
+ "type": "array",
7208
+ "description": "names parameter",
7209
+ "items": {
7210
+ "type": "string",
7211
+ "description": "names parameter"
7212
+ }
7213
+ }
7214
+ },
7215
+ "required": [
7216
+ "profileUuid",
7217
+ "names"
6539
7218
  ]
6540
7219
  },
6541
7220
  "security": [