cURL
curl --request POST \ --url https://sandbox.withclasp.com/tasks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "category": "member_update", "memo": "<string>", "completed_at": "2023-11-07T05:31:56Z", "started_at": "2023-11-07T05:31:56Z" }'
{ "id": "<string>", "category": "member_update", "changes": {}, "memo": "<string>", "employer": "<string>", "associated_entity": {}, "assignee": "<string>", "completed_at": "2023-11-07T05:31:56Z", "started_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" }
Defines a task in Clasp. Tasks are usually created automatically based on events that occur (e.g., QLE, new hire, etc).
API Key authentication with required prefix "Bearer"
The response is of type object.
object