Skip to content

Release: Real API alignment#2

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

Release: Real API alignment#2
coreyhaines31 merged 2 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 2 commits February 21, 2026 03:02
- Change validate endpoint from POST /api/v1/verify (JSON body) to POST /api/v1/verify_inline (query param)
- Change account endpoint from GET /api/v1/account to GET /me
- Remove form_validate method (endpoint does not exist)
- Update ValidationResult: remove free_email/role/disposable booleans, add domain/canonical/mx_record/first_name/last_name/verified_at fields
- Map API field names: address->email, email_state->state, email_sub_state->sub_state, did_you_mean->suggestion
- Parse response from emails array wrapper
- Update AccountInfo: replace plan/credits with name/uuid/time_zone/is_admin_role/payment_plan
- Add is_disposable and is_role convenience properties checking sub_state
- Update is_valid/is_invalid to check ok/email_invalid states
- Update all tests and README to match

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix Python SDK to match real Truelist API
@coreyhaines31 coreyhaines31 merged commit 65feed3 into main Feb 21, 2026
12 of 14 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