### List all resume tags - client examples Source: https://docs.rxresu.me/api-reference/resumes/list-all-resume-tags These are the client examples for the GET /resumes/tags endpoint. Each example sends a GET request to https://rxresu.me/api/openapi/resumes/tags with the required x-api-key header. The response is a 200 with a JSON array of tag strings. ```bash curl --request GET \ --url https://rxresu.me/api/openapi/resumes/tags \ --header 'x-api-key: ' ``` ```python import requests url = "https://rxresu.me/api/openapi/resumes/tags" headers = {"x-api-key": ""} response = requests.get(url, headers=headers) print(response.text) ``` ```javascript const options = {method: 'GET', headers: {'x-api-key': ''}}; fetch('https://rxresu.me/api/openapi/resumes/tags', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err)); ``` ```php "https://rxresu.me/api/openapi/resumes/tags", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "x-api-key: " ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://rxresu.me/api/openapi/resumes/tags" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("x-api-key", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) } ``` ```java HttpResponse response = Unirest.get("https://rxresu.me/api/openapi/resumes/tags") .header("x-api-key", "") .asString(); ``` ```ruby require 'uri' require 'net/http' url = URI("https://rxresu.me/api/openapi/resumes/tags") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["x-api-key"] = '' response = http.request(request) puts response.read_body ``` -------------------------------- ### Go example for listing agent threads Source: https://docs.rxresu.me/api-reference/agent/list-agent-threads Uses net/http to GET the agent threads endpoint with the x-api-key header. Prints the response body. ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://rxresu.me/api/openapi/agent/threads" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("x-api-key", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) } ``` -------------------------------- ### Go net/http GET total number of resumes Source: https://docs.rxresu.me/api-reference/platform-statistics/get-total-number-of-resumes Go example using net/http to GET the statistics/resumes endpoint. Requires an API key in the x-api-key header. ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "https://rxresu.me/api/openapi/statistics/resumes" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("x-api-key", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) } ``` -------------------------------- ### Import resume with Ruby Net::HTTP Source: https://docs.rxresu.me/api-reference/resumes/import-a-resume Ruby example using Net::HTTP to POST to the resume import endpoint. Requires an API key in the x-api-key header and a JSON body with resume data. ```ruby require 'uri' require 'net/http' url = URI("https://rxresu.me/api/openapi/resumes/import") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["x-api-key"] = '' request["Content-Type"] = 'application/json' request.body = "{\n \"data\": {\n \"picture\": {\n \"hidden\": true,\n \"url\": \"\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"\",\n \"borderWidth\": 1,\n \"shadowColor\": \"\",\n \"shadowWidth\": 1,\n \"fit\": \"cover\"\n },\n \"basics\": {\n \"name\": \"\",\n \"headline\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"location\": \"\",\n \"website\": {\n \"url\": \"\",\n \"label\": \"\"\n },\n \"customFields\": [\n {\n \"id\": \"\",\n \"icon\": \"\",\n \"text\": \"\",\n \"link\": \"\"\n }\n ]\n },\n \"summary\": {\n \"title\": \"\",\n \"icon\": \"",\n " } ``` -------------------------------- ### Go HTTP POST to /resumes/import Source: https://docs.rxresu.me/api-reference/resumes/import-a-resume Go example for the POST /resumes/import endpoint. Creates an HTTP request with the same JSON payload and headers Content-Type: application/json and x-api-key: , then prints the response body. Uses net/http, strings, and io packages. ```go package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://rxresu.me/api/openapi/resumes/import" payload := strings.NewReader("{\n \"data\": {\n \"picture\": {\n \"hidden\": true,\n \"url\": \"\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"\",\n \"borderWidth\": 1,\n \"shadowColor\": \"\",\n \"shadowWidth\": 1,\n \"fit\": \"cover\"\n },\n \"basics\": {\n \"name\": \"\",\n \"headline\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"location\": \"\",\n \"website\": {\n \"url\": \"\",\n \"label\": \"\"\n },\n \"customFields\": [\n {\n \"id\": \"\",\n \"icon\": \"\",\n \"text\": \"\",\n \"link\": \"\"\n }\n ]\n },\n \"summary\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"content\": \"\",\n \"showHeading\": true\n },\n \"sections\": {\n \"profiles\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"icon\": \"\",\n \"iconColor\": \"\",\n \"network\": \"\",\n \"username\": \"\",\n \"website\": {\n \"url\": \"\",\n \"label\": \"\",\n \"inlineLink\": false\n }\n }\n ],\n \"showHeading\": true\n },\n \"experience\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"company\": \"\",\n \"position\": \"\",\n \"location\": \"\",\n \"period\": \"\",\n \"website\": {\n \"url\": \"\",\n \"label\": \"\",\n \"inlineLink\": false\n },\n \"description\": \"\",\n \"roles\": []\n }\n ],\n \"showHeading\": true\n },\n \"education\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"school\": \"\",\n \"degree\": \"\",\n \"area\": \"\",\n \"grade\": \"\",\n \"location\": \"\",\n \"period\": \"\",\n \"website\": {\n \"url\": \"\",\n \"label\": \"\",\n \"inlineLink\": false\n },\n \"description\": \"\"\n }\n ],\n \"showHeading\": true\n },\n \"projects\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"name\": \"\",\n \"period\": \"\",\n \"website\": {\n \"url\": \"\",\n \"label\": \"\",\n \"inlineLink\": false\n },\n \"description\": \"\",\n \"roles\": [],\n \"keywords\": [],\n \"date\": \"\",\n \"summary\": \"\"\n }\n ],\n \"showHeading\": true\n },\n \"awards\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"title\": \"\",\n \"awarder\": \"\",\n \"date\": \"\",\n \"summary\": \"\"\n }\n ],\n \"showHeading\": true\n },\n \"certificates\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"name\": \"\",\n \"issuer\": \"\",\n \"date\": \"\",\n \"summary\": \"\"\n }\n ],\n \"showHeading\": true\n },\n \"publications\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"name\": \"\",\n \"publisher\": \"\",\n \"date\": \"\",\n \"summary\": \"\",\n \"url\": \"\"\n }\n ],\n \"showHeading\": true\n },\n \"volunteering\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"organization\": \"\",\n \"position\": \"\",\n \"url\": \"\",\n \"startDate\": \"\",\n \"endDate\": \"\",\n \"summary\": \"\",\n \"highlights\": []\n }\n ],\n \"showHeading\": true\n },\n \"languages\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"name\": \"\",\n \"description\": \"\",\n \"level\": \"\",\n \"levelValue\": 0\n }\n ],\n \"showHeading\": true\n },\n \"interests\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"name\": \"\",\n \"keywords\": []\n }\n ],\n \"showHeading\": true\n },\n \"skills\": {\n \"title\": \"\",\n \"icon\": \"\",\n \"columns\": 1,\n \"hidden\": true,\n \"keepTogether\": false,\n \"startOnNewPage\": false,\n \"items\": [\n {\n \"id\": \"\",\n \"hidden\": true,\n \"name\": \"\",\n \"description\": \"\",\n \"keywords\": [],\n \"level\": 0,\n \"levelName\": \"\"\n }\n ],\n \"showHeading\": true\n }\n },\n \"settings\": {\n \"page\": {\n \"format\": \"A4\",\n \"margin\": 0,\n \"customSize\": {\n \"width\": 0,\n \"height\": 0\n }\n },\n \"theme\": {\n \"fontFamily\": \"\",\n \"fontSize\": 11,\n \"lineHeight\": 1.5,\n \"fontWeights\": [\n \"400\"\n ],\n \"colors\": {\n \"primary\": \"\",\n \"text\": \"\",\n \"background\": \"\"\n }\n },\n \"typography\": {\n \"lineHeight\": 1.5,\n \"fontSize\": 11,\n \"fontFamily\": \"\",\n \"fontWeights\": [\n \"400\"\n ]\n },\n \"notes\": \"\",\n \"styleRules\": [\n \"\"\n ]\n }\n }\n}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Content-Type", "application/json") req.Header.Add("x-api-key", "") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) } ``` -------------------------------- ### Import resume with Ruby Net::HTTP Source: https://docs.rxresu.me/api-reference/resumes/import-a-resume Ruby example using Net::HTTP to POST to the resume import endpoint. Sets the x-api-key header and Content-Type to application/json, with a JSON body containing resume data fields like picture and basics. ```ruby require 'uri' require 'net/http' url = URI("https://rxresu.me/api/openapi/resumes/import") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["x-api-key"] = '' request["Content-Type"] = 'application/json' request.body = "{\n \"data\": {\n \"picture\": {\n \"hidden\": true,\n \"url\": \"\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"\",\n \"borderWidth\": 1,\n \"shadowColor\": \"\",\n \"shadowWidth\": 1,\n \"fit\": \"cover\"\n },\n \"basics\": {\n \"name\": \"\",\n \"headline\": \"\",\n \"email\": \"\",\n \"phone\": \"\",\n \"location\": \"\",\n \"website\": {\n \"url\": \"\",\n ``` -------------------------------- ### Ruby example for listing agent threads Source: https://docs.rxresu.me/api-reference/agent/list-agent-threads Uses Net::HTTP to GET the agent threads endpoint with the x-api-key header. Prints the response body. ```ruby require 'uri' require 'net/http' url = URI("https://rxresu.me/api/openapi/agent/threads") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["x-api-key"] = '' response = http.request(request) puts response.read_body ``` -------------------------------- ### Import resume with JavaScript fetch Source: https://docs.rxresu.me/api-reference/resumes/import-a-resume JavaScript example for importing a resume using fetch. It sets up the POST request with the API key header and a JSON body containing the resume data. The snippet is truncated in the source, showing only the beginning of the payload. ```javascript const options = { method: 'POST', headers: {'x-api-key': '', 'Content-Type': 'application/json'}, body: JSON.stringify({ data: { picture: { hidden: true, url: '', size: 272, rotation: 180, aspectRatio: 1.5, borderRadius: 50, borderColor: '', borderWidth: 1, shadowColor: '', shadowWidth: 1, fit: 'cover' }, basics: { name: '', headline: '', email: '', phone: '', location: '', website: {url: '', label: ''}, customFields: [{id: '', icon: '', text: '', link: ''}] }, summary: { title: '', icon: '', columns: 1, hidden: true, keepTogether: false, startOnNewPage: false, content: '', showHeading: true }, sections: { profiles: { title: '', icon: '', columns: 1, hidden: true, keepTogether: false, startOnNewPage: false, items: [ { id: '', hidden: true, icon: '', iconColor: '', network: '', username: '', ``` -------------------------------- ### Import resume with requests to rxresu.me API Source: https://docs.rxresu.me/api-reference/resumes/import-a-resume Python example for importing a resume via the rxresu.me API. It constructs a payload with the full resume data structure, including picture, basics, summary, sections, and settings, then sends it to the /api/openapi/resumes/import endpoint. ```python import requests url = "https://rxresu.me/api/openapi/resumes/import" payload = { "data": { "picture": { "hidden": True, "url": "", "size": 272, "rotation": 180, "aspectRatio": 1.5, "borderRadius": 50, "borderColor": "", "borderWidth": 1, "shadowColor": "", "shadowWidth": 1, "fit": "cover" }, "basics": { "name": "", "headline": "", "email": "", "phone": "", "location": "", "website": { "url": "", "label": "" }, "customFields": [ { "id": "", "icon": "", "text": "", "link": "" } ] }, "summary": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "content": "", "showHeading": True }, "sections": { "profiles": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "icon": "", "iconColor": "", "network": "", "username": "", "website": { "url": "", "label": "", "inlineLink": False } } ], "showHeading": True }, "experience": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "company": "", "position": "", "location": "", "period": "", "website": { "url": "", "label": "", "inlineLink": False }, "description": "", "roles": [] } ], "showHeading": True }, "education": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "school": "", "degree": "", "area": "", "grade": "", "location": "", "period": "", "website": { "url": "", "label": "", "inlineLink": False }, "description": "" } ], "showHeading": True }, "projects": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "period": "", "website": { "url": "", "label": "", "inlineLink": False }, "description": "" } ], "showHeading": True }, "awards": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "title": "", "awarder": "", "date": "", "summary": "" } ], "showHeading": True }, "certificates": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "issuer": "", "date": "", "summary": "" } ], "showHeading": True }, "publications": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "publisher": "", "date": "", "summary": "", "website": { "url": "", "label": "", "inlineLink": False } } ], "showHeading": True }, "skills": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "level": "", "keywords": [ "" ] } ], "showHeading": True }, "interests": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "keywords": [ "" ] } ], "showHeading": True }, "languages": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "level": "", "keywords": [ "" ] } ], "showHeading": True }, "references": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "description": "" } ], "showHeading": True }, "custom": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "description": "" } ], "showHeading": True } }, "settings": { "fontFamily": "", "fontSize": 11, "lineHeight": 1.5, "themeColor": "", "page": { "format": "", "margin": 0, "width": "", "height": "", "orientation": "", "breakLine": True, "pageNumbers": True, "showPageNumbers": True, "showPageTotal": True, "showPageLabels": True, "pageLabel": "", "pageNumberPlaceholder": "", "pageTotalPlaceholder": "" }, "heading": { "fontFamily": "", "fontWeights": [ "400" ], "fontSize": 11, "lineHeight": 1.5 }, "hyphenation": true }, "notes": "", "styleRules": [ "" ] } } ``` -------------------------------- ### Import resume with Python requests Source: https://docs.rxresu.me/api-reference/resumes/import-a-resume Python example for importing a resume via the RxResu API. It constructs the full payload with resume data and metadata, then sends a POST request to the import endpoint with the API key header. The response text is printed to the console. ```python url = "https://api.rxresu.me/v1/resumes/import" payload = { "data": { "picture": { "hidden": True, "url": "", "size": 272, "rotation": 180, "aspectRatio": 1.5, "borderRadius": 50, "borderColor": "", "borderWidth": 1, "shadowColor": "", "shadowWidth": 1, "fit": "cover" }, "basics": { "name": "", "headline": "", "email": "", "phone": "", "location": "", "website": { "url": "", "label": "" }, "customFields": [ { "id": "", "icon": "", "text": "", "link": "" } ] }, "summary": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "content": "", "showHeading": True }, "sections": { "profiles": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "icon": "", "iconColor": "", "network": "", "username": "", "url": "", "label": "", "inlineLink": False } ], "showHeading": True }, "experience": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "company": "", "position": "", "location": "", "date": "", "summary": "", "highlights": [""] } ], "showHeading": True }, "education": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "institution": "", "area": "", "studyType": "", "startDate": "", "endDate": "", "score": "", "summary": "", "highlights": [""] } ], "showHeading": True }, "awards": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "title": "", "awarder": "", "date": "", "summary": "", "highlights": [""] } ], "showHeading": True }, "certificates": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "issuer": "", "date": "", "summary": "", "url": "" } ], "showHeading": True }, "publications": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "publisher": "", "date": "", "summary": "", "url": "" } ], "showHeading": True }, "skills": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "description": "", "keywords": [""] } ], "showHeading": True }, "languages": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "description": "", "level": "" } ], "showHeading": True }, "interests": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "keywords": [""] } ], "showHeading": True }, "references": { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "items": [ { "id": "", "hidden": True, "name": "", "position": "", "website": { "url": "", "label": "", "inlineLink": False }, "phone": "", "description": "" } ], "showHeading": True } }, "customSections": [ { "title": "", "icon": "", "columns": 1, "hidden": True, "keepTogether": False, "startOnNewPage": False, "id": "", "type": "cover-letter", "items": [ { "id": "", "hidden": True, "recipient": "", "content": "" } ], "showHeading": True, "keywordLayout": "" } ], "metadata": { "template": "onyx", "layout": { "sidebarWidth": 35, "pages": [ { "fullWidth": True, "main": [""], "sidebar": [""] } ] }, "page": { "gapX": 1, "gapY": 1, "marginX": 14, "marginY": 12, "format": "a4", "locale": "en-US", "hideLinkUnderline": False, "hideIcons": False, "hideSectionIcons": True }, "design": { "level": { "icon": "" }, "colors": { "primary": "", "text": "", "background": "" } }, "typography": { "body": { "fontFamily": "", "fontWeights": ["400"], "fontSize": 11, "lineHeight": 1.5 }, "heading": { "fontFamily": "", "fontWeights": ["400"], "fontSize": 11, "lineHeight": 1.5 }, "hyphenation": True }, "notes": "", "styleRules": [""] } } } ``` ```python headers = { "x-api-key": "", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text) ```