Create a new identity.
POST https://api.jsonpad.io/identitiescurl https://api.jsonpad.io/identities \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>" \
-d '{
"group": "sample-group",
"name": "Sample Identity",
"password": "secret",
"activated": true
}'No parameters
x-api-tokenstringYour API token.{group: "sample-group"name: "Sample Identity"password: "secret"activated: true}groupstringThe identity's group. This can be used to associate identities with a particular app or project, and helps to avoid name conflicts.namestringThe name of the identity. Also used as the identity's login name.passwordstringThe identity's password. This is used to when logging in.
The password will be encrypted before being stored in the database.
Also, passwords are always redacted from events and other logs.
activatedbooleanWhether the identity is activated. Inactive identities cannot login and are not accessible via the API.{id: "74efe24b-596f-4ed0-b5db-ccc8b7c26f29"createdAt: "2026-09-05T11:30:27.755Z"updatedAt: "2026-09-05T11:30:27.755Z"user: {id: "58195d4a-42c8-465a-89b2-0cc2d5466762"createdAt: "2026-09-05T11:30:27.755Z"updatedAt: "2026-09-05T11:30:27.755Z"lastActiveAt: "2026-09-05T11:30:27.755Z"activated: truedisplayName: "Sample User"description: "Sample user description"}group: "sample-group"name: "Sample Identity"activated: true}locationhttps://api.jsonpad.io/identities/0513781f-2dcf-4329-bbec-e64d5243c145The URL of the newly created identity.last-modified2026-09-05T11:30:27.755ZThe date this identity was last modified.