Customer token

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a token for the Customer API (/customer/...). The token is valid for 1 hour.

Send key in the header and your secret in the body. Cache the token and create a new one shortly before it expires, for example every 45 minutes. Do not create a new token for every request.

🚧

Keep the secret private

MyRent gives you the secret once. Call this endpoint from your server only and never put the secret in browser or mobile app code, repositories or logs.

Responses

StatusMeaning
200Token created. exp is the expiry time as a Unix timestamp.
401Wrong key or secret, or the access is not active.
Body Params
string
required

Your customer secret from MyRent.

Headers
string
required

Your Customer API key.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json