API authentication

Prev Next

Introduction

This document outlines the authentication mechanism for DAZZM APIs.

Protocol and Format

This service is invoked via an HTTPS/SSL POST request with a JSON-formatted payload.

Authentication and Encryption

Authentication is performed using a token. Each endpoint (production, test, and QA) uses a different token. This token allows the DAZZM platform to authenticate API calls. Upon request, DAZZM can revoke existing tokens and/or issue new ones.

Encryption is handled by the transport layer (HTTPS/SSL) and does not require any specific configuration, such as tunnels or custom certificates.

Example

Example of invoking the service using JavaScript/Node.js:

fetch("https://your_environment.api.octopus-esm.com/prod/the-service", {
  "headers": {
   {

    "api-key": "le-token",

    "content-type": "application/json;charset=UTF-8"  

  },

  "body": "{\"data\":\"test\"}",

  "method": "POST"

});