In order to limit access to your details and devices, most parts of the API require that you authenticate with an auth token. To create a token, see the docs for
To make authenticated requests, you will need to add the token to a header to your requests. The token should be included in the
Authorization HTTP header and prefixed by the string literal
Token (note the space). The format for the Authorization Token that is added to make authenticated requests is shown below:
'Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer'
An example with a command:
http GET https://apps.dataplicity.com/devices/ 'Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer'
curl --header "Content-Type: application/json" -H "Authorization: Token 123456789abcdefghijklmnopqrstuvwxyzqwer" --request GET https://apps.dataplicity.com/devices/