Partner token

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

Creates a token for the B2B partner API (/b2b_partner/...). The token is valid for 1 hour.

Send b2b_guid 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 b2b_guid or secret, or the partner account is not active.
Body Params
string
required

Your partner secret from MyRent.

Headers
string
required

Your partner GUID.

Responses

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