Bulk migration examples and data schemas

Strivacity offers robust support for migrating customers from external applications through custom database connections via the Strivacity API. This flexible and efficient approach ensures seamless integration and transition of customer data from various external systems into the Strivacity platform, enhancing the overall experience.

Account API endpoints

The Strivacity platform offers numerous API endpoints to facilitate customer migration and other customer account operations. Our APIs are RESTful and use a JSON data structure.

Please note that the Strivacity APIs have a default rate limit applied to all endpoints. We can increase this limit upon request; please contact our support team for assistance.

For large-scale transfers (100,000+ customers), our integration engineers can assist you with the bulk import process.

Customer account data schema

{
  "accountInfo": {
    "additionalProp": {}
  },
  "accountLockout": {
    "lockoutUntil": "2024-07-04T13:32:16.911Z"
  },
  "accountProofings": [
    {
      "attempts": 0,
      "deleted": true,
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "invalidatedAt": "2024-07-04T13:32:16.911Z",
      "policyId": "string",
      "policyName": "string",
      "proofedAt": "2024-07-04T13:32:16.911Z"
    }
  ],
  "authenticators": {
    "methods": [
      {
        "id": "string",
        "methods": "passcode",
        "target": "+36301234567",
        "type": "password"
      }
    ]
  },
  "consents": [
    {
      "consentId": "string",
      "consentVersion": 0,
      "id": "string",
      "optIn": "2024-07-04T13:32:16.911Z",
      "optOut": "2024-07-04T13:32:16.911Z"
    }
  ],
  "createdAt": "2024-07-04T13:32:16.911Z",
  "enabled": true,
  "groups": [
    {
      "id": "string"
    }
  ],
  "id": "string",
  "identities": {
    "additionalProp": {}
  },
  "language": "string",
  "lastLogin": {
    "ip": "string",
    "location": {
      "geometry": {
        "coordinates": [
          0
        ],
        "type": "string"
      },
      "properties": {
        "additionalProp": "string"
      },
      "type": "string"
    },
    "time": "2024-07-04T13:32:16.911Z"
  },
  "numberOfLogins": 0,
  "organization": "string",
  "roles": [
    {
      "id": "string",
      "organization": "string"
    }
  ],
  "store": "string",
  "updatedAt": "2024-07-04T13:32:16.911Z"
}

Main properties

PropertyTypeRequiredDescriptionSample
usernamestringyesThe unique identifier for the customer within the Strivacity system.[email protected]
UserName
emailstringyesThe customer's email address, used for communication and login.[email protected]
passwordstringyesThe password for the customer's account, adhering to Strivacity's policy.PassWord12
$2a$10$.8ccunTxxy9UTNGs
phone_numberstringnoThe customer's phone number, recommended for Multi-Factor Authentication (MFA).+18447825486
first_namestringnoThe customer's first name.John
last_namestringnoThe customer's last name.Doe
rolesarraynoRoles assigned to the customer, defining their permissions.{ "roles":
[ { "id": "role1",
"name": "Admin" },
{ "id": "role2",
"name": "Editor" } ] }
custom_attributesobjectnoCustom attributes specific to the organization’s requirements.N/A
addressobjectnoThe customer's address, consists of street, city, state, postal code, and country.{
"address": {
"street": "205 Van Buren Street Suite 120",
"city": "Herndon",
"state": "VA",
"postal_code": "20170",
"country": "USA"
}
}
date_of_birthstringnoThe customer's date of birth in the YYYY-MM-DD format.1999-09-09
mfa_enabledbooleannoIndicates if MFA is enabled for the customer.false
statusstringnoThe status of the customer's account, such as active, suspended, or deactivated.active
languagestringnoThe preferred language for the customer.EN_US
organization_idstringnoIdentifier for the organization the customer belongs to.dc3228b1-c342-4248-a4c1-236f24cb61df
consent_providedbooleannoIndicates if consent has been provided.true
email_verifiedbooleannoIndicates if the customer's email address has been verified.true
phone_verifiedbooleannoIndicates if the customer's phone number has been verified.false
created_atstringnoTimestamp of when the account was created.2023-07-23T15:30:00Z
updated_atstringnoTimestamp of the last update to the account.2023-07-23T15:30:00Z
app_metadataobjectnoApplication-specific metadata.N/A
user_metadataobjectnoCustomer-specific metadata.N/A
email_confirmedbooleannoIndicates if the customer's email is confirmed.true

Address attributes

This table details the nested attributes for the address property within a customer's account. Each attribute defines a specific aspect of the customer's address, providing a comprehensive structure to store the customer's location information.

PropertyTypeRequiredDescription
streetstringnoThe street address of the customer.
citystringnoThe city of the customer's address.
statestringnoThe state of the customer's address.
postal_codestringnoThe postal code of the customer's address.
countrystringnoThe country of the customer's address.

Metadata attributes

These are the nested attributes for both app_metadata and user_metadata. These attributes encompass custom key-value pairs that are specific to the application and the customer, allowing for the storage of additional metadata that enhances the customer's interaction and personalization within the application.

PropertyTypeRequiredDescription
app_specific_keystringnoCustom key-value pairs specific to the app.
user_specific_keystringnoCustom key-value pairs specific to the customer.