Gets a creation token which can be used to make entity.create calls without the use of a client id and secret.

This is targeted for mobile developers who do not want to expose their credentials to untrusted (any) mobile devices. See a video demo in Postman here.

This endpoint supports the following methods:

  • GET


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

curl -H "Authorization: Basic aW1fYV...NfbXk=" \
    --data-urlencode type_name=user \
    --data-urlencode lifetime=3600\
    --data-urlencode for_client_id=fghi7890fghi7890\

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.

Authorized Clients

owner access_issuer


  •  janrain-signed
  •  basic-auth

Query Parameters

Parameter Type Required Description
type_name string Yes Name of the entityType to be created.
lifetime string Length of time (in seconds) that the token remains valid. The default is one hour (3600 seconds).
for_client_id string Client ID of the client that will use the token. This is often used when you have read and write schemas configured for specific API clients.


200 OK

Response Example (application/json)

  "stat": "ok",
  "creation_token": "1234567891234567"