{"_id":"5a625c6489d027001e2d904f","project":"54ee19c23749bf0d00c76515","version":{"_id":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":2,"createdAt":"2018-01-18T19:32:29.915Z","releaseDate":"2018-01-18T19:32:29.915Z","categories":["5a60f64d792a330012d72141","5a60f64d792a330012d72142","5a60f64d792a330012d72143","5a60f64d792a330012d72144","5a60f64d792a330012d72145","5a60f64d792a330012d72146","5a60f64d792a330012d72147","5a660cc7dc0f1c001c2b5568"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3"},"category":{"_id":"5a60f64d792a330012d72144","version":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-02-25T20:54:58.144Z","from_sync":false,"order":4,"slug":"company-endpoints","title":"Company Endpoints"},"user":"575f003663430e0e008a8704","__v":4,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-01-19T21:00:20.982Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"status":200,"language":"json","code":"{ \n  Template Object\n}","name":""},{"status":400,"language":"json","code":"{\n    \"error\": {\n        \"type\": \"missingAccessToken\",\n        \"message\": \"access token is null or empty\"\n    }\n}","name":"Missing Access Token"},{"code":"{\n    \"error\": {\n        \"type\": \"invalidAccessToken\",\n        \"message\": \"access token is invalid\"\n    }\n}","language":"json","status":401},{"code":"{\n    \"error\": {\n        \"type\": \"getTemplateError\",\n        \"message\": \"there was an unknown error getting template.\"\n    }\n}","language":"json","status":500}]},"method":"get","examples":{"codes":[{"code":"curl -H \"Content-Type: application/json\" -H \"Authorization: 00000000-0000-0000-0000-000000000000\" https://breezy.hr/public/api/v3/company/000000000000/template/000000000000","language":"curl"}]},"settings":"","auth":"required","params":[{"_id":"57a8a9b93ec56d0e001ee3cb","ref":"","in":"path","required":true,"desc":"company id","default":"","type":"string","name":"company_id"},{"_id":"5a6253943f8fd80012160b42","ref":"","in":"path","required":true,"desc":"template id","default":"","type":"string","name":"template_id"}],"url":"/v:version/company/:company_id/template/:template_id"},"isReference":true,"order":5,"body":"","excerpt":"Retrieve email template by id","slug":"company-template","type":"get","title":"/company/:id/template/:id"}

get/company/:id/template/:id

Retrieve email template by id

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

company_id:
required
string
company id
template_id:
required
string
template id

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}