To create a data streamer with Datadog integration, a POST request should be sent to https://cdn.emnify.net/api/v1/data_stream.

The request body determines the data stream type and configuration. The following is an example request body for creating a Datadog data stream:

{
  "stream_historic_data": 0,
  "data_stream_type": {
    "description": "Usage Data & Events",
    "id": 3
  },
  "api_type": {
    "description": "DataDog",
    "id": 3
  },
  "api_username": "datadog_app_key",
  "api_password": "datadofg_api_key"
}

For more information, see the /data_stream Swagger Reference.