Events
Retrieve a single Event
Changed onRetrieves a single Event by its ID.
get/v2/event/{id}
Request
- Base URLhttps://api.workiz.com/crm/api
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Example:EVT-Dxgp7NRjo6kXb5eG
The event ID (prefix EVT-).
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Response
The requested Event.
Example response
{
"id": "EVT-Dxgp7NRjo6kXb5eG",
"title": "Doctor appointment",
"description": "Doctor appointment with Dr. Smith",
"start": "2024-07-25 09:00:00",
"end": "2024-07-25 11:00:00",
"techIds": [
"USR-83510a9930f203f4",
"USR-a4f86bf1deefec12",
"USR-d59dbcd34aa19dce"
],
"updatedAt": "2024-07-25 09:00:00",
"createdAt": "2024-07-25 09:00:00",
"attachments": [
{
"name": "example",
"type": "jpg",
"filePath": "https://example.com/example.jpg"
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info