Skip to main content
GET
Get rep assignment

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

leadConnectionId
string<uuid>
required

The id of the lead connection.

repAssignmentId
string<uuid>
required

The id of the rep assignment.

Response

The requested rep assignment.

id
string<uuid>

The rep assignment's unique identifier.

Example:

"6f3a9c1e-4b7d-4e2a-8f5c-1d9b3a6e7c20"

tenant_id
integer

The id of your organization's account.

Example:

12

lead_connection_id
string<uuid>

The id of the lead connection this rep assignment belongs to.

Example:

"3f9a2b6c-1d4e-4a8b-9c2f-7e5d6a1b8c30"

rep_id
integer

The id of the user assigned to the connection's round-robin rotation.

Example:

1159

last_lead_assigned_at
string | null

Timestamp when this rep was last assigned a lead, formatted as YYYY-MM-DD HH:MM:SS. Null if this rep hasn't been assigned a lead yet, which puts them first in line for the next one. The rotation always assigns to whichever assigned rep has waited longest.

Example:

"2025-02-09 16:40:12"

created_at
string | null

Timestamp when the rep assignment was created, formatted as YYYY-MM-DD HH:MM:SS. Null if not recorded.

Example:

"2025-01-06 10:00:00"

updated_at
string | null

Timestamp when the rep assignment was last updated, formatted as YYYY-MM-DD HH:MM:SS. Null if not recorded.

Example:

"2025-02-09 16:40:12"