Login as an identity and get a token which can be used in subsequent requests to authenticate as this identity.
POST https://api.jsonpad.io/identities/logincurl https://api.jsonpad.io/identities/login \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>" \
-H "x-identity-token: <IDENTITY TOKEN>" \
-H "x-identity-group: <IDENTITY GROUP>" \
-d '{
"name": "My Identity"
"password": "secret"
}'No parameters
x-api-tokenstringYour API token.x-identity-tokenstringAn identity token.x-identity-groupstringAn identity group.{group: "sample-group"name: "Sample Identity"password: "new-secret"}groupstringThe identity group.namestringThe name of the identity.passwordstringThe identity's password.
{id: "c255a487-743d-4a3f-9468-656edf632a56"createdAt: "2026-09-05T11:30:38.985Z"updatedAt: "2026-09-05T11:30:38.985Z"user: {id: "151a9492-4cc8-46a4-bb24-1b155051504c"createdAt: "2026-09-05T11:30:38.985Z"updatedAt: "2026-09-05T11:30:38.985Z"lastActiveAt: "2026-09-05T11:30:38.985Z"activated: truedisplayName: "Sample User"description: "Sample user description"}name: "Sample Identity"group: "sample-group"token: "<IDENTITY TOKEN>"activated: true}No response headers
2024-10-29