PulseDeveloper
Pulse API
API Reference

Time Entries

Time Entries operations

GET
/time-entries

Authorization

bearerAuth
AuthorizationBearer <token>

An org API key (pulse_sk_… from Developer Center) or a Connected Apps access token.

In: header

Query Parameters

limit?integer

Page size. Default 50, maximum 200.

cursor?string

Opaque cursor from the previous page's nextCursor.

Length1 <= length
userId?string
clientId?string
assignmentId?string
startDate?string

Inclusive lower bound on the work date (YYYY-MM-DD).

endDate?string

Inclusive upper bound on the work date (YYYY-MM-DD).

status?string

Approval status.

Value in

  • "Draft"
  • "Awaiting Review"
  • "Approved"
  • "Rejected"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/time-entries"
{  "data": [    {      "id": "string",      "date": "string",      "clientId": "string",      "assignmentId": "string",      "taskId": "string",      "taskTypeId": "string",      "hours": "string",      "billableHours": "string",      "notes": "string",      "status": "Draft",      "billed": true,      "userId": "string",      "submittedAt": "string",      "approvedAt": "string",      "createdAt": "string",      "updatedAt": "string"    }  ],  "hasMore": true,  "nextCursor": "string"}
POST
/time-entries

Authorization

bearerAuth
AuthorizationBearer <token>

An org API key (pulse_sk_… from Developer Center) or a Connected Apps access token.

In: header

Header Parameters

idempotency-key?string

Optional. Repeating a request with the same key and body returns the stored 2xx response instead of performing the write again. Keys live 24 hours and are scoped to your credential, method, and path.

Length1 <= length <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/time-entries" \  -H "Content-Type: application/json" \  -d '{    "date": "string",    "assignmentId": "dbf5135c-beb7-4185-80db-2e980c77381b",    "taskTypeId": "fa712749-e8fa-41a7-8d51-640c1c9d429f",    "hours": 0,    "notes": "string"  }'
{  "id": "string",  "date": "string",  "clientId": "string",  "assignmentId": "string",  "taskId": "string",  "taskTypeId": "string",  "hours": "string",  "billableHours": "string",  "notes": "string",  "status": "Draft",  "billed": true,  "userId": "string",  "submittedAt": "string",  "approvedAt": "string",  "createdAt": "string",  "updatedAt": "string"}
GET
/time-entries/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

An org API key (pulse_sk_… from Developer Center) or a Connected Apps access token.

In: header

Path Parameters

id*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/time-entries/string"
{  "id": "string",  "date": "string",  "clientId": "string",  "assignmentId": "string",  "taskId": "string",  "taskTypeId": "string",  "hours": "string",  "billableHours": "string",  "notes": "string",  "status": "Draft",  "billed": true,  "userId": "string",  "submittedAt": "string",  "approvedAt": "string",  "createdAt": "string",  "updatedAt": "string"}
PATCH
/time-entries/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

An org API key (pulse_sk_… from Developer Center) or a Connected Apps access token.

In: header

Path Parameters

id*string
Length1 <= length

Header Parameters

idempotency-key?string

Optional. Repeating a request with the same key and body returns the stored 2xx response instead of performing the write again. Keys live 24 hours and are scoped to your credential, method, and path.

Length1 <= length <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/time-entries/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "date": "string",  "clientId": "string",  "assignmentId": "string",  "taskId": "string",  "taskTypeId": "string",  "hours": "string",  "billableHours": "string",  "notes": "string",  "status": "Draft",  "billed": true,  "userId": "string",  "submittedAt": "string",  "approvedAt": "string",  "createdAt": "string",  "updatedAt": "string"}