Create a new data record for an entityType. Once created, the new id and uuid values are returned.

Refer to the Registration Error Codes section for details on error codes.

This endpoint uses the following methods:

  • POST


Base URL

The base URL for this endpoint is your Janrain Capture domain; for example:


Your Capture domains (also known as Registration domains) can be found in the Janrain Console on the Manage Application page:


Example Request

Create a new instance of entityType named user with the attributes givenName, familyName, email and a plural statuses. The attributes id, uuid, created and lastUpdated are system generated.

curl -X POST \
    -H "Authorization: Basic aW1fYV...NfbXk="\
    --data-urlencode type_name=user\
      "statusCreated":"2015-12-15T07:36:25Z"}]}' \

Running Code Samples Using Postman

The Janrain REST API code samples are written using Curl, but they can easily be run from within Postman. To use one of our code samples in Postman:

  1. Click the Copy to Clipboard button located directly beneath the code sample
  2. In Postman, click Import to display the Import dialog box.
  3. In the Import dialog box, click Paste Raw Text, and then paste in the copied code. The Import dialog box should look similar to this:

  4. Click Import, and the Curl command will be converted to a format that can be run from within Postman. All you need to do now is configure the command to work with your Janrain implementation.

Example Response

  "id": 11649,
  "uuid": "02b0c68d-7d7a-49d8-a88d-022585b0f877",
  "stat": "ok"

Example Error Response

  "argument_name": "attributes",
  "request_id": "geup8cd3gvcvjjnc",
  "code": 200,
  "error_description": "attributes was not valid for the following
    reason: the JSON isnot syntactically valid",
  "error": "invalid_argument",
  "stat": "error"

Authorized Clients

owner direct_access


  •  janrain-signed
  •  basic-auth

Query Parameters

Parameter Type Required Description
attributes string Yes Attribute names and values (formatted as a JSON object) for the entity. Note that you do not need to include all the possible user profile attributes: the new record will be created using whatever attributes and attribute values you supply.
include_record string When set to true, the API response includes all the attributes and attribute values assigned to the new record. 
type_name string entityType of the entity. Required if you are authenticating with client settings.