This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api:v2.0:authentication [2015/01/16 11:31] dan created |
api:v2.0:authentication [2017/07/24 14:15] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== API 2.0 Authentication ====== | + | ====== API Authentication ===== |
- | Version 2.0 of the Sentori API requires that all requests have a HTTP header called **ApiKey** containing the Sentori Account API Key. | + | Version 2.0 of the Sentori API requires that all requests have a HTTP header named **ApiKey** containing the Sentori Account API Key. Any requests made to the API without an API Key or with an invalid key will be rejected. |
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | <code>GET: /example/ HTTP/1.1 | ||
+ | Host: api.sentoriapp.com | ||
+ | ApiKey: 00000000-0000-0000-0000-000000000000</code> |