We use oAuth 2 to secure our API, so to interact with us you’ll need to pass your access token. All requests, except GET, require authentication. If you are using GET method, you do not need to pass the token into the header.
To obtain your access token:
- Log in to the management UI (https://app.sorryapp.com)
- My Account -> API Tokens
Note that tokens are user specific, not account specific.
curl -H "Authorization: Bearer kh43k32jhkjhkjh3k2423kj4h32k4jh32s32423FEWf32eklnewfwkj4h32" \
https://api.sorryapp.com/v1/hello
Any requests made without this header will be rejected with a 401 Unauthorized
error.