workspace_id is an Emailx account ID, not the agency’s workspace-link ID.
Customer and agency access
A customer key can access its explicitly granted workspaces. An agency key also needsagency:read, the relevant resource scope and a current client assignment. Call GET /workspaces before selecting a client. Never guess neighboring IDs.
Store the complete identity
(workspace_id, channel, id) in CRM mappings. Contacts belong to a workspace and are looked up by exact email; a LinkedIn provider ID is a different identity.
Read live access
GET /me describes the credential’s configured ceiling. GET /workspaces returns the currently accessible subset. A removed assignment, disabled member or unavailable workspace can make a previously valid ID inaccessible. A private 404 intentionally does not reveal whether another customer’s record exists.
Understand saved data
Inbox endpoints include saved campaign-linked conversations with replies andhistory_complete=false. Sender status is stored metadata, not a live health check. Analytics are all-time recorded totals, not a daily series. Workflow recipes explain how to preserve these meanings.
