[{"data":1,"prerenderedAt":437},["ShallowReactive",2],{"content-\u002Fget-started":3},{"id":4,"title":5,"body":6,"description":16,"extension":431,"meta":432,"navigation":216,"path":433,"seo":434,"stem":435,"__hash__":436},"content\u002Fget-started.md","Getting Started with Rently Partner API",{"type":7,"value":8,"toc":417},"minimark",[9,13,17,22,32,35,39,83,87,99,104,114,118,148,152,180,185,242,246,300,304,311,315,321,324,343,346,360,363,386,390,410,413],[10,11,5],"h1",{"id":12},"getting-started-with-rently-partner-api",[14,15,16],"p",{},"Welcome to the Rently Partner API documentation. This guide will help you integrate Rently's rental management capabilities into your application.",[18,19,21],"h2",{"id":20},"prerequisites","Prerequisites",[23,24,25,29],"ul",{},[26,27,28],"li",{},"A Rently Partner account (will be provided by Rently)",[26,30,31],{},"API credentials (client ID and secret)",[14,33,34],{},"Welcome to our API integration guide. This document provides step-by-step instructions for integrating with our APIs.",[18,36,38],{"id":37},"environments","Environments",[40,41,42,55],"table",{},[43,44,45],"thead",{},[46,47,48,52],"tr",{},[49,50,51],"th",{},"EnvironmentName",[49,53,54],{},"Base Url",[56,57,58,72],"tbody",{},[46,59,60,64],{},[61,62,63],"td",{},"Test",[61,65,66],{},[67,68,69],"a",{"href":69,"rel":70},"https:\u002F\u002Fpartner-api.test.rently.sg",[71],"nofollow",[46,73,74,77],{},[61,75,76],{},"Production",[61,78,79],{},[67,80,81],{"href":81,"rel":82},"https:\u002F\u002Fpartner-api.rently.sg",[71],[18,84,86],{"id":85},"step-1-obtain-an-access-token","Step 1: Obtain an Access Token",[14,88,89,90,94,95,98],{},"To interact with our APIs, you must first obtain an access token using your ",[91,92,93],"code",{},"clientId"," and ",[91,96,97],{},"clientSecret",".",[100,101,103],"h3",{"id":102},"token-endpoint","Token Endpoint",[105,106,111],"pre",{"className":107,"code":109,"language":110},[108],"language-text","POST https:\u002F\u002F{base.server.url}\u002Fapi\u002Fv1\u002Ftoken\n","text",[91,112,109],{"__ignoreMap":113},"",[100,115,117],{"id":116},"request-headers","Request Headers",[40,119,120,130],{},[43,121,122],{},[46,123,124,127],{},[49,125,126],{},"Header",[49,128,129],{},"Value",[56,131,132,140],{},[46,133,134,137],{},[61,135,136],{},"Content-Type",[61,138,139],{},"application\u002Fjson",[46,141,142,145],{},[61,143,144],{},"X-RENTLY-PARTNER-ID",[61,146,147],{},"{partnerId}",[100,149,151],{"id":150},"request-body","Request Body",[40,153,154,164],{},[43,155,156],{},[46,157,158,161],{},[49,159,160],{},"Parameter",[49,162,163],{},"Description",[56,165,166,173],{},[46,167,168,170],{},[61,169,93],{},[61,171,172],{},"Your client ID",[46,174,175,177],{},[61,176,97],{},[61,178,179],{},"Your client secret",[181,182,184],"h4",{"id":183},"example-request","Example Request",[105,186,190],{"className":187,"code":188,"language":189,"meta":113,"style":113},"language-http shiki shiki-themes github-light github-dark","POST https:\u002F\u002F{base.server.url}\u002Fapi\u002Fv1\u002Ftoken\nContent-Type: application\u002Fjson\nX-RENTLY-PARTNER-ID: 60db2ea0-f828-4b41-81ae-05eeb68ca5d1\n\n{\n  \"clientId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"clientSecret\": \"secret\"\n}\n","http",[91,191,192,199,205,211,218,224,230,236],{"__ignoreMap":113},[193,194,197],"span",{"class":195,"line":196},"line",1,[193,198,109],{},[193,200,202],{"class":195,"line":201},2,[193,203,204],{},"Content-Type: application\u002Fjson\n",[193,206,208],{"class":195,"line":207},3,[193,209,210],{},"X-RENTLY-PARTNER-ID: 60db2ea0-f828-4b41-81ae-05eeb68ca5d1\n",[193,212,214],{"class":195,"line":213},4,[193,215,217],{"emptyLinePlaceholder":216},true,"\n",[193,219,221],{"class":195,"line":220},5,[193,222,223],{},"{\n",[193,225,227],{"class":195,"line":226},6,[193,228,229],{},"  \"clientId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n",[193,231,233],{"class":195,"line":232},7,[193,234,235],{},"  \"clientSecret\": \"secret\"\n",[193,237,239],{"class":195,"line":238},8,[193,240,241],{},"}\n",[181,243,245],{"id":244},"example-response","Example Response",[105,247,251],{"className":248,"code":249,"language":250,"meta":113,"style":113},"language-json shiki shiki-themes github-light github-dark","{\n  \"accessToken\": \"eyJhbGciOiJFUzI1NiIsImtpZCI6InJlbnRseV9zaWdfMjAyMjA1MDciLCJ0eXAiOiJKV1QifQ.eyJzdWIiOiI2MGRiMmVhMC1mODI4LTRiNDEtODFhZS0wNWVl...\",\n  \"expiresIn\": 3600,\n  \"tokenType\": \"Bearer\"\n}\n","json",[91,252,253,258,274,286,296],{"__ignoreMap":113},[193,254,255],{"class":195,"line":196},[193,256,223],{"class":257},"sVt8B",[193,259,260,264,267,271],{"class":195,"line":201},[193,261,263],{"class":262},"sj4cs","  \"accessToken\"",[193,265,266],{"class":257},": ",[193,268,270],{"class":269},"sZZnC","\"eyJhbGciOiJFUzI1NiIsImtpZCI6InJlbnRseV9zaWdfMjAyMjA1MDciLCJ0eXAiOiJKV1QifQ.eyJzdWIiOiI2MGRiMmVhMC1mODI4LTRiNDEtODFhZS0wNWVl...\"",[193,272,273],{"class":257},",\n",[193,275,276,279,281,284],{"class":195,"line":207},[193,277,278],{"class":262},"  \"expiresIn\"",[193,280,266],{"class":257},[193,282,283],{"class":262},"3600",[193,285,273],{"class":257},[193,287,288,291,293],{"class":195,"line":213},[193,289,290],{"class":262},"  \"tokenType\"",[193,292,266],{"class":257},[193,294,295],{"class":269},"\"Bearer\"\n",[193,297,298],{"class":195,"line":220},[193,299,241],{"class":257},[18,301,303],{"id":302},"step-2-call-the-api","Step 2: Call the API",[14,305,306,307,310],{},"Once you have obtained the access token, include it in the ",[91,308,309],{},"Authorization"," header of your API requests.",[100,312,314],{"id":313},"api-endpoint","API Endpoint",[105,316,319],{"className":317,"code":318,"language":110},[108],"GET https:\u002F\u002F{base.server.url}\u002Fapi\u002Fv1\u002Fresource\n",[91,320,318],{"__ignoreMap":113},[100,322,117],{"id":323},"request-headers-1",[40,325,326,334],{},[43,327,328],{},[46,329,330,332],{},[49,331,126],{},[49,333,129],{},[56,335,336],{},[46,337,338,340],{},[61,339,309],{},[61,341,342],{},"Bearer your-access-token",[181,344,184],{"id":345},"example-request-1",[105,347,349],{"className":187,"code":348,"language":189,"meta":113,"style":113},"GET https:\u002F\u002F{base.server.url}\u002Fapi\u002Fv1\u002Fresource\nAuthorization: Bearer your-access-token\n",[91,350,351,355],{"__ignoreMap":113},[193,352,353],{"class":195,"line":196},[193,354,318],{},[193,356,357],{"class":195,"line":201},[193,358,359],{},"Authorization: Bearer your-access-token\n",[181,361,245],{"id":362},"example-response-1",[105,364,366],{"className":248,"code":365,"language":250,"meta":113,"style":113},"{\n  \"data\": \"response data\"\n}\n",[91,367,368,372,382],{"__ignoreMap":113},[193,369,370],{"class":195,"line":196},[193,371,223],{"class":257},[193,373,374,377,379],{"class":195,"line":201},[193,375,376],{"class":262},"  \"data\"",[193,378,266],{"class":257},[193,380,381],{"class":269},"\"response data\"\n",[193,383,384],{"class":195,"line":207},[193,385,241],{"class":257},[18,387,389],{"id":388},"notes","Notes",[23,391,392,407],{},[26,393,394,395,397,398,397,400,94,403,406],{},"Replace ",[91,396,93],{},", ",[91,399,97],{},[91,401,402],{},"partnerId",[91,404,405],{},"your-access-token"," with actual values.",[26,408,409],{},"Tokens are valid for 1 hour. Reauthenticate as needed to obtain a new token.",[14,411,412],{},"For further assistance, contact our support team.",[414,415,416],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":113,"searchDepth":201,"depth":201,"links":418},[419,420,421,426,430],{"id":20,"depth":201,"text":21},{"id":37,"depth":201,"text":38},{"id":85,"depth":201,"text":86,"children":422},[423,424,425],{"id":102,"depth":207,"text":103},{"id":116,"depth":207,"text":117},{"id":150,"depth":207,"text":151},{"id":302,"depth":201,"text":303,"children":427},[428,429],{"id":313,"depth":207,"text":314},{"id":323,"depth":207,"text":117},{"id":388,"depth":201,"text":389},"md",{},"\u002Fget-started",{"title":5,"description":16},"get-started","WavpvRbViE5vOcxYWla0xkgFcXNzv_DrpdD5OyuSVxM",1791463212655]