SLSmartletter API

Signups

Double opt-in signups from your own site, with a key that is safe in public code.

post/signups— Sign up a subscriber

For your site's signup form. Use a signups key: it can do nothing else, so it is safe in public code. The contact stays pending until they click the confirmation email (double opt-in). The answer is the same for every address. Limited to 5 signups per IP per 10 minutes.

Keys: signupsfull_access · accepts Idempotency-Key · CORS open

Body

emailrequiredstring
namestring
first_namestring
segment_iduuidOptional when the workspace has a single active newsletter.
languagestring
source_urlstringPage the form was on (attribution).
custom_fieldsobjectOnly fields marked `in_signup` are kept; other keys and invalid values are silently dropped.
curl -X POST https://api.smartletter.ai/signups \
  -H "Authorization: Bearer $SMARTLETTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]","name":"Jane","source_url":"https://acme.com/blog"}'

Response 202

{
  "object": "signup",
  "status": "pending"
}