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}