POST
/api/logCreate device log entries
Creates device log entries from a submitted array of log values. Include the entries in the logs field; each entry can be any JSON type. Authenticate the request with the device API key.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Access-Tokenstringrequired
The device API key used to authenticate the request.
A JSON object containing the log entries to create.
logsarrayrequired
An array of log entries; each entry can be any JSON type, including a string or object.
204Returns no response body and confirms that the log entries were created when `ignore_log_messages` is not set.
Error handling
logs is required and must be an array; each entry can be any JSON type. The Access-Token header must contain the device API key.