This shows you the differences between two versions of the page.
api-general [2015/06/17 15:01] ben created |
api-general [2017/07/26 08:24] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== API General Use ===== | ||
- | Version 2.0 of the Sentori API expects request body data to be in JSON format and for the Content-Type of the request to be "application/json". | ||
- | |||
- | |||
- | ===== Example ===== | ||
- | |||
- | <code>POST https://api.sentoriapp.com/v2.0/emails/create/ HTTP/1.1 | ||
- | ApiKey: 00000000-0000-0000-0000-000000000000 | ||
- | Host: api.sentoriapp.com | ||
- | Content-Type: application/json | ||
- | Content-Length: 97 | ||
- | |||
- | { | ||
- | "ExternalID":"AB1C234D", | ||
- | "Name":"API Created Email", | ||
- | "Description":"This is a new email." | ||
- | }</code> |