Block Contact

Blocks a Contact.

post
Path parameters
idstringRequired

The Contact ID.

Responses
200
OK
application/json
post
POST /public/v1/notifications/contacts/{id}/block HTTP/1.1
Host: 
Accept: */*
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-21T17:13:52.888Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "updated": {
      "at": "2025-06-21T17:13:52.888Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "activated": {
      "at": "2025-06-21T17:13:52.888Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "blocked": {
      "at": "2025-06-21T17:13:52.888Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "deleted": {
      "at": "2025-06-21T17:13:52.888Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "blockedReason": "text",
  "email": "text",
  "name": "text",
  "optOuts": [
    {
      "id": "text",
      "shortDescription": "text",
      "name": "text",
      "icon": "text",
      "lastUsed": "2025-06-21T17:13:52.888Z"
    }
  ],
  "status": "text",
  "userId": "text",
  "user": {
    "id": "text",
    "audit": {
      "created": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      },
      "updated": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      },
      "invitationAcceptedAt": "2025-06-21T17:13:52.888Z"
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "email": "text",
    "status": "text",
    "phone": {
      "prefix": "text",
      "number": "text"
    },
    "firstName": "text",
    "lastName": "text",
    "icon": "text",
    "lastLoginAt": "2025-06-21T17:13:52.888Z",
    "settings": {
      "cultureCode": "text",
      "languageCode": "text"
    },
    "name": "text",
    "accounts": [
      {
        "id": "text",
        "icon": "text",
        "type": "text",
        "status": "text",
        "name": "text"
      }
    ],
    "currentAccount": {
      "id": "text",
      "icon": "text",
      "type": "text",
      "status": "text",
      "name": "text"
    }
  }
}

Last updated

Was this helpful?