API Overview
The Senddr Partner API is a web service and used the OAuth(1.0a) protocol to authenticate partner applications.
Authentication
overview
Senddr Partner API use the standard 3 legged OAuth process where user can authorize your application to have access to their senddr account.
Connecting to Senddr
Below is a summary of the steps required for an end user to authorise a partner application to have access to their account in Senddr
- User presses a “Connect to Senddr” button or something similar in the partner application.
- User is redirected to Senddr and prompted to login if they do not already have an active session.
- User is requested to click the button to grant the application access to.
- Once the application is authorised, the user is redirected back to the partner application, which can then start interacting with their senddr account using the Senddr Partner API
URLs for authorisation and using the API
Senddr follows the OAuth v1.0a spec. The URL’s to authorize your application are:
Get an Unauthorised Request Token: |
http://api.senddr.com/oauth1.0a/RequestToken.aspx |
Redirect a user: |
http://api.senddr.com/oauth1.0a/Authorize.aspx |
Swap a Request Token for an Access Token: |
http://api.senddr.com/oauth1.0a/AccessToken.aspx |
Connect to the Senddr Partner API: |
http://api.senddr.com/v1.0/… |
Signing Requests
All requests need to be signed using HMAC-SHA1.
Access Tokens
- Each access token are permanent util the user to re-authorize your application