CorebanqCorebanq Developer Docs
Personasv1Personal Identity

Create persona

Create a new personal identity record

POST/v1/personas

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/personas" \  -H "Content-Type: application/json" \  -d '{    "first_name": "string",    "last_name": "string",    "date_of_birth": "2019-08-24"  }'
{
  "first_name": "string",
  "last_name": "string",
  "date_of_birth": "2019-08-24",
  "date_of_death": "2019-08-24",
  "nationality": "string",
  "hash_id": "string",
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "active": true,
  "metadata": {},
  "created_at": "2019-08-24T14:15:22Z",
  "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
  "modified_at": "2019-08-24T14:15:22Z",
  "modified_by": "e8d4374d-93a1-4e98-a6c6-fdcf00c5059f"
}
{
  "code": "personas_m.first_name_required",
  "message": "string",
  "details": {}
}