How to give Authorization in Postman for WC1 API

agupta2
agupta2 Newcomer
edited October 3 in World-Check One
image.png

As per LSEG World-Check One API Security Authorization mention below

Authorization: Signature keyId="{API-KEY}",algorithm="hmac-sha256", headers="(request-target) host date content-type content-length", signature="{BASE64-HMAC-VALUE}"

can you please help how to give in Postman

Answers

  • ram_nitish
    ram_nitish LSEG
    edited October 3

    Hi @agupta2,

    Thanks for reaching out. To get started, Import the WC1 API environment file in Postman and enter your API Key and API Secret. The Authorization header will be generated by the pre-request script, so you don’t need to handle that manually. Once that’s set, run the [SEQ-pre-groups]: Get all the top-level groups and their descendants endpoint first, this will return the group ID, which is required for further API calls in the collection.

    Thanks,
    Ram.