Connections
Find the actions recorded when users connect, send connection requests or create contacts, and the fields each one returns.
Each action name below is a value of the event field in the export response. Pass it in the events filter to export only that action. Body lists the fields of the action's body object. Actions labelled Has recipient also return the with_* fields of the other user.
Connections
Action
connection_createstringHas recipientWhen a connection is created (one per user).
connection_updatestringHas recipientWhen the connection rating is updated.
Body
ratingfloatNullableRating between 0 and 5.
scannedboolWhether the connection comes from a scan.
Connection requests
Action
connection_request_createstringHas recipientWhen the user sends a connection request to another user.
connection_request_updatestringHas recipientWhen the status of the connection request changes.
Body
statusstringOne of ACCEPTED, DECLINED, PENDING.
Contacts
A contact is a connection with someone who isn't a Swapcard user.
Action
contact_connection_createstringWhen the user creates a contact with a non-user.
Body
with_contact_idstringThe ID of the contact created.
scannedboolWhether the connection comes from a scan.