cURL
curl --request POST \
--url https://rxresu.me/api/openapi/coverLetters/import \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"document": {
"name": "<string>",
"recipient": "<string>",
"content": "<string>",
"style": {
"basics": {
"name": "<string>",
"headline": "<string>",
"email": "<string>",
"phone": "<string>",
"location": "<string>",
"website": {
"url": "<string>",
"label": "<string>"
},
"customFields": [
{
"id": "<string>",
"icon": "<string>",
"text": "<string>",
"link": "<string>"
}
]
},
"picture": {
"hidden": true,
"url": "<string>",
"size": 272,
"rotation": 180,
"aspectRatio": 1.5,
"borderRadius": 50,
"borderColor": "<string>",
"borderWidth": 1,
"shadowColor": "<string>",
"shadowWidth": 1
},
"metadata": {
"page": {
"gapX": 1,
"gapY": 1,
"marginX": 50,
"marginY": 50,
"locale": "<string>",
"hideLinkUnderline": true,
"hideIcons": true,
"hideSectionIcons": true
},
"design": {
"level": {
"icon": "<string>"
},
"colors": {
"primary": "<string>",
"text": "<string>",
"background": "<string>"
}
},
"typography": {
"body": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
},
"heading": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
}
},
"styleRules": [
"<unknown>"
]
},
"sectionId": "<string>",
"itemId": "<string>"
},
"format": "reactive-resume-cover-letter",
"version": 1
}
}
'import requests
url = "https://rxresu.me/api/openapi/coverLetters/import"
payload = { "document": {
"name": "<string>",
"recipient": "<string>",
"content": "<string>",
"style": {
"basics": {
"name": "<string>",
"headline": "<string>",
"email": "<string>",
"phone": "<string>",
"location": "<string>",
"website": {
"url": "<string>",
"label": "<string>"
},
"customFields": [
{
"id": "<string>",
"icon": "<string>",
"text": "<string>",
"link": "<string>"
}
]
},
"picture": {
"hidden": True,
"url": "<string>",
"size": 272,
"rotation": 180,
"aspectRatio": 1.5,
"borderRadius": 50,
"borderColor": "<string>",
"borderWidth": 1,
"shadowColor": "<string>",
"shadowWidth": 1
},
"metadata": {
"page": {
"gapX": 1,
"gapY": 1,
"marginX": 50,
"marginY": 50,
"locale": "<string>",
"hideLinkUnderline": True,
"hideIcons": True,
"hideSectionIcons": True
},
"design": {
"level": { "icon": "<string>" },
"colors": {
"primary": "<string>",
"text": "<string>",
"background": "<string>"
}
},
"typography": {
"body": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
},
"heading": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
}
},
"styleRules": ["<unknown>"]
},
"sectionId": "<string>",
"itemId": "<string>"
},
"format": "reactive-resume-cover-letter",
"version": 1
} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
document: {
name: '<string>',
recipient: '<string>',
content: '<string>',
style: {
basics: {
name: '<string>',
headline: '<string>',
email: '<string>',
phone: '<string>',
location: '<string>',
website: {url: '<string>', label: '<string>'},
customFields: [{id: '<string>', icon: '<string>', text: '<string>', link: '<string>'}]
},
picture: {
hidden: true,
url: '<string>',
size: 272,
rotation: 180,
aspectRatio: 1.5,
borderRadius: 50,
borderColor: '<string>',
borderWidth: 1,
shadowColor: '<string>',
shadowWidth: 1
},
metadata: {
page: {
gapX: 1,
gapY: 1,
marginX: 50,
marginY: 50,
locale: '<string>',
hideLinkUnderline: true,
hideIcons: true,
hideSectionIcons: true
},
design: {
level: {icon: '<string>'},
colors: {primary: '<string>', text: '<string>', background: '<string>'}
},
typography: {
body: JSON.stringify({fontFamily: '<string>', fontWeights: [], fontSize: 15, lineHeight: 2.25}),
heading: {fontFamily: '<string>', fontWeights: [], fontSize: 15, lineHeight: 2.25}
},
styleRules: ['<unknown>']
},
sectionId: '<string>',
itemId: '<string>'
},
format: 'reactive-resume-cover-letter',
version: 1
}
})
};
fetch('https://rxresu.me/api/openapi/coverLetters/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://rxresu.me/api/openapi/coverLetters/import",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'document' => [
'name' => '<string>',
'recipient' => '<string>',
'content' => '<string>',
'style' => [
'basics' => [
'name' => '<string>',
'headline' => '<string>',
'email' => '<string>',
'phone' => '<string>',
'location' => '<string>',
'website' => [
'url' => '<string>',
'label' => '<string>'
],
'customFields' => [
[
'id' => '<string>',
'icon' => '<string>',
'text' => '<string>',
'link' => '<string>'
]
]
],
'picture' => [
'hidden' => true,
'url' => '<string>',
'size' => 272,
'rotation' => 180,
'aspectRatio' => 1.5,
'borderRadius' => 50,
'borderColor' => '<string>',
'borderWidth' => 1,
'shadowColor' => '<string>',
'shadowWidth' => 1
],
'metadata' => [
'page' => [
'gapX' => 1,
'gapY' => 1,
'marginX' => 50,
'marginY' => 50,
'locale' => '<string>',
'hideLinkUnderline' => true,
'hideIcons' => true,
'hideSectionIcons' => true
],
'design' => [
'level' => [
'icon' => '<string>'
],
'colors' => [
'primary' => '<string>',
'text' => '<string>',
'background' => '<string>'
]
],
'typography' => [
'body' => [
'fontFamily' => '<string>',
'fontWeights' => [
],
'fontSize' => 15,
'lineHeight' => 2.25
],
'heading' => [
'fontFamily' => '<string>',
'fontWeights' => [
],
'fontSize' => 15,
'lineHeight' => 2.25
]
],
'styleRules' => [
'<unknown>'
]
],
'sectionId' => '<string>',
'itemId' => '<string>'
],
'format' => 'reactive-resume-cover-letter',
'version' => 1
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://rxresu.me/api/openapi/coverLetters/import"
payload := strings.NewReader("{\n \"document\": {\n \"name\": \"<string>\",\n \"recipient\": \"<string>\",\n \"content\": \"<string>\",\n \"style\": {\n \"basics\": {\n \"name\": \"<string>\",\n \"headline\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"location\": \"<string>\",\n \"website\": {\n \"url\": \"<string>\",\n \"label\": \"<string>\"\n },\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"icon\": \"<string>\",\n \"text\": \"<string>\",\n \"link\": \"<string>\"\n }\n ]\n },\n \"picture\": {\n \"hidden\": true,\n \"url\": \"<string>\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"<string>\",\n \"borderWidth\": 1,\n \"shadowColor\": \"<string>\",\n \"shadowWidth\": 1\n },\n \"metadata\": {\n \"page\": {\n \"gapX\": 1,\n \"gapY\": 1,\n \"marginX\": 50,\n \"marginY\": 50,\n \"locale\": \"<string>\",\n \"hideLinkUnderline\": true,\n \"hideIcons\": true,\n \"hideSectionIcons\": true\n },\n \"design\": {\n \"level\": {\n \"icon\": \"<string>\"\n },\n \"colors\": {\n \"primary\": \"<string>\",\n \"text\": \"<string>\",\n \"background\": \"<string>\"\n }\n },\n \"typography\": {\n \"body\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n },\n \"heading\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n }\n },\n \"styleRules\": [\n \"<unknown>\"\n ]\n },\n \"sectionId\": \"<string>\",\n \"itemId\": \"<string>\"\n },\n \"format\": \"reactive-resume-cover-letter\",\n \"version\": 1\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://rxresu.me/api/openapi/coverLetters/import")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"document\": {\n \"name\": \"<string>\",\n \"recipient\": \"<string>\",\n \"content\": \"<string>\",\n \"style\": {\n \"basics\": {\n \"name\": \"<string>\",\n \"headline\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"location\": \"<string>\",\n \"website\": {\n \"url\": \"<string>\",\n \"label\": \"<string>\"\n },\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"icon\": \"<string>\",\n \"text\": \"<string>\",\n \"link\": \"<string>\"\n }\n ]\n },\n \"picture\": {\n \"hidden\": true,\n \"url\": \"<string>\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"<string>\",\n \"borderWidth\": 1,\n \"shadowColor\": \"<string>\",\n \"shadowWidth\": 1\n },\n \"metadata\": {\n \"page\": {\n \"gapX\": 1,\n \"gapY\": 1,\n \"marginX\": 50,\n \"marginY\": 50,\n \"locale\": \"<string>\",\n \"hideLinkUnderline\": true,\n \"hideIcons\": true,\n \"hideSectionIcons\": true\n },\n \"design\": {\n \"level\": {\n \"icon\": \"<string>\"\n },\n \"colors\": {\n \"primary\": \"<string>\",\n \"text\": \"<string>\",\n \"background\": \"<string>\"\n }\n },\n \"typography\": {\n \"body\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n },\n \"heading\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n }\n },\n \"styleRules\": [\n \"<unknown>\"\n ]\n },\n \"sectionId\": \"<string>\",\n \"itemId\": \"<string>\"\n },\n \"format\": \"reactive-resume-cover-letter\",\n \"version\": 1\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://rxresu.me/api/openapi/coverLetters/import")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"document\": {\n \"name\": \"<string>\",\n \"recipient\": \"<string>\",\n \"content\": \"<string>\",\n \"style\": {\n \"basics\": {\n \"name\": \"<string>\",\n \"headline\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"location\": \"<string>\",\n \"website\": {\n \"url\": \"<string>\",\n \"label\": \"<string>\"\n },\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"icon\": \"<string>\",\n \"text\": \"<string>\",\n \"link\": \"<string>\"\n }\n ]\n },\n \"picture\": {\n \"hidden\": true,\n \"url\": \"<string>\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"<string>\",\n \"borderWidth\": 1,\n \"shadowColor\": \"<string>\",\n \"shadowWidth\": 1\n },\n \"metadata\": {\n \"page\": {\n \"gapX\": 1,\n \"gapY\": 1,\n \"marginX\": 50,\n \"marginY\": 50,\n \"locale\": \"<string>\",\n \"hideLinkUnderline\": true,\n \"hideIcons\": true,\n \"hideSectionIcons\": true\n },\n \"design\": {\n \"level\": {\n \"icon\": \"<string>\"\n },\n \"colors\": {\n \"primary\": \"<string>\",\n \"text\": \"<string>\",\n \"background\": \"<string>\"\n }\n },\n \"typography\": {\n \"body\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n },\n \"heading\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n }\n },\n \"styleRules\": [\n \"<unknown>\"\n ]\n },\n \"sectionId\": \"<string>\",\n \"itemId\": \"<string>\"\n },\n \"format\": \"reactive-resume-cover-letter\",\n \"version\": 1\n }\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"recipient": "<string>",
"content": "<string>",
"style": {
"basics": {
"name": "<string>",
"headline": "<string>",
"email": "<string>",
"phone": "<string>",
"location": "<string>",
"website": {
"url": "<string>",
"label": "<string>"
},
"customFields": [
{
"id": "<string>",
"icon": "<string>",
"text": "<string>",
"link": "<string>"
}
]
},
"picture": {
"hidden": true,
"url": "<string>",
"size": 272,
"rotation": 180,
"aspectRatio": 1.5,
"borderRadius": 50,
"borderColor": "<string>",
"borderWidth": 1,
"shadowColor": "<string>",
"shadowWidth": 1
},
"metadata": {
"template": "azurill",
"page": {
"gapX": 1,
"gapY": 1,
"marginX": 50,
"marginY": 50,
"format": "a4",
"locale": "<string>",
"hideLinkUnderline": true,
"hideIcons": true,
"hideSectionIcons": true
},
"design": {
"level": {
"icon": "<string>",
"type": "hidden"
},
"colors": {
"primary": "<string>",
"text": "<string>",
"background": "<string>"
}
},
"typography": {
"body": {
"fontFamily": "<string>",
"fontWeights": [
"100"
],
"fontSize": 15,
"lineHeight": 2.25
},
"heading": {
"fontFamily": "<string>",
"fontWeights": [
"100"
],
"fontSize": 15,
"lineHeight": 2.25
}
},
"styleRules": "<unknown>",
"stylesheet": {
"mode": "legacy",
"source": {
"languageVersion": 0,
"text": "<string>"
}
}
},
"sectionId": "<string>",
"itemId": "<string>"
},
"id": "<string>",
"sourceResumeId": "<string>",
"sourceApplicationId": "<string>",
"revision": 4503599627370496,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}API Reference
Post coverlettersimport
POST
/
coverLetters
/
import
cURL
curl --request POST \
--url https://rxresu.me/api/openapi/coverLetters/import \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"document": {
"name": "<string>",
"recipient": "<string>",
"content": "<string>",
"style": {
"basics": {
"name": "<string>",
"headline": "<string>",
"email": "<string>",
"phone": "<string>",
"location": "<string>",
"website": {
"url": "<string>",
"label": "<string>"
},
"customFields": [
{
"id": "<string>",
"icon": "<string>",
"text": "<string>",
"link": "<string>"
}
]
},
"picture": {
"hidden": true,
"url": "<string>",
"size": 272,
"rotation": 180,
"aspectRatio": 1.5,
"borderRadius": 50,
"borderColor": "<string>",
"borderWidth": 1,
"shadowColor": "<string>",
"shadowWidth": 1
},
"metadata": {
"page": {
"gapX": 1,
"gapY": 1,
"marginX": 50,
"marginY": 50,
"locale": "<string>",
"hideLinkUnderline": true,
"hideIcons": true,
"hideSectionIcons": true
},
"design": {
"level": {
"icon": "<string>"
},
"colors": {
"primary": "<string>",
"text": "<string>",
"background": "<string>"
}
},
"typography": {
"body": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
},
"heading": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
}
},
"styleRules": [
"<unknown>"
]
},
"sectionId": "<string>",
"itemId": "<string>"
},
"format": "reactive-resume-cover-letter",
"version": 1
}
}
'import requests
url = "https://rxresu.me/api/openapi/coverLetters/import"
payload = { "document": {
"name": "<string>",
"recipient": "<string>",
"content": "<string>",
"style": {
"basics": {
"name": "<string>",
"headline": "<string>",
"email": "<string>",
"phone": "<string>",
"location": "<string>",
"website": {
"url": "<string>",
"label": "<string>"
},
"customFields": [
{
"id": "<string>",
"icon": "<string>",
"text": "<string>",
"link": "<string>"
}
]
},
"picture": {
"hidden": True,
"url": "<string>",
"size": 272,
"rotation": 180,
"aspectRatio": 1.5,
"borderRadius": 50,
"borderColor": "<string>",
"borderWidth": 1,
"shadowColor": "<string>",
"shadowWidth": 1
},
"metadata": {
"page": {
"gapX": 1,
"gapY": 1,
"marginX": 50,
"marginY": 50,
"locale": "<string>",
"hideLinkUnderline": True,
"hideIcons": True,
"hideSectionIcons": True
},
"design": {
"level": { "icon": "<string>" },
"colors": {
"primary": "<string>",
"text": "<string>",
"background": "<string>"
}
},
"typography": {
"body": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
},
"heading": {
"fontFamily": "<string>",
"fontWeights": [],
"fontSize": 15,
"lineHeight": 2.25
}
},
"styleRules": ["<unknown>"]
},
"sectionId": "<string>",
"itemId": "<string>"
},
"format": "reactive-resume-cover-letter",
"version": 1
} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
document: {
name: '<string>',
recipient: '<string>',
content: '<string>',
style: {
basics: {
name: '<string>',
headline: '<string>',
email: '<string>',
phone: '<string>',
location: '<string>',
website: {url: '<string>', label: '<string>'},
customFields: [{id: '<string>', icon: '<string>', text: '<string>', link: '<string>'}]
},
picture: {
hidden: true,
url: '<string>',
size: 272,
rotation: 180,
aspectRatio: 1.5,
borderRadius: 50,
borderColor: '<string>',
borderWidth: 1,
shadowColor: '<string>',
shadowWidth: 1
},
metadata: {
page: {
gapX: 1,
gapY: 1,
marginX: 50,
marginY: 50,
locale: '<string>',
hideLinkUnderline: true,
hideIcons: true,
hideSectionIcons: true
},
design: {
level: {icon: '<string>'},
colors: {primary: '<string>', text: '<string>', background: '<string>'}
},
typography: {
body: JSON.stringify({fontFamily: '<string>', fontWeights: [], fontSize: 15, lineHeight: 2.25}),
heading: {fontFamily: '<string>', fontWeights: [], fontSize: 15, lineHeight: 2.25}
},
styleRules: ['<unknown>']
},
sectionId: '<string>',
itemId: '<string>'
},
format: 'reactive-resume-cover-letter',
version: 1
}
})
};
fetch('https://rxresu.me/api/openapi/coverLetters/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://rxresu.me/api/openapi/coverLetters/import",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'document' => [
'name' => '<string>',
'recipient' => '<string>',
'content' => '<string>',
'style' => [
'basics' => [
'name' => '<string>',
'headline' => '<string>',
'email' => '<string>',
'phone' => '<string>',
'location' => '<string>',
'website' => [
'url' => '<string>',
'label' => '<string>'
],
'customFields' => [
[
'id' => '<string>',
'icon' => '<string>',
'text' => '<string>',
'link' => '<string>'
]
]
],
'picture' => [
'hidden' => true,
'url' => '<string>',
'size' => 272,
'rotation' => 180,
'aspectRatio' => 1.5,
'borderRadius' => 50,
'borderColor' => '<string>',
'borderWidth' => 1,
'shadowColor' => '<string>',
'shadowWidth' => 1
],
'metadata' => [
'page' => [
'gapX' => 1,
'gapY' => 1,
'marginX' => 50,
'marginY' => 50,
'locale' => '<string>',
'hideLinkUnderline' => true,
'hideIcons' => true,
'hideSectionIcons' => true
],
'design' => [
'level' => [
'icon' => '<string>'
],
'colors' => [
'primary' => '<string>',
'text' => '<string>',
'background' => '<string>'
]
],
'typography' => [
'body' => [
'fontFamily' => '<string>',
'fontWeights' => [
],
'fontSize' => 15,
'lineHeight' => 2.25
],
'heading' => [
'fontFamily' => '<string>',
'fontWeights' => [
],
'fontSize' => 15,
'lineHeight' => 2.25
]
],
'styleRules' => [
'<unknown>'
]
],
'sectionId' => '<string>',
'itemId' => '<string>'
],
'format' => 'reactive-resume-cover-letter',
'version' => 1
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://rxresu.me/api/openapi/coverLetters/import"
payload := strings.NewReader("{\n \"document\": {\n \"name\": \"<string>\",\n \"recipient\": \"<string>\",\n \"content\": \"<string>\",\n \"style\": {\n \"basics\": {\n \"name\": \"<string>\",\n \"headline\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"location\": \"<string>\",\n \"website\": {\n \"url\": \"<string>\",\n \"label\": \"<string>\"\n },\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"icon\": \"<string>\",\n \"text\": \"<string>\",\n \"link\": \"<string>\"\n }\n ]\n },\n \"picture\": {\n \"hidden\": true,\n \"url\": \"<string>\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"<string>\",\n \"borderWidth\": 1,\n \"shadowColor\": \"<string>\",\n \"shadowWidth\": 1\n },\n \"metadata\": {\n \"page\": {\n \"gapX\": 1,\n \"gapY\": 1,\n \"marginX\": 50,\n \"marginY\": 50,\n \"locale\": \"<string>\",\n \"hideLinkUnderline\": true,\n \"hideIcons\": true,\n \"hideSectionIcons\": true\n },\n \"design\": {\n \"level\": {\n \"icon\": \"<string>\"\n },\n \"colors\": {\n \"primary\": \"<string>\",\n \"text\": \"<string>\",\n \"background\": \"<string>\"\n }\n },\n \"typography\": {\n \"body\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n },\n \"heading\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n }\n },\n \"styleRules\": [\n \"<unknown>\"\n ]\n },\n \"sectionId\": \"<string>\",\n \"itemId\": \"<string>\"\n },\n \"format\": \"reactive-resume-cover-letter\",\n \"version\": 1\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://rxresu.me/api/openapi/coverLetters/import")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"document\": {\n \"name\": \"<string>\",\n \"recipient\": \"<string>\",\n \"content\": \"<string>\",\n \"style\": {\n \"basics\": {\n \"name\": \"<string>\",\n \"headline\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"location\": \"<string>\",\n \"website\": {\n \"url\": \"<string>\",\n \"label\": \"<string>\"\n },\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"icon\": \"<string>\",\n \"text\": \"<string>\",\n \"link\": \"<string>\"\n }\n ]\n },\n \"picture\": {\n \"hidden\": true,\n \"url\": \"<string>\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"<string>\",\n \"borderWidth\": 1,\n \"shadowColor\": \"<string>\",\n \"shadowWidth\": 1\n },\n \"metadata\": {\n \"page\": {\n \"gapX\": 1,\n \"gapY\": 1,\n \"marginX\": 50,\n \"marginY\": 50,\n \"locale\": \"<string>\",\n \"hideLinkUnderline\": true,\n \"hideIcons\": true,\n \"hideSectionIcons\": true\n },\n \"design\": {\n \"level\": {\n \"icon\": \"<string>\"\n },\n \"colors\": {\n \"primary\": \"<string>\",\n \"text\": \"<string>\",\n \"background\": \"<string>\"\n }\n },\n \"typography\": {\n \"body\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n },\n \"heading\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n }\n },\n \"styleRules\": [\n \"<unknown>\"\n ]\n },\n \"sectionId\": \"<string>\",\n \"itemId\": \"<string>\"\n },\n \"format\": \"reactive-resume-cover-letter\",\n \"version\": 1\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://rxresu.me/api/openapi/coverLetters/import")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"document\": {\n \"name\": \"<string>\",\n \"recipient\": \"<string>\",\n \"content\": \"<string>\",\n \"style\": {\n \"basics\": {\n \"name\": \"<string>\",\n \"headline\": \"<string>\",\n \"email\": \"<string>\",\n \"phone\": \"<string>\",\n \"location\": \"<string>\",\n \"website\": {\n \"url\": \"<string>\",\n \"label\": \"<string>\"\n },\n \"customFields\": [\n {\n \"id\": \"<string>\",\n \"icon\": \"<string>\",\n \"text\": \"<string>\",\n \"link\": \"<string>\"\n }\n ]\n },\n \"picture\": {\n \"hidden\": true,\n \"url\": \"<string>\",\n \"size\": 272,\n \"rotation\": 180,\n \"aspectRatio\": 1.5,\n \"borderRadius\": 50,\n \"borderColor\": \"<string>\",\n \"borderWidth\": 1,\n \"shadowColor\": \"<string>\",\n \"shadowWidth\": 1\n },\n \"metadata\": {\n \"page\": {\n \"gapX\": 1,\n \"gapY\": 1,\n \"marginX\": 50,\n \"marginY\": 50,\n \"locale\": \"<string>\",\n \"hideLinkUnderline\": true,\n \"hideIcons\": true,\n \"hideSectionIcons\": true\n },\n \"design\": {\n \"level\": {\n \"icon\": \"<string>\"\n },\n \"colors\": {\n \"primary\": \"<string>\",\n \"text\": \"<string>\",\n \"background\": \"<string>\"\n }\n },\n \"typography\": {\n \"body\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n },\n \"heading\": {\n \"fontFamily\": \"<string>\",\n \"fontWeights\": [],\n \"fontSize\": 15,\n \"lineHeight\": 2.25\n }\n },\n \"styleRules\": [\n \"<unknown>\"\n ]\n },\n \"sectionId\": \"<string>\",\n \"itemId\": \"<string>\"\n },\n \"format\": \"reactive-resume-cover-letter\",\n \"version\": 1\n }\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"recipient": "<string>",
"content": "<string>",
"style": {
"basics": {
"name": "<string>",
"headline": "<string>",
"email": "<string>",
"phone": "<string>",
"location": "<string>",
"website": {
"url": "<string>",
"label": "<string>"
},
"customFields": [
{
"id": "<string>",
"icon": "<string>",
"text": "<string>",
"link": "<string>"
}
]
},
"picture": {
"hidden": true,
"url": "<string>",
"size": 272,
"rotation": 180,
"aspectRatio": 1.5,
"borderRadius": 50,
"borderColor": "<string>",
"borderWidth": 1,
"shadowColor": "<string>",
"shadowWidth": 1
},
"metadata": {
"template": "azurill",
"page": {
"gapX": 1,
"gapY": 1,
"marginX": 50,
"marginY": 50,
"format": "a4",
"locale": "<string>",
"hideLinkUnderline": true,
"hideIcons": true,
"hideSectionIcons": true
},
"design": {
"level": {
"icon": "<string>",
"type": "hidden"
},
"colors": {
"primary": "<string>",
"text": "<string>",
"background": "<string>"
}
},
"typography": {
"body": {
"fontFamily": "<string>",
"fontWeights": [
"100"
],
"fontSize": 15,
"lineHeight": 2.25
},
"heading": {
"fontFamily": "<string>",
"fontWeights": [
"100"
],
"fontSize": 15,
"lineHeight": 2.25
}
},
"styleRules": "<unknown>",
"stylesheet": {
"mode": "legacy",
"source": {
"languageVersion": 0,
"text": "<string>"
}
}
},
"sectionId": "<string>",
"itemId": "<string>"
},
"id": "<string>",
"sourceResumeId": "<string>",
"sourceApplicationId": "<string>",
"revision": 4503599627370496,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Authorizations
The API key to authenticate requests.
Body
application/json
Show child attributes
Show child attributes
Response
200 - application/json
OK
Required string length:
1 - 100Maximum string length:
20000Maximum string length:
100000Show child attributes
Show child attributes
Required range:
1 <= x <= 9007199254740991