Clay Icon

Need Help Setting Up Gong's API HTTP Headers

ยท
ยท

Has anyone set up the HTTP API with Gong's API? Need help with the headers.

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    Yes i have extensive exp with gong api

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    its a basic auth

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    encoded in base 64

  • Avatar of John M.
    John M.
    ยท
    ยท

    what do you put in the headers?

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท
    Authorization: Basic (API_KEY:SECRET) encoded in base 64
  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท
    Content-Type: application/json
  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    2 headers

  • Avatar of John M.
    John M.
    ยท
    ยท

    what does the encoded in base 64 mean?

  • Avatar of John M.
    John M.
    ยท
    ยท

    is it just the (API KEY:secret)

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    format apikey and api secret in the below format

    apikey:apisecret

    Then go to this site: https://www.base64encode.org/ Encode it in base 64 and it will give you a key

  • Avatar of Muhammad S.
    Muhammad S.
    ยท
    ยท

    Use that key with Basic {ENCODED_KEY}