PublicApiGetInboxThread
curl --request GET \
--url https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"thread": {
"threadId": "<string>",
"subject": "<string>",
"lastMessageAt": "<string>",
"messageCount": 4503599627370495,
"unreadCount": 4503599627370495,
"pendingApprovalCount": 4503599627370495,
"hasBounce": true,
"hasGoalHit": true,
"hasFailed": true,
"hasReply": true,
"hasUnsubscribe": true,
"hasOoo": true,
"status": "<string>",
"journeyStatus": "<string>",
"contact": {},
"campaign": {},
"emails": [
{
"id": "<string>",
"threadId": "<string>",
"emailType": "<string>",
"sequenceNumber": 4503599627370495,
"subject": "<string>",
"recipientEmail": "<string>",
"draftStatus": true,
"approvalStatus": true,
"sentStatus": true,
"failedStatus": true,
"cancelledStatus": true,
"readByUser": true,
"createdAt": "<string>",
"senderEmail": "<string>",
"senderName": "<string>",
"recipientName": "<string>",
"sentAt": "<string>",
"scheduledAt": "<string>",
"engagement": {},
"replyAnalysis": {
"sentiment": "<string>",
"intent": "<string>"
},
"approvalType": "<string>"
}
],
"aggregatedEngagement": {},
"journey": {},
"senderConnector": {
"id": "<string>",
"email": "<string>"
},
"visibility": "<string>",
"ownerId": "<string>",
"ownerName": "<string>",
"assigneeId": "<string>",
"assigneeName": "<string>",
"isOrphan": true,
"isWarmup": true,
"dealId": "<string>",
"latestReplyAnalysis": {
"sentiment": "<string>",
"intent": "<string>"
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}Inbox
PublicApiGetInboxThread
GET /api/v1/organizations//workspaces//inbox/threads/
GET
/
api
/
v1
/
organizations
/
{orgId}
/
workspaces
/
{wsId}
/
inbox
/
threads
/
{threadId}
PublicApiGetInboxThread
curl --request GET \
--url https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"thread": {
"threadId": "<string>",
"subject": "<string>",
"lastMessageAt": "<string>",
"messageCount": 4503599627370495,
"unreadCount": 4503599627370495,
"pendingApprovalCount": 4503599627370495,
"hasBounce": true,
"hasGoalHit": true,
"hasFailed": true,
"hasReply": true,
"hasUnsubscribe": true,
"hasOoo": true,
"status": "<string>",
"journeyStatus": "<string>",
"contact": {},
"campaign": {},
"emails": [
{
"id": "<string>",
"threadId": "<string>",
"emailType": "<string>",
"sequenceNumber": 4503599627370495,
"subject": "<string>",
"recipientEmail": "<string>",
"draftStatus": true,
"approvalStatus": true,
"sentStatus": true,
"failedStatus": true,
"cancelledStatus": true,
"readByUser": true,
"createdAt": "<string>",
"senderEmail": "<string>",
"senderName": "<string>",
"recipientName": "<string>",
"sentAt": "<string>",
"scheduledAt": "<string>",
"engagement": {},
"replyAnalysis": {
"sentiment": "<string>",
"intent": "<string>"
},
"approvalType": "<string>"
}
],
"aggregatedEngagement": {},
"journey": {},
"senderConnector": {
"id": "<string>",
"email": "<string>"
},
"visibility": "<string>",
"ownerId": "<string>",
"ownerName": "<string>",
"assigneeId": "<string>",
"assigneeName": "<string>",
"isOrphan": true,
"isWarmup": true,
"dealId": "<string>",
"latestReplyAnalysis": {
"sentiment": "<string>",
"intent": "<string>"
}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}
}Use this endpoint through the Developer API or the matching
firstsales CLI command when available. Responses use the stable FirstSales public error envelope.⌘I