Skip to content

Release: Real API alignment - #2

Merged
coreyhaines31 merged 3 commits into
mainfrom
development
Feb 21, 2026
Merged

Release: Real API alignment#2
coreyhaines31 merged 3 commits into
mainfrom
development

Conversation

@coreyhaines31

Copy link
Copy Markdown
Collaborator

Merges all fix/real-api changes from development into main for production release.

🤖 Generated with Claude Code

coreyhaines31 and others added 3 commits February 21, 2026 03:03
- Change verify endpoint from POST /api/v1/form_verify (JSON body) to
  POST /api/v1/verify_inline?email=... (query param, no body)
- Change account endpoint from GET /api/v1/account to GET /me
- Unwrap response from emails[] array wrapper
- Map API field names: address->email, email_state->state,
  email_sub_state->subState, did_you_mean->suggestion
- Add new fields: domain, canonical, mxRecord, firstName, lastName, verifiedAt
- Remove fields that dont exist in real API: freeEmail, role, disposable
- Update state values: valid->ok, invalid->email_invalid, new accept_all
- Update sub-state values: ok->email_ok, disposable_address->is_disposable,
  role_address->is_role, unknown->unknown_error, new failed_smtp_check
- Remove form_verify/verify endpoint option (single endpoint now)
- Update Zod and React Hook Form integrations
- Update README with correct API details

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix React package to match real Truelist API
@coreyhaines31
coreyhaines31 merged commit 9d8521e into main Feb 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant