Skip to main content

πŸ”‘ Authentication

πŸ”’ How to Obtain Credentials?​

To access development or production credentials, send an email to suporte@serrabits.com.br. Identify yourself as an integrator and specify the shop you are integrating with Cortecloud.

You will receive the following information:

  • Email
  • Password
  • Client API key / Partner API key β€” referred in this documentation as API key

πŸ”“ Using the Credentials​

To access the API you will need to use all the information received:

  • Email and password: used for Basic Auth in the request.

    1. Concatenate email and password with ":" (e.g., email@example.com:password123).
    2. Base64-encode this string.
    3. Add to the header as: Authorization: Basic <base64_string>.
  • API key: used for the x-dreamfactory-api-key header.

    Add the header x-dreamfactory-api-key with your API key value.