Create Identity#
Create single Identity owned by your account.
Request#
HTTP Method: POST
URI Path: /v3/identities/
Includes#
Value |
Description |
|---|---|
country |
|
birth_country |
|
proofs |
|
addresses |
|
addresses.country |
|
proofs.proof_type |
|
permanent_documents |
|
permanent_documents.template |
Request Body Object Attributes#
Name |
Type |
Is Required? |
Description |
|---|---|---|---|
first_name |
|
Yes |
First name of the personal identity. |
last_name |
|
Yes |
Last name of the personal identity. |
phone_number |
|
Yes |
Phone number of the personal identity. |
personal_tax_id |
|
No |
Personal tax ID of the personal identity. |
birth_date |
|
No |
Birth date of the personal identity in ISO 8601 format. |
id_number |
|
No |
ID number of the personal identity. |
description |
|
No |
Description of the personal identity. |
external_reference_id |
|
No |
Identifier for identity in external system |
identity_type |
|
Yes |
Type of identity. Write |
contact_email |
|
No |
Contact email address of identity. |
Name |
Type |
Is Required? |
Description |
|---|---|---|---|
company_name |
|
Yes |
Company name of the business identity. |
company_reg_number |
|
No |
Company registration number of the business identity. |
vat_id |
|
No |
Company VAT ID of the business identity. |
first_name |
|
Yes |
Company’s representative First name of the business identity. |
last_name |
|
Yes |
Company’s representative Last name of the business identity. |
phone_number |
|
Yes |
Company’s representative Phone number of the business identity. |
personal_tax_id |
|
No |
Company’s representative Tax ID of the business identity. |
birth_date |
|
No |
Company’s representative Birth date of the business identity in ISO 8601 format. |
id_number |
|
No |
Company’s representative ID number of the business identity. |
description |
|
No |
Company’s representative description of the business identity. |
external_reference_id |
|
No |
Identifier for identity in external system. |
identity_type |
|
Yes |
Identity type. Write |
contact_email |
|
No |
Contact email address of identity. |
Request Body Object Relationships#
Title |
Type |
Description |
|---|---|---|
country |
Specifies the country for identity. |
|
birth_country |
Specifies the birth country for identity. In version |
Note
Assigning country does not automatically assign birth_country. Set birth_country explicitly when needed.
Examples#
http
1POST /v3/identities HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
6
7{
8 "data": {
9 "type": "identities",
10 "attributes": {
11 "first_name": "string",
12 "last_name": "string",
13 "phone_number": "string",
14 "birth_date": null,
15 "id_number": "string",
16 "description": "string",
17 "personal_tax_id": "string",
18 "external_reference_id": "string",
19 "identity_type": "personal",
20 "contact_email": "string"
21 }
22 }
23}
curl
1curl -i -X POST https://api.didww.com/v3/identities -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json" --data-raw '{"data": {"attributes": {"birth_date": null, "contact_email": "string", "description": "string", "external_reference_id": "string", "first_name": "string", "id_number": "string", "identity_type": "personal", "last_name": "string", "personal_tax_id": "string", "phone_number": "string"}, "type": "identities"}}'
response
1HTTP/1.1 201 Created
2Content-Type: application/vnd.api+json
3
4{
5 "data": {
6 "id": "39623bf9-381f-4da6-ab29-2d3eb8783d81",
7 "type": "identities",
8 "attributes": {
9 "first_name": "string",
10 "last_name": "string",
11 "phone_number": "string",
12 "id_number": "string",
13 "birth_date": null,
14 "company_name": null,
15 "company_reg_number": null,
16 "vat_id": null,
17 "description": "string",
18 "personal_tax_id": "string",
19 "identity_type": "personal",
20 "created_at": "2021-03-22T11:53:32.240Z",
21 "external_reference_id": null,
22 "verified": false,
23 "contact_email": "string"
24 },
25 "relationships": {
26 "country": {
27 "links": {
28 "self": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/relationships/country",
29 "related": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/country"
30 }
31 },
32 "proofs": {
33 "links": {
34 "self": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/relationships/proofs",
35 "related": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/proofs"
36 }
37 },
38 "addresses": {
39 "links": {
40 "self": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/relationships/addresses",
41 "related": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/addresses"
42 }
43 },
44 "permanent_documents": {
45 "links": {
46 "self": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/relationships/permanent_documents",
47 "related": "https://sandbox-api.didww.com/v3/identities/39623bf9-381f-4da6-ab29-2d3eb8783d81/permanent_documents"
48 }
49 }
50 }
51 },
52 "meta": {
53 "api_version": "2026-04-16"
54 }
55}
http
1POST /v3/identities HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
6
7{
8 "data": {
9 "type": "identities",
10 "attributes": {
11 "first_name": "string",
12 "last_name": "string",
13 "phone_number": "string",
14 "birth_date": null,
15 "id_number": "string",
16 "description": "string",
17 "personal_tax_id": "string",
18 "external_reference_id": "string",
19 "identity_type": "personal",
20 "contact_email": "string"
21 },
22 "relationships": {
23 "country": {
24 "data": {
25 "id": "c8647639-fc9c-47b2-acec-7c9e14465c25",
26 "type": "countries"
27 }
28 },
29 "birth_country": {
30 "data": {
31 "id": "c8647639-fc9c-47b2-acec-7c9e14465c25",
32 "type": "countries"
33 }
34 }
35 }
36 }
37}
curl
1curl -i -X POST https://api.didww.com/v3/identities -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json" --data-raw '{"data": {"attributes": {"birth_date": null, "contact_email": "string", "description": "string", "external_reference_id": "string", "first_name": "string", "id_number": "string", "identity_type": "personal", "last_name": "string", "personal_tax_id": "string", "phone_number": "string"}, "relationships": {"birth_country": {"data": {"id": "c8647639-fc9c-47b2-acec-7c9e14465c25", "type": "countries"}}, "country": {"data": {"id": "c8647639-fc9c-47b2-acec-7c9e14465c25", "type": "countries"}}}, "type": "identities"}}'
response
1HTTP/1.1 201 Created
2Content-Type: application/vnd.api+json
3
4{
5 "data": {
6 "id": "874390d1-ea6f-47c0-8d30-c9baaaeebdd9",
7 "type": "identities",
8 "attributes": {
9 "first_name": "string",
10 "last_name": "string",
11 "phone_number": "string",
12 "id_number": "string",
13 "birth_date": null,
14 "company_name": null,
15 "company_reg_number": null,
16 "vat_id": null,
17 "description": "string",
18 "personal_tax_id": "string",
19 "identity_type": "personal",
20 "created_at": "2023-01-31T09:23:10.406Z",
21 "external_reference_id": "string",
22 "verified": false,
23 "contact_email": "string"
24 },
25 "relationships": {
26 "country": {
27 "links": {
28 "self": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/relationships/country",
29 "related": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/country"
30 }
31 },
32 "birth_country": {
33 "links": {
34 "self": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/relationships/birth_country",
35 "related": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/relationships/birth_country"
36 }
37 },
38 "proofs": {
39 "links": {
40 "self": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/relationships/proofs",
41 "related": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/proofs"
42 }
43 },
44 "addresses": {
45 "links": {
46 "self": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/relationships/addresses",
47 "related": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/addresses"
48 }
49 },
50 "permanent_documents": {
51 "links": {
52 "self": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/relationships/permanent_documents",
53 "related": "https://api.didww.com/v3/identities/874390d1-ea6f-47c0-8d30-c9baaaeebdd9/permanent_documents"
54 }
55 }
56 }
57 },
58 "meta": {
59 "api_version": "2026-04-16"
60 }
61}
http
1POST /v3/identities HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
6
7{
8 "data": {
9 "type": "identities",
10 "attributes": {
11 "first_name": "string",
12 "last_name": "string",
13 "phone_number": "string",
14 "id_number": "string",
15 "birth_date": "string",
16 "company_name": "string",
17 "company_reg_number": "string",
18 "vat_id": "string",
19 "description": "string",
20 "personal_tax_id": "string",
21 "external_reference_id": "string",
22 "identity_type": "business",
23 "contact_email": "string"
24 },
25 "relationships": {
26 "country": {
27 "data": {
28 "id": "6d0effab-3fe3-4e07-acc6-1d3ddc717ebc",
29 "type": "countries"
30 }
31 },
32 "birth_country": {
33 "data": {
34 "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
35 "type": "countries"
36 }
37 }
38 }
39 }
40}
curl
1curl -i -X POST https://api.didww.com/v3/identities -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json" --data-raw '{"data": {"attributes": {"birth_date": "string", "company_name": "string", "company_reg_number": "string", "contact_email": "string", "description": "string", "external_reference_id": "string", "first_name": "string", "id_number": "string", "identity_type": "business", "last_name": "string", "personal_tax_id": "string", "phone_number": "string", "vat_id": "string"}, "relationships": {"birth_country": {"data": {"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "type": "countries"}}, "country": {"data": {"id": "6d0effab-3fe3-4e07-acc6-1d3ddc717ebc", "type": "countries"}}}, "type": "identities"}}'
response
1HTTP/1.1 201 Created
2Content-Type: application/vnd.api+json
3
4{
5 "data": {
6 "id": "fb7f3f67-014c-496b-b918-f874f2689a40",
7 "type": "identities",
8 "attributes": {
9 "first_name": "string",
10 "last_name": "string",
11 "phone_number": "string",
12 "id_number": "string",
13 "birth_date": null,
14 "company_name": "string",
15 "company_reg_number": null,
16 "vat_id": null,
17 "description": "string",
18 "personal_tax_id": "string",
19 "identity_type": "business",
20 "created_at": "2021-03-22T12:08:29.987Z",
21 "external_reference_id": null,
22 "verified": false,
23 "contact_email": "string"
24 },
25 "relationships": {
26 "country": {
27 "links": {
28 "self": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/relationships/country",
29 "related": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/country"
30 }
31 },
32 "birth_country": {
33 "links": {
34 "self": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/relationships/birth_country",
35 "related": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/relationships/birth_country"
36 }
37 },
38 "proofs": {
39 "links": {
40 "self": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/relationships/proofs",
41 "related": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/proofs"
42 }
43 },
44 "addresses": {
45 "links": {
46 "self": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/relationships/addresses",
47 "related": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/addresses"
48 }
49 },
50 "permanent_documents": {
51 "links": {
52 "self": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/relationships/permanent_documents",
53 "related": "https://api.didww.com/v3/identities/fb7f3f67-014c-496b-b918-f874f2689a40/permanent_documents"
54 }
55 }
56 }
57 },
58 "meta": {
59 "api_version": "2026-04-16"
60 }
61}
Other Responses#
Code |
Success |
Description |
|---|---|---|
404 |
No |
|
401 |
No |