Nilovon Connect
API Reference

API Reference

Complete REST API reference for the Connect API.

The Connect API is available under the API host below.

Base URL

https://api.connect.nilovon.com/v1

Authentication

Pass your API key as a Bearer token. The organization is resolved automatically from the key.

curl -X POST https://api.connect.nilovon.com/v1/messages \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "channelType": "email", "to": "user@example.com", ... }'

If you're using the TypeScript SDK, authentication is handled automatically.

Endpoint Groups

Messages

EndpointDescription
message.sendSend an email or SMS
message.listList messages with filters
message.getGet a single message by ID

Contacts

EndpointDescription
contact.createCreate a new contact
contact.listList and filter contacts
contact.getGet a single contact
contact.updateUpdate contact fields
contact.deleteDelete a contact
contact.bulkCreateImport up to 1,000 contacts

Templates

EndpointDescription
template.createCreate a reusable template
template.listList templates
template.getGet a single template
template.updateUpdate a template (versioned)
template.deleteSoft-delete a template

Webhooks

EndpointDescription
webhook.createRegister a webhook endpoint
webhook.listList webhooks
webhook.getGet a webhook with recent events
webhook.updateUpdate webhook configuration
webhook.deleteDisable a webhook
webhook.testSend a test event
webhook.listEventsList delivery events for a webhook

Segments

EndpointDescription
segment.createCreate a contact segment
segment.listList segments
segment.getGet a single segment
segment.updateUpdate segment criteria
segment.deleteDelete a segment

Email Domains

EndpointDescription
emailDomain.addAdd and provision a domain
emailDomain.listList email domains
emailDomain.getGet domain with DNS status
emailDomain.verifyCheck DNS verification
emailDomain.setDefaultSet default sender info
emailDomain.deleteRemove a domain

Phone Numbers

EndpointDescription
phoneNumber.searchAvailableSearch available numbers
phoneNumber.purchasePurchase a phone number
phoneNumber.listList phone numbers
phoneNumber.getGet a single number
phoneNumber.updateUpdate number settings
phoneNumber.releaseRelease a phone number

Pagination

List endpoints accept:

ParameterTypeDefaultDescription
limitnumber20Results per page (1–100)
offsetnumber0Number of results to skip
cursorstringCursor for keyset pagination

Error responses

Errors return a JSON body with code and message:

{
  "code": "NOT_FOUND",
  "message": "Contact not found"
}
CodeHTTP StatusMeaning
UNAUTHORIZED401Invalid or missing API key
FORBIDDEN403No access to this organization
BAD_REQUEST400Invalid request body
NOT_FOUND404Resource not found
CONFLICT409Duplicate resource
TOO_MANY_REQUESTS429Rate limit exceeded
INTERNAL_SERVER_ERROR500Server error

On this page