Creating a Job Note
Create an internal note on a job in your workspace.
The create job note endpoint allows you to add a new job note to a job in your workspace.
By default, the note is attributed to the caller. Use author_user_id to attribute it
to a different user, and recipient_user_ids to notify participants on the job.
Endpoint
| Method | Url |
|---|---|
POST | /v1.0/jobs/{job_id}/notes |
Request Parameters
The note's text content. Must not exceed 2,000 characters.
The ID of the user the note is attributed to. The user must be permitted to author
notes on the job. Defaults to the user making the request when omitted. This value
is returned as created_by_user_id on the job note resource.
The IDs of the users to notify of the note. Each user must be a participant on the job, such as an assigned Pro or the job's relationship manager. Omit this property to create the note without notifying anyone.
Sample Request
bashCopied1curl -X POST 'https://api.worklayer.com/v1.0/jobs/a439ddfa-6ba4-4b38-8cf0-5d09db1a0af4/notes' \2-H 'Authorization: Bearer {token}' \3-H 'Content-Type: application/json' \4-d '{ "body": "Client uploaded the missing W-2. Ready for review.", "recipient_user_ids": ["95e6f305-913e-40ad-9c80-ede263670878"] }'
Response
The response will contain the created job note's ID.
Sample Response
jsonCopied1{2 "id": "6b3b0a1c-d45c-4323-8584-6f341dbd8be9"3}
Errors
Forbidden: API Client cannot create notes on the job, or the specified author is not permitted to author notes on the job.Unauthorized: API Client does not have valid credentials.BadRequest: Required properties are missing, one or more recipients are not authorized to view the job's notes, or the request was malformed.NotFound: The job was not found.