hostinger-api-mcp 1.32.0 → 1.33.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.
@@ -583,7 +583,7 @@ export default [
583
583
  },
584
584
  {
585
585
  "name": "reach_listSegmentsV1",
586
- "description": "Get a list of all contact segments.\n\nThis endpoint returns a list of contact segments that can be used to organize contacts.",
586
+ "description": "Get a list of all contact segments.\n\nThis endpoint returns a list of contact segments that can be used to organize contacts.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot list the segments of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments` instead.",
587
587
  "method": "GET",
588
588
  "path": "/api/reach/v1/segmentation/segments",
589
589
  "inputSchema": {
@@ -600,7 +600,7 @@ export default [
600
600
  },
601
601
  {
602
602
  "name": "reach_createANewContactSegmentV1",
603
- "description": "Create a new contact segment.\n\nThis endpoint allows creating a new contact segment that can be used to organize contacts.\nThe segment can be configured with specific criteria like email, name, subscription status, etc.",
603
+ "description": "Create a new contact segment.\n\nThis endpoint allows creating a new contact segment that can be used to organize contacts.\nThe segment can be configured with specific criteria like email, name, subscription status, etc.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot create segments in any other profile. Use\n`POST /api/reach/v1/profiles/{profileUuid}/segmentation/segments` instead.",
604
604
  "method": "POST",
605
605
  "path": "/api/reach/v1/segmentation/segments",
606
606
  "inputSchema": {
@@ -639,6 +639,8 @@ export default [
639
639
  "not_dropped",
640
640
  "bounced",
641
641
  "not_bounced",
642
+ "soft_bounced",
643
+ "not_soft_bounced",
642
644
  "opened",
643
645
  "not_opened",
644
646
  "clicked",
@@ -702,6 +704,35 @@ export default [
702
704
  ],
703
705
  "group": "reach"
704
706
  },
707
+ {
708
+ "name": "reach_countProfileSegmentContactsV1",
709
+ "description": "Count the contacts currently matching a segment without listing them.\n\nCheaper than paging through the segment contacts endpoint when only the size is needed.",
710
+ "method": "GET",
711
+ "path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/count",
712
+ "inputSchema": {
713
+ "type": "object",
714
+ "properties": {
715
+ "profileUuid": {
716
+ "type": "string",
717
+ "description": "Profile uuid parameter"
718
+ },
719
+ "segmentUuid": {
720
+ "type": "string",
721
+ "description": "Segment uuid parameter"
722
+ }
723
+ },
724
+ "required": [
725
+ "profileUuid",
726
+ "segmentUuid"
727
+ ]
728
+ },
729
+ "security": [
730
+ {
731
+ "apiToken": []
732
+ }
733
+ ],
734
+ "group": "reach"
735
+ },
705
736
  {
706
737
  "name": "reach_listProfileSegmentContactsV1",
707
738
  "description": "Retrieve contacts associated with a specific segment for a given profile.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID, scoped to a specific profile.",
@@ -739,9 +770,298 @@ export default [
739
770
  ],
740
771
  "group": "reach"
741
772
  },
773
+ {
774
+ "name": "reach_getProfileSegmentDetailsV1",
775
+ "description": "Get a single segment of a profile, including the conditions that define it.\n\nTo retrieve the contacts currently matching those conditions, use the segment contacts\nendpoint instead.",
776
+ "method": "GET",
777
+ "path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}",
778
+ "inputSchema": {
779
+ "type": "object",
780
+ "properties": {
781
+ "profileUuid": {
782
+ "type": "string",
783
+ "description": "Profile uuid parameter"
784
+ },
785
+ "segmentUuid": {
786
+ "type": "string",
787
+ "description": "Segment uuid parameter"
788
+ }
789
+ },
790
+ "required": [
791
+ "profileUuid",
792
+ "segmentUuid"
793
+ ]
794
+ },
795
+ "security": [
796
+ {
797
+ "apiToken": []
798
+ }
799
+ ],
800
+ "group": "reach"
801
+ },
802
+ {
803
+ "name": "reach_updateAProfileSegmentV1",
804
+ "description": "Rename a segment and/or replace the conditions that define it.\n\n`name` is always required. Omit `conditions` to rename without touching the conditions;\nsupply them and they replace the existing set entirely rather than being merged into it.\nContacts are never modified, but which of them match the segment can change immediately.",
805
+ "method": "PUT",
806
+ "path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}",
807
+ "inputSchema": {
808
+ "type": "object",
809
+ "properties": {
810
+ "profileUuid": {
811
+ "type": "string",
812
+ "description": "Profile uuid parameter"
813
+ },
814
+ "segmentUuid": {
815
+ "type": "string",
816
+ "description": "Segment uuid parameter"
817
+ },
818
+ "name": {
819
+ "type": "string",
820
+ "description": "name parameter"
821
+ },
822
+ "conditions": {
823
+ "type": "array",
824
+ "description": "Replaces the existing conditions entirely. Omit to keep the current ones.",
825
+ "items": {
826
+ "type": "object",
827
+ "description": "conditions parameter",
828
+ "properties": {
829
+ "attribute": {
830
+ "type": "string",
831
+ "description": "A built-in contact attribute, or `cf:{fieldUuid}` to target a custom\ncontact field. Custom fields are addressed by field UUID; their slug\nis not accepted.\n\nBuilt-in attributes: `email`, `note`, `domain`, `source`,\n`opt_in_method`, `subscription_status`, `subscribed_at`,\n`unsubscribed_at`, `created_at`, `tag`, `campaigns`, `processed`,\n`opened`, `clicked`, `delivered`, `bounced`, `soft_bounced`,\n`dropped`.\n\nWhich operators are accepted depends on the attribute."
832
+ },
833
+ "operator": {
834
+ "type": "string",
835
+ "description": "operator parameter",
836
+ "enum": [
837
+ "equals",
838
+ "not_equals",
839
+ "contains",
840
+ "not_contains",
841
+ "gte",
842
+ "lte",
843
+ "exists",
844
+ "within_last_days",
845
+ "not_within_last_days",
846
+ "older_than_days",
847
+ "processed",
848
+ "not_processed",
849
+ "delivered",
850
+ "not_delivered",
851
+ "dropped",
852
+ "not_dropped",
853
+ "bounced",
854
+ "not_bounced",
855
+ "soft_bounced",
856
+ "not_soft_bounced",
857
+ "opened",
858
+ "not_opened",
859
+ "clicked",
860
+ "not_clicked",
861
+ "unsubscribed",
862
+ "not_unsubscribed"
863
+ ]
864
+ },
865
+ "value": {
866
+ "type": "string",
867
+ "description": "Always a string, including for numeric and date comparisons"
868
+ }
869
+ },
870
+ "required": [
871
+ "attribute",
872
+ "operator",
873
+ "value"
874
+ ]
875
+ }
876
+ },
877
+ "logic": {
878
+ "type": "string",
879
+ "description": "How to combine multiple conditions. Required when conditions are given.",
880
+ "enum": [
881
+ "AND",
882
+ "OR"
883
+ ]
884
+ }
885
+ },
886
+ "required": [
887
+ "profileUuid",
888
+ "segmentUuid",
889
+ "name"
890
+ ]
891
+ },
892
+ "security": [
893
+ {
894
+ "apiToken": []
895
+ }
896
+ ],
897
+ "group": "reach"
898
+ },
899
+ {
900
+ "name": "reach_deleteAProfileSegmentV1",
901
+ "description": "Delete a segment.\n\nOnly the segment definition is removed. The contacts that matched it are left untouched.",
902
+ "method": "DELETE",
903
+ "path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}",
904
+ "inputSchema": {
905
+ "type": "object",
906
+ "properties": {
907
+ "profileUuid": {
908
+ "type": "string",
909
+ "description": "Profile uuid parameter"
910
+ },
911
+ "segmentUuid": {
912
+ "type": "string",
913
+ "description": "Segment uuid parameter"
914
+ }
915
+ },
916
+ "required": [
917
+ "profileUuid",
918
+ "segmentUuid"
919
+ ]
920
+ },
921
+ "security": [
922
+ {
923
+ "apiToken": []
924
+ }
925
+ ],
926
+ "group": "reach"
927
+ },
928
+ {
929
+ "name": "reach_listProfileSegmentsV1",
930
+ "description": "Get a paginated list of the segments defined in a profile.\n\nEach entry carries the number of contacts currently matching it, which is recalculated on\nread rather than stored. Use `count_type` to count either every matching contact or only\nthe subscribed ones.",
931
+ "method": "GET",
932
+ "path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments",
933
+ "inputSchema": {
934
+ "type": "object",
935
+ "properties": {
936
+ "profileUuid": {
937
+ "type": "string",
938
+ "description": "Profile uuid parameter"
939
+ },
940
+ "count_type": {
941
+ "type": "string",
942
+ "description": "Which matching contacts to count for each segment",
943
+ "enum": [
944
+ "all",
945
+ "subscribed"
946
+ ]
947
+ },
948
+ "page": {
949
+ "type": "integer",
950
+ "description": "Page number"
951
+ },
952
+ "per_page": {
953
+ "type": "integer",
954
+ "description": "Number of items per page"
955
+ }
956
+ },
957
+ "required": [
958
+ "profileUuid"
959
+ ]
960
+ },
961
+ "security": [
962
+ {
963
+ "apiToken": []
964
+ }
965
+ ],
966
+ "group": "reach"
967
+ },
968
+ {
969
+ "name": "reach_createAProfileSegmentV1",
970
+ "description": "Create a segment in a profile.\n\nA segment is a saved set of conditions rather than a fixed list, so its membership changes\nas contacts change. Creating one does not modify any contact.",
971
+ "method": "POST",
972
+ "path": "/api/reach/v1/profiles/{profileUuid}/segmentation/segments",
973
+ "inputSchema": {
974
+ "type": "object",
975
+ "properties": {
976
+ "profileUuid": {
977
+ "type": "string",
978
+ "description": "Profile uuid parameter"
979
+ },
980
+ "name": {
981
+ "type": "string",
982
+ "description": "name parameter"
983
+ },
984
+ "conditions": {
985
+ "type": "array",
986
+ "description": "Conditions a contact must satisfy to fall into the segment",
987
+ "items": {
988
+ "type": "object",
989
+ "description": "conditions parameter",
990
+ "properties": {
991
+ "attribute": {
992
+ "type": "string",
993
+ "description": "A built-in contact attribute, or `cf:{fieldUuid}` to target a custom\ncontact field. Custom fields are addressed by field UUID; their slug\nis not accepted.\n\nBuilt-in attributes: `email`, `note`, `domain`, `source`,\n`opt_in_method`, `subscription_status`, `subscribed_at`,\n`unsubscribed_at`, `created_at`, `tag`, `campaigns`, `processed`,\n`opened`, `clicked`, `delivered`, `bounced`, `soft_bounced`,\n`dropped`.\n\nWhich operators are accepted depends on the attribute."
994
+ },
995
+ "operator": {
996
+ "type": "string",
997
+ "description": "operator parameter",
998
+ "enum": [
999
+ "equals",
1000
+ "not_equals",
1001
+ "contains",
1002
+ "not_contains",
1003
+ "gte",
1004
+ "lte",
1005
+ "exists",
1006
+ "within_last_days",
1007
+ "not_within_last_days",
1008
+ "older_than_days",
1009
+ "processed",
1010
+ "not_processed",
1011
+ "delivered",
1012
+ "not_delivered",
1013
+ "dropped",
1014
+ "not_dropped",
1015
+ "bounced",
1016
+ "not_bounced",
1017
+ "soft_bounced",
1018
+ "not_soft_bounced",
1019
+ "opened",
1020
+ "not_opened",
1021
+ "clicked",
1022
+ "not_clicked",
1023
+ "unsubscribed",
1024
+ "not_unsubscribed"
1025
+ ]
1026
+ },
1027
+ "value": {
1028
+ "type": "string",
1029
+ "description": "Always a string, including for numeric and date comparisons"
1030
+ }
1031
+ },
1032
+ "required": [
1033
+ "attribute",
1034
+ "operator",
1035
+ "value"
1036
+ ]
1037
+ }
1038
+ },
1039
+ "logic": {
1040
+ "type": "string",
1041
+ "description": "How to combine multiple conditions",
1042
+ "enum": [
1043
+ "AND",
1044
+ "OR"
1045
+ ]
1046
+ }
1047
+ },
1048
+ "required": [
1049
+ "profileUuid",
1050
+ "name",
1051
+ "conditions",
1052
+ "logic"
1053
+ ]
1054
+ },
1055
+ "security": [
1056
+ {
1057
+ "apiToken": []
1058
+ }
1059
+ ],
1060
+ "group": "reach"
1061
+ },
742
1062
  {
743
1063
  "name": "reach_listSegmentContactsV1",
744
- "description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.",
1064
+ "description": "Retrieve contacts associated with a specific segment.\n\nThis endpoint allows you to fetch and filter contacts that belong to a particular segment,\nidentified by its UUID.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot read segments of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts` instead.",
745
1065
  "method": "GET",
746
1066
  "path": "/api/reach/v1/segmentation/segments/{segmentUuid}/contacts",
747
1067
  "inputSchema": {
@@ -773,7 +1093,7 @@ export default [
773
1093
  },
774
1094
  {
775
1095
  "name": "reach_getSegmentDetailsV1",
776
- "description": "Get details of a specific segment.\n\nThis endpoint retrieves information about a single segment identified by UUID.\nSegments are used to organize and group contacts based on specific criteria.",
1096
+ "description": "Get details of a specific segment.\n\nThis endpoint retrieves information about a single segment identified by UUID.\nSegments are used to organize and group contacts based on specific criteria.\n\n**Deprecated.** This endpoint cannot target a profile, so it always falls back to\nthe client's default profile and cannot read segments of any other profile. Use\n`GET /api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}` instead.",
777
1097
  "method": "GET",
778
1098
  "path": "/api/reach/v1/segmentation/segments/{segmentUuid}",
779
1099
  "inputSchema": {