Skip to main content

Create a user

POST 

https://api.freemius.com/v1/products/{product_id}/users.json

Auth:Bearer TokenSCOPE: PRODUCT

Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.

  1. Go to the Freemius Developer Dashboard.
  2. Open the Settings page of the relevant product.
  3. Click the API & Keys tab.
  4. Copy the API Bearer Authorization Token from the UI.

Create a new user associated with the product.

The user will be linked to the product if they already exist in Freemius.

User can only be created for products with elevated permissions or during data migration.

Migrating users from other platforms

Freemius allows to migrate your users from other platforms. To do so, you need to set the is_migration parameter to true. This will prevent any emails from being sent to the users and will not log any events. Once migrated the user can use their existing licenses to activate your product.

Request

Path Parameters

    product_id integer<int64>required

    The ID of the product.

    Possible values: >= 1

    Example: 1234

Query Parameters

    fields string

    Comma separated list of fields to return in the response. If not specified, all fields are returned.

    Example: id,name,slug

Bodyrequired

    emailstring

    Valid email address.

    passwordstring

    Valid password. Must have at least 8 characters.

    ipstring

    (optional) IPv4 or IPv6 Address

    namestring

    (optional) Full name property. If not specified, first and last must be provided instead.

    firststring

    (optional) First name. Required if no valid name was provided.

    laststring

    (optional) Last name. Required if no valid name was provided.

    picturestring

    (optional) Profile picture URL.

    is_verifiedboolean

    (optional) Tells if person is already verified, defaults to FALSE.

    after_email_confirm_urlstring

    (optional) URL address that the user will be auto forwarded to after email confirmation is clicked.

    send_verification_emailboolean

    (optional) Defaults to TRUE. If false, email verification message will NOT be sent after registration.

    is_marketing_allowedbooleannullable

    Whether or not the user has given their consent for marketing materials. A null value indicates that the user has not made a decision yet.

    is_migrationboolean

    (optional) If true, no emails will be sent to users nor events will be logged.

    sourcestring

    The source of the migration data. To get support migrating from other platform please see our documentation.

    Possible values: [freemius, edd, others, easydigitaldownloads, woo, wc, woocommerce, gumroad, cc, codecanyon, tf, themeforest, appsumo, sendowl, whmcs, ls, lemonsqueezy]

    Example: ls

Responses

OK

Schema
notestring

A note about the user. Only visible to the developer.

is_marketing_allowedbooleannullable

Whether or not the user has given their consent for marketing materials. A null value indicates that the user has not made a decision yet.

is_betaboolean

Whether or not the user has opted-in to beta versions. We do not recommend using this option anymore since it will opt-in the user to all sites/activations. Currently, sites or activations can be managed individually.

emailstring

Email address of the person.

firststring

First name of the person.

Example: Jane
laststring

Last name of the person.

Example: Doe
picturestring

Profile picture URL.

Example: https://example.com/profile-pic.jpg
ipstring<ipv4|ipv6>nullable

The IP address (v4 or v6).

Example: 127.0.0.1
is_verifiedboolean

Whether the person is trusted or not.

Example: true
authstring

The type of authentication. If app2fa is set, the person has signed for 2FA authentication.

Possible values: [app2fa, password]

secret_keystring

The secret key associated with the entity for authorization.

Example: sk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
public_keystring

The public key associated with the entity for authorization.

Example: pk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
idstring<int64>

The unique identifier of the entity.

Possible values: >= 1

Example: 123456
createdstring<date-time>

The date and time the entity was created, under UTC timezone.

Example: 2025-01-01 00:00:00
updatedstring<date-time>nullable

The date and time the entity was updated, under UTC timezone. If null then the entity was never updated since its creation.

Example: 2025-01-01 00:00:00
grossnumber<float>

The total amount of money the user has spent on the platform.

last_login_atstring<date-time>nullable

Date and time of the last login.

Example: 2025-07-30 05:56:29
email_statusstring

The status of the last email sent to the user.

Possible values: [delivered, bounce, dropped]

We use essential cookies to enable our site to function. With your consent, we also use analytics and advertising cookies to understand how visitors interact with our site and to improve our services.
Learn More