Skip to main content
New to Corsair? See API access, authentication, and error handling.

Companies

delete

companies.delete Delete a company, leaving its users in place; only the relationships go Risk: destructive
Input Output

upsert

companies.upsert Create or update a company by identifier, with a name and custom properties Risk: write
Input
Output

Events

create

events.create Record an event against a user, a company or both, with properties and an optional past timestamp Risk: write
Input Output

Messages

send

messages.send Queue a transactional email or in-app message, from a template or with an inline subject and body Risk: write
Input
Output

Relationships

delete

relationships.delete Unlink one user from one company, leaving both objects in place; the relationship properties, such as a role, are lost Risk: destructive
Input Output

upsert

relationships.upsert Tie a user to a company, with properties on the relationship such as a role Risk: write
Input Output

Users

delete

users.delete Delete a user along with their relationships and events; queued, and not reversible Risk: destructive
Input Output

upsert

users.upsert Create or update a user by identifier or email, with properties, companies, relationships and topic preferences; queued, not applied at once Risk: write
Input
Output