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
Output
upsert
companies.upsert
Create or update a company by identifier, with a name and custom properties
Risk: write
relationships full type
relationships full type
Events
create
events.create
Record an event against a user, a company or both, with properties and an optional past timestamp
Risk: write
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
body full type
body full type
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
Output
upsert
relationships.upsert
Tie a user to a company, with properties on the relationship such as a role
Risk: write
Output
Users
delete
users.delete
Delete a user along with their relationships and events; queued, and not reversible
Risk: destructive
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
relationships full type
relationships full type
preferences full type
preferences full type