Get Address Verifications#
Returns the address verifications status and reasons if the verification was rejected.
Request#
HTTP Method: GET
URI Path: /v3/address_verifications
URI Query Parameters#
Includes#
Value |
Description |
|---|---|
address |
|
dids |
|
dids.did_group |
Filters#
Filter Name |
Type |
Allow Blank |
Allow Array |
Filters by: |
|---|---|---|---|---|
address.id |
|
Yes |
Yes |
The |
address.identity.id |
|
Yes |
Yes |
The |
status |
|
No |
No |
The |
reference |
|
No |
Yes |
The |
Sparse Fieldsets#
Value |
Returns: |
|---|---|
service_description |
The |
callback_url |
The |
callback_method |
The |
status |
The |
reject_reasons |
The |
reference |
The |
created_at |
The |
Examples#
http
1GET /v3/address_verifications HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
curl
1curl -i -X GET https://api.didww.com/v3/address_verifications -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
response
1HTTP/1.1 200 OK
2Content-Type: application/vnd.api+json
3
4{
5 "data": [
6 {
7 "id": "40c315d2-255c-410f-9af7-6b288c3f8ba4",
8 "type": "address_verifications",
9 "attributes": {
10 "service_description": "testing",
11 "callback_url": null,
12 "callback_method": null,
13 "status": "Rejected",
14 "reject_reasons": "The DID cannot be used for the indicated service",
15 "reference": "EGE-764403",
16 "created_at": "2021-03-22T06:24:58.295Z"
17 },
18 "relationships": {
19 "dids": {
20 "links": {
21 "self": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/relationships/dids",
22 "related": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/dids"
23 }
24 },
25 "address": {
26 "links": {
27 "self": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/relationships/address",
28 "related": "https://sandbox-api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/address"
29 }
30 }
31 }
32 }
33 ],
34 "meta": {
35 "total_records": 1,
36 "api_version": "2022-05-10"
37 },
38 "links": {
39 "first": "https://sandbox-api.didww.com/v3/address_verifications?page%5Bnumber%5D=1&page%5Bsize%5D=50",
40 "last": "https://sandbox-api.didww.com/v3/address_verifications?page%5Bnumber%5D=1&page%5Bsize%5D=50"
41 }
42}
http
1GET /v3/address_verifications?filter%5Bstatus%5D=Rejected HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
curl
1curl -i -X GET 'https://api.didww.com/v3/address_verifications?filter%5Bstatus%5D=Rejected' -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
response
1HTTP/1.1 200 OK
2Content-Type: application/vnd.api+json
3
4{
5 "data": [ {
6 "id": "40c315d2-255c-410f-9af7-6b288c3f8ba4",
7 "type": "address_verifications",
8 "attributes": {
9 "service_description": "testing",
10 "callback_url": null,
11 "callback_method": null,
12 "status": "Rejected",
13 "reject_reasons": "The DID cannot be used for the indicated service",
14 "reference": "EGE-764403",
15 "created_at": "2021-03-22T06:24:58.295Z"
16 },
17 "relationships": {
18 "dids": {"links": {
19 "self": "https://api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/relationships/dids",
20 "related": "https://api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/dids"
21 }},
22 "address": {"links": {
23 "self": "https://api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/relationships/address",
24 "related": "https://api.didww.com/v3/address_verifications/40c315d2-255c-410f-9af7-6b288c3f8ba4/address"
25 }}
26 }
27 }],
28 "meta": {
29 "total_records": 1,
30 "api_version": "2022-05-10"
31 },
32 "links": {
33 "first": "https://api.didww.com/v3/address_verifications?filter%5Bstatus%5D=Rejected&page%5Bnumber%5D=1&page%5Bsize%5D=50",
34 "last": "https://api.didww.com/v3/address_verifications?filter%5Bstatus%5D=Rejected&page%5Bnumber%5D=1&page%5Bsize%5D=50"
35 }
36}
http
1GET /v3/address_verifications?include=dids HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]
curl
1curl -i -X GET 'https://api.didww.com/v3/address_verifications?include=dids' -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"
response
1HTTP/1.1 200 OK
2Content-Type: application/vnd.api+json
3
4{
5 "data": [ {
6 "id": "9814cf4f-b472-4ea7-9275-565eb90be397",
7 "type": "address_verifications",
8 "attributes": {
9 "service_description": null,
10 "callback_url": "http://example.com",
11 "callback_method": "GET",
12 "status": "Rejected",
13 "reject_reasons": "The registration form should be fully filled and signed",
14 "reference": "XNH-144620",
15 "created_at": "2021-08-11T15:43:23.263Z"
16 },
17 "relationships": {
18 "dids": {
19 "links": {
20 "self": "https://api.didww.com/v3/address_verifications/9814cf4f-b472-4ea7-9275-565eb90be397/relationships/dids",
21 "related": "https://api.didww.com/v3/address_verifications/9814cf4f-b472-4ea7-9275-565eb90be397/dids"
22 },
23 "data": [ {
24 "type": "dids",
25 "id": "9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc"
26 }]
27 },
28 "address": {"links": {
29 "self": "https://api.didww.com/v3/address_verifications/9814cf4f-b472-4ea7-9275-565eb90be397/relationships/address",
30 "related": "https://api.didww.com/v3/address_verifications/9814cf4f-b472-4ea7-9275-565eb90be397/address"
31 }}
32 }
33 }],
34 "included": [ {
35 "id": "9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc",
36 "type": "dids",
37 "attributes": {
38 "blocked": true,
39 "capacity_limit": 55,
40 "description": null,
41 "terminated": false,
42 "awaiting_registration": true,
43 "created_at": "2018-11-28T09:40:31.684Z",
44 "billing_cycles_count": null,
45 "number": "4921111111111",
46 "expires_at": "2021-08-19T17:32:21.390Z",
47 "channels_included_count": 2,
48 "dedicated_channels_count": 0
49 },
50 "relationships": {
51 "did_group": {"links": {
52 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/did_group",
53 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/did_group"
54 }},
55 "order": {"links": {
56 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/order",
57 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/order"
58 }},
59 "voice_in_trunk": {"links": {
60 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/voice_in_trunk",
61 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/voice_in_trunk"
62 }},
63 "voice_in_trunk_group": {"links": {
64 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/voice_in_trunk_group",
65 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/voice_in_trunk_group"
66 }},
67 "capacity_pool": {"links": {
68 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/capacity_pool",
69 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/capacity_pool"
70 }},
71 "shared_capacity_group": {"links": {
72 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/shared_capacity_group",
73 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/shared_capacity_group"
74 }},
75 "address_verification": {"links": {
76 "self": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/relationships/address_verification",
77 "related": "https://api.didww.com/v3/dids/9e7e20b9-6142-4d5c-a001-cafa0ff9d7cc/address_verification"
78 }}
79 }
80 }],
81 "meta": {
82 "total_records": 1,
83 "api_version": "2022-05-10"
84 },
85 "links": {
86 "first": "https://api.didww.com/v3/address_verifications?include=dids&page%5Bnumber%5D=1&page%5Bsize%5D=50",
87 "last": "https://api.didww.com/v3/address_verifications?include=dids&page%5Bnumber%5D=1&page%5Bsize%5D=50"
88 }
89}
Other Responses#
Code |
Success |
Description |
|---|---|---|
401 |
No |