For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 1 1 2

World-Check ONE API requests return 401 Unauthorized

I've loaded the WC1 API postman collection and all of my requests return 401 Unauthorized. What else could be wrong?

I try to solve this problem by following the answer from the developer community, but it doesn't work.

(https://community.developers.refinitiv.com/questions/8044/world-check-one-api-requests-return-401-unauthoriz.html)

For access to the World-Check One API, there is no username and password needed, that is part of your registration to the WC1 product. For the API you should have received your Registration Keys, the api-key and api-secret keys can be found the the Postman Environment, select Manage Environment (on the WC1 Pilot environment pulldown)

world-checkworld-check-oneapierror-401
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @huangshitao. Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks

AHS

@huangshitao

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
3.1k 18 7 7

Hi @huangshitao,

You are trying to create a case using your API keys in the PS "SampleClientAPI-Group1", where you do not have a user account. Change groupId to your groupId... you can find our your groups where your user API keys are registered by making a request (SEQ-1 in the Postman Collection) to get my top level groups.

GET { {protocol}}{ {gateway-host}}{ {gateway-url}}groups

Hope this helps,

Brian

    "id": "418f28a7-b9c9-4ae4-8530-819c61b1ca6c",
    "name": "SampleClientAPI-Group1",
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
526 2 2 3

Hello @huangshitao,

could you paste the https message that you use to generate postman request?

Best Regards

Kamil

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Please see the answer below, thanks.

Upvotes
1 1 1 2
@kamil.cisewski

POST /v1/cases HTTP/1.1
Host: rms-world-check-one-api-pilot.thomsonreuters.com
Date: Mon, 15 May 2017 07:42:39 GMT
Content-Type: application/json
Authorization: Signature keyId="878dd77e-3983-4c65-b0fc-a5a8fb5e36e2",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length",signature="mykXRJBlGU1ABgBRb9girlRcqR14kNtjDyZbs0x1ZUY="
Content-Length: 192
Cache-Control: no-cache
Postman-Token: 8fae69ad-1211-e5a7-d5d3-850131a31d06


{
  "secondaryFields": [],
  "entityType": "INDIVIDUAL",
  "customFields": [],
  "groupId":"418f28a7-b9c9-4ae4-8530-819c61b1ca6c",
  "providerTypes": [
    "WATCHLIST"
  ],
  "name": "putin"
}
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 1 1 2

@brian.bourgault

I try to get the groups, but the response also is 401.

GET /v1/groups HTTP/1.1
Host: rms-world-check-one-api-pilot.thomsonreuters.com
Date: Tue, 16 May 2017 09:06:52 GMT
Authorization: Signature keyId="878dd77e-3983-4c65-b0fc-a5a8fb5e36e2",algorithm="hmac-sha256",headers="(request-target) host date",signature="0wIz1jQNnzI26NWO3qHOwTB7DLwXrQLhaWnoTui0h1Q="
Cache-Control: no-cache
Postman-Token: b55937fe-9a12-4ab1-d740-725a3964ba15


I can provide the API key and secret if you need.

Thanks,

Shitao

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3.1k 18 7 7
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.