Skip to Content
Omnibase

Create a new user identity

POST
/api/v1/auth/users

Authorization

ServiceKeyAuth
headerX-Service-Key<token>

Admin service-to-service key. Trusted for all routes and skips permission checks.

Request Body

application/json
  1. body
email*string
Formatemail
name*
password*string
Length8 <= length <= 72

Response Body

OK

application/json
  1. response
AdditionalProperties?
created_at?string
Formatdate-time
credentials?
id*string
metadata_admin?unknown
metadata_public?unknown
organization_id?
recovery_addresses?array<>|null
schema_id*string
schema_url*string
state?string
state_changed_at?string
Formatdate-time
traits*unknown
updated_at?string
Formatdate-time
verifiable_addresses?array<>|null
Example Request
curl -X POST 'https://api.omnibase.tech/api/v1/auth/users' \  -H 'Content-Type: application/json' \  -d '{  "email": "user@example.com",  "name": {    "first": "John",    "last": "Doe"  },  "password": "securepassword123"}'
Example Response
{  "AdditionalProperties": {    "property1": null,    "property2": null  },  "created_at": "2019-08-24T14:15:22Z",  "credentials": {    "property1": {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "config": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "identifiers": [        "string"      ],      "type": "string",      "updated_at": "2019-08-24T14:15:22Z",      "version": 0    },    "property2": {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "config": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "identifiers": [        "string"      ],      "type": "string",      "updated_at": "2019-08-24T14:15:22Z",      "version": 0    }  },  "id": "string",  "metadata_admin": null,  "metadata_public": null,  "organization_id": {},  "recovery_addresses": [    {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "updated_at": "2019-08-24T14:15:22Z",      "value": "string",      "via": "string"    }  ],  "schema_id": "string",  "schema_url": "string",  "state": "string",  "state_changed_at": "2019-08-24T14:15:22Z",  "traits": null,  "updated_at": "2019-08-24T14:15:22Z",  "verifiable_addresses": [    {      "AdditionalProperties": {        "property1": null,        "property2": null      },      "created_at": "2019-08-24T14:15:22Z",      "id": "string",      "status": "string",      "updated_at": "2019-08-24T14:15:22Z",      "value": "string",      "verified": true,      "verified_at": "2019-08-24T14:15:22Z",      "via": "string"    }  ]}