cURL
curl --request PUT \ --url https://api.hirehive.com/v1.0/{company_id}/emailtemplates/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "subject": "<string>", "body": "<string>", "sub_stage_id": "<string>", "stage": "rejected", "language": "english", "user_id": "<string>", "private": true }'
{ "data": { "id": "<string>", "company_id": "<string>", "name": "<string>", "subject": "<string>", "body": "<string>", "type_id": "application_email", "sub_stage_id": "<string>", "stage": "rejected", "language": { "name": "<string>", "code": "<string>" }, "user_id": "<string>", "private": true, "auto_response_default": true } }
Update a template by id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object
Was this page helpful?