Skip to main content
POST
/
trust-centers
/
{slugId}
/
subscribers
Create Trust Center subscriber
curl --request POST \
  --url https://api.vanta.com/v1/trust-centers/{slugId}/subscribers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "customerTrustAccountId": "<string>",
  "shouldSkipEmailVerification": true
}
'
{
  "id": "a2f7e1b9d0c3f4e5a6c7b8d9",
  "email": "subscriber@example.com",
  "isEmailVerified": true,
  "creationDate": "2020-01-01T00:00:00.000Z",
  "customerTrustAccountId": null,
  "groups": [
    {
      "id": "b3e8f2c0d1a4f5e6b7d8c9e0",
      "name": "Security Managers"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slugId
string
required

Body

application/json
email
string
required

Email of the subscriber.

customerTrustAccountId
string

Optional: Link subscriber to a customer trust account by ID.

shouldSkipEmailVerification
boolean

When true, the subscriber is created as already verified and no verification email is sent. Defaults to false.

Response

201 - application/json

Trust Center subscriber created

id
string
required

Unique identifier for the subscriber.

email
string
required

Email of the subscriber.

isEmailVerified
boolean
required

Whether the subscriber's email has been verified.

creationDate
string<date-time>
required

When the subscriber was created.

customerTrustAccountId
string | null
required

The ID of the customer trust account this subscriber is linked to, if any.

groups
object[]
required

Groups this subscriber belongs to.