Log into your account using your email address and password.
Note If you do not have an account, click Sign Up.
Under Account, click Tokens, and then click Create Token.
This will generate a new SID and token. Please keep the SID and token safe and secure. The token will not be shown elsewhere.
Important! Your account SID and auth token carry many privileges, so keep them safe and secure. Do not share your SID and tokens in publicly accessible areas such as client-side code, GitHub, and so forth.
stack.promo will authenticate to your web server using the provided SID and token and will remain
logged in for the duration of the action.
In order to authenticate with HTTP, you may provide a username and password with the following URL
format:
Here is the url for the environments:
Live: https://api.stack.promo
This sample call, which retrieves to all active promotions, includes a token in the Authorization request header.