Skip to content

Models

The SDK returns plain Python dicts. The shapes below describe the keys you can expect on each object.

Returned by feedbacks.create(), feedbacks.get(), feedbacks.get_id(), and feedbacks.update().

FieldTypeDescription
idstringUnique identifier
namestringHuman-readable label
typestringSource type ("APP", "DOCUMENT", …)
identitystringRenderer identity ("MAGICFORM", …)
integrationIdstringUUID of the linked integration
companyIdstringCompany identifier
productIdstringProduct identifier
answersAnswer[]List of submitted answers
questionsQuestion[]Snapshot of questions at submission time
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last-update timestamp
FieldTypeDescription
keystringQuestion key this answer belongs to
valuestring[]One or more answer values

Returned by contacts.create(), contacts.get(), and contacts.update().

FieldTypeDescription
idstringUnique identifier
namestringFirst name
lastnamestringLast name
emailstringEmail address
companyIdstringCompany identifier
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last-update timestamp

Returned by campaigns.create() and campaigns.get().

FieldTypeDescription
idstringUnique identifier
namestringCampaign name
companyIdstringCompany identifier
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last-update timestamp

Returned by campaigns.create_session() and campaigns.get_sessions().

FieldTypeDescription
idstringUnique identifier
campaignIdstringID of the parent campaign
crmContactIdstring[]IDs of the contacts in this session
createdAtstringISO 8601 creation timestamp

Returned by products.get().

FieldTypeDescription
idstringUnique identifier / product key
namestringDisplay name
companyIdstringOwning company

Returned by integrations_questions.get().

FieldTypeDescription
keystringAnswer key — use this in answers[].key when creating feedback
typestringQuestion type (e.g. "TEXT", "RATING")
labelstringHuman-readable question label
integrationIdstringIntegration this question belongs to