Redact API

The Redact API helps organisations meet their privacy compliance obligations. It provides controlled, on-demand redaction of private information from transactional records in the long-term storage. Note, Redact API does not have the capability to redact the short-lived server logs that are retained for a few weeks. For SMS customers that need immediate redaction, Vonage suggests using Advanced Auto-redact.

Download OpenAPI Specification
Available Operations

Redact a specific message

posthttps://api.nexmo.com/v1/redact/transaction

Authentication

KeyDescriptionWhereExample
Authorization

Base64 encoded API key and secret joined by a colon.
Read more

Headers

Basic <base64>

Request Body
Content Type
application/json

id
string
Required
example209ab3c7536542b91e8b5aef032f6861

The transaction ID to redact

product
string
Required
examplesms

Product name that the ID provided relates to

Must be one of:smsvoicenumber-insightverifyverify-sdkmessages
type
string
Required
Defaultoutbound
exampleoutbound

Required if redacting SMS data

Must be one of:inboundoutbound

Example Request

{
   "id": "209ab3c7536542b91e8b5aef032f6861",
   "product": "sms",
   "type": "outbound"
}

Responses

Success

Errors

The following is a non-exhaustive list of error codes that may occur while using this API.

These codes are in addition to any of our generic error codes.

CodeInformation
invalid-product

Description

The provided product is invalid

Resolution

Modify your request to provide a valid product

premature-redaction

Description

There is a 1 hour time period before data can be redacted to allow for all data to propagate through the Vonage system

Resolution

Wait until the data becomes valid for redaction

rate-limit

Description

The request was rate limited

Resolution

The Redact API supports 170 requests per second. Slow down your request rate