{"_id":"5a60f64e792a330012d7214e","category":{"_id":"5a60f64d792a330012d72146","version":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-02-25T20:55:14.360Z","from_sync":false,"order":6,"slug":"candidate-endpoints","title":"Candidate Endpoints"},"user":"575f003663430e0e008a8704","parentDoc":null,"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"},"githubsync":"","__v":7,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-14T17:11:47.158Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"language":"json","code":"{\n  \"_id\": String,\n  \"type\": \"messageToCandidatePosted\",\n  \"object\": {\n    \"body\": String,\n    \"subject\": Subject,\n    \"attachments\": [\n      {\n        \"status\": String,\n        \"file_name\": String,\n        \"url\": String,\n        \"content_type\": String\n      },\n      ...\n    ],      \n\t\t\"candidate_id\": String,\n\t\t\"company_id\": String,\n\t\t\"position_id\": String,\n\t\t\"acting_user\": { Candidate | User}\n\t},\n\t\"timestamp\": Date\n}","name":"","status":200},{"code":"{\n    \"error\": {\n        \"type\": \"missingAccessToken\",\n        \"message\": \"access token is null or empty\"\n    }\n}","name":"Missing Access Token","status":400,"language":"json"},{"code":"{\n    \"error\": {\n        \"type\": \"postConversationMissingBody\",\n        \"message\": \"body is null or empty\"\n    }\n}","language":"json","status":400},{"code":"{\n    \"error\": {\n        \"type\": \"invalidAccessToken\",\n        \"message\": \"access token is invalid\"\n    }\n}","language":"json","status":401},{"code":"{\n    \"error\": {\n        \"type\": \"postMessageError\",\n        \"message\": \"there was an unknown error posting message.\"\n    }\n}","language":"json","status":500}]},"settings":"","examples":{"codes":[{"code":"POST /public/api/v3/company/000000000000/position/000000000000/candidate/000000000000/conversation HTTP/1.1\nHost: breezy.hr\nAuthorization: 00000000-0000-0000-0000-000000000000\nContent-Type: application/json\n\n{\n  \"body\": \"Hi there! This is a test message!\"\n}","language":"html"},{"code":"curl -H \"Content-Type: application/json\" -H \"Authorization: 00000000-0000-0000-0000-000000000000\" -X POST -d '{ \"body\": \"Hi there! This is a test message!\" }' https://breezy.hr/public/api/v3/company/000000000000/position/000000000000/candidate/000000000000/conversation\n\n","language":"curl"}]},"method":"post","auth":"required","params":[{"_id":"57602da9c811102000cef2f1","ref":"","in":"body","required":false,"desc":"the content of the conversation to add","default":"","type":"string","name":"body"},{"_id":"57a8b155b1641a1700ede471","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"company_id"},{"_id":"57a8b155b1641a1700ede470","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"position_id"},{"_id":"57a8b155b1641a1700ede46f","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"candidate_id"}],"url":"/v:version/company/:company_id/position/:position_id/candidate/:candidate_id/conversation"},"isReference":true,"order":3,"body":"","excerpt":"Adds a new conversation message for the candidate","slug":"company-position-candidate-conversation-add","type":"endpoint","title":"./candidate/:id/conversation"}

post./candidate/:id/conversation

Adds a new conversation message for the candidate

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

company_id:
required
string
position_id:
required
string
candidate_id:
required
string

Body Params

body:
string
the content of the conversation to add

Examples


Result Format


User Information

Try It Out

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