In v1, you put your key into the end of a URL:
https://americas.discovery.api.oclc.org/worldcat/search/v2/bibs/41266045?wskey=OUR_VALID_KEY
In v2, you will need to use an access token. You can obtain one by following the directions on the OCLC Developer Network Access Tokens page.