Tokens
Ownpage API calls are authorized using a temporary token.
Your client token should be put in the header X-Ownpage-Client-Token
of all your requests.
If your token expire, the API returns a 401 Unauthorized response and you should request a new one.
Get a token
1 2 3 4 5 |
|
With:
- CLIENT: your Ownpage customer ID.
- API_KEY: Your unique customer key given by Ownpage.
Example :
1 |
|
Response example:
1 2 3 |
|