Skip to content

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
GET https://services.ownpage.fr/v1/token?username=CLIENT&password=API_KEY

With:

  • CLIENT: your Ownpage customer ID.
  • API_KEY: Your unique customer key given by Ownpage.

Response example:

1
2
3
{
  "token": "78jkhs803lkjh27p081hdlk6m99"
}

Comments