VIA Email Rejection Link Generation

This method allows service providers to generate unique rejection links for email addresses that are approved in the IYS (Electronic Commercial Message Management System). Service providers can include these links in their emails to offer recipients the option to opt out. A maximum of 100 REJECT links can be created simultaneously for recipients whose permission status is APPROVED in IYS.

Successful Rejection Process:

  • If the recipient's (recipient) permission status is APPROVED, it is updated to REJECT upon execution.

Note: The generated email links can be embedded within customer emails. Users can click on these links to opt out of receiving email notifications. Once a rejection is made, it is reflected in IYS. Netmera monitors and updates user permissions nightly based on IYS task results.

Request Body Parameters

curl --location 'https://restapi.netmera.com/via/generate-reject-mail-link' \
--header 'X-netmera-api-key: your_rest_apikey' \
--header 'Content-Type: application/json' \
--data-raw '{
  "recipients": [
    {
      "recipient": "String", // Email address to be unsubscribed [Required]
      "recipientType": "String" // Type of the email address. Accepted values: BIREYSEL (Individual) or TACIR (Corporate) [Required]
    }
  ]
}

Response Body (HTTP Code: 200)

Error Responses

HTTP Code: 400

HTTP Code: 500

Example Successful Request

Example Successful Response (HTTP Code: 200)

Example Failed Request

Case: An invalid recipientType value is sent.

Example Error Response (HTTP Code: 400)

Last updated

Was this helpful?