Download OpenAPI specification:Download
Please email support@firstreply.ai if you have questions or need help while using the API.
When you're making calls to the API, there'll be a lot of results to return. For that reason, we paginate the results to make sure responses are easier to handle. We recommend you to set the limit parameter in every request to ensure you know how many results per page you'll get.
The default limit is 100 items per page. You can paginate through the results with the page parameter, starting with 1.
If you set the limit to 10 and page to 1 you will get the results from 1-10. If you set the limit to 10 and page to 2, you'll get the results from 11-20.
List webhooks.
| organizationId required | string |
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "id": "string",
- "organizationId": "string",
- "target": "string",
- "event": "string",
- "lastUpdate": 0,
- "created": 0
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}Create a new webhook.
| organizationId required | string |
| target | string |
| event | string |
{- "target": "string",
- "event": "string"
}{- "id": "string",
- "organizationId": "string",
- "target": "string",
- "event": "string",
- "lastUpdate": 0,
- "created": 0
}Update webhook by id.
| organizationId required | string |
| id required | string |
| target | string |
| event | string |
{- "target": "string",
- "event": "string"
}{- "id": "string",
- "organizationId": "string",
- "target": "string",
- "event": "string",
- "lastUpdate": 0,
- "created": 0
}Search webhooks by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| event | string |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "event": "string",
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "organizationId": "string",
- "target": "string",
- "event": "string",
- "lastUpdate": 0,
- "created": 0
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}Updates the profile of the current user.
string | |
| firstname | string |
| lastname | string |
| imageUrl | string |
| language | string |
| newsletter | boolean |
{- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "language": "string",
- "newsletter": true
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}List organizations.
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "apiKey": "string",
- "contactStory": "string",
- "numInboxes": 0,
- "numMembers": 0,
- "plan": "string",
- "maxInboxes": 0,
- "maxMembers": 0,
- "expires": 0,
- "permission": 0,
- "active": true,
- "cancelled": true,
- "expired": true,
- "managerOrAdmin": true,
- "member": true,
- "manager": true,
- "admin": true,
- "owner": true,
- "trial": true
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}Create a new organization.
| name | string |
| language | string |
| description | string |
| color | integer <int32> |
| contactStory | string |
{- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "contactStory": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "apiKey": "string",
- "contactStory": "string",
- "numInboxes": 0,
- "numMembers": 0,
- "plan": "string",
- "maxInboxes": 0,
- "maxMembers": 0,
- "expires": 0,
- "permission": 0,
- "active": true,
- "cancelled": true,
- "expired": true,
- "managerOrAdmin": true,
- "member": true,
- "manager": true,
- "admin": true,
- "owner": true,
- "trial": true
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "apiKey": "string",
- "contactStory": "string",
- "numInboxes": 0,
- "numMembers": 0,
- "plan": "string",
- "maxInboxes": 0,
- "maxMembers": 0,
- "expires": 0,
- "permission": 0,
- "active": true,
- "cancelled": true,
- "expired": true,
- "managerOrAdmin": true,
- "member": true,
- "manager": true,
- "admin": true,
- "owner": true,
- "trial": true
}Update organization by id.
| id required | string |
| name | string |
| language | string |
| description | string |
| color | integer <int32> |
| contactStory | string |
{- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "contactStory": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "apiKey": "string",
- "contactStory": "string",
- "numInboxes": 0,
- "numMembers": 0,
- "plan": "string",
- "maxInboxes": 0,
- "maxMembers": 0,
- "expires": 0,
- "permission": 0,
- "active": true,
- "cancelled": true,
- "expired": true,
- "managerOrAdmin": true,
- "member": true,
- "manager": true,
- "admin": true,
- "owner": true,
- "trial": true
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "apiKey": "string",
- "contactStory": "string",
- "numInboxes": 0,
- "numMembers": 0,
- "plan": "string",
- "maxInboxes": 0,
- "maxMembers": 0,
- "expires": 0,
- "permission": 0,
- "active": true,
- "cancelled": true,
- "expired": true,
- "managerOrAdmin": true,
- "member": true,
- "manager": true,
- "admin": true,
- "owner": true,
- "trial": true
}Search organizations by given parameters.
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "language": "string",
- "description": "string",
- "color": 0,
- "apiKey": "string",
- "contactStory": "string",
- "numInboxes": 0,
- "numMembers": 0,
- "plan": "string",
- "maxInboxes": 0,
- "maxMembers": 0,
- "expires": 0,
- "permission": 0,
- "active": true,
- "cancelled": true,
- "expired": true,
- "managerOrAdmin": true,
- "member": true,
- "manager": true,
- "admin": true,
- "owner": true,
- "trial": true
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}List contacts.
| organizationId required | string |
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "id": "string",
- "organizationId": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "fieldType": 0,
- "name": "string",
- "key": "string",
- "mask": "string",
- "value": "string",
- "unmasked": "string"
}
], - "displayName": "string",
- "initials": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "senderOnly": true,
- "offset": 0
}
}Create a new contact.
| organizationId required | string |
| firstname | string |
| lastname | string |
| name | string |
string | |
| phone | string |
| imageUrl | string |
| description | string |
Array of objects (ContactFieldValueUpdateDto) | |
| valid | boolean |
{- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "key": "string",
- "value": "string"
}
], - "valid": true
}{- "id": "string",
- "organizationId": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "fieldType": 0,
- "name": "string",
- "key": "string",
- "mask": "string",
- "value": "string",
- "unmasked": "string"
}
], - "displayName": "string",
- "initials": "string"
}Get contact by id.
| organizationId required | string |
| id required | string |
{- "id": "string",
- "organizationId": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "fieldType": 0,
- "name": "string",
- "key": "string",
- "mask": "string",
- "value": "string",
- "unmasked": "string"
}
], - "displayName": "string",
- "initials": "string"
}Update contact by id.
| organizationId required | string |
| id required | string |
| firstname | string |
| lastname | string |
| name | string |
string | |
| phone | string |
| imageUrl | string |
| description | string |
Array of objects (ContactFieldValueUpdateDto) |
{- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "key": "string",
- "value": "string"
}
]
}{- "id": "string",
- "organizationId": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "fieldType": 0,
- "name": "string",
- "key": "string",
- "mask": "string",
- "value": "string",
- "unmasked": "string"
}
], - "displayName": "string",
- "initials": "string"
}Search contacts by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| senderOnly | boolean |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "senderOnly": true,
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "organizationId": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "email": "string",
- "phone": "string",
- "imageUrl": "string",
- "description": "string",
- "fields": [
- {
- "fieldType": 0,
- "name": "string",
- "key": "string",
- "mask": "string",
- "value": "string",
- "unmasked": "string"
}
], - "displayName": "string",
- "initials": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "senderOnly": true,
- "offset": 0
}
}Get message by id.
| organizationId required | string |
| id required | string |
{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "inboxId": "string",
- "conversationId": "string",
- "attachments": [
- {
- "id": "string",
- "name": "string",
- "size": 0,
- "mime": "string",
- "file": "string"
}
], - "subject": "string",
- "messagePlain": "string",
- "messageHtml": "string",
- "translation": "string",
- "outgoing": true,
- "positive": true,
- "opened": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "to": [
- {
- "name": "string",
- "email": "string"
}
], - "cc": [
- {
- "name": "string",
- "email": "string"
}
], - "bcc": [
- {
- "name": "string",
- "email": "string"
}
], - "messageId": "string",
- "inReplyTo": "string",
- "messageReferences": "string"
}Update message by id.
| organizationId required | string |
| id required | string |
| subject | string |
| messagePlain | string |
| messageHtml | string |
| outgoing | boolean |
| positive | boolean |
| opened | integer <int32> |
object (MessageContactDto) | |
Array of objects (MessageContactDto) | |
Array of objects (MessageContactDto) | |
Array of objects (MessageContactDto) | |
| messageId | string |
| inReplyTo | string |
| messageReferences | string |
{- "subject": "string",
- "messagePlain": "string",
- "messageHtml": "string",
- "outgoing": true,
- "positive": true,
- "opened": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "to": [
- {
- "name": "string",
- "email": "string"
}
], - "cc": [
- {
- "name": "string",
- "email": "string"
}
], - "bcc": [
- {
- "name": "string",
- "email": "string"
}
], - "messageId": "string",
- "inReplyTo": "string",
- "messageReferences": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "inboxId": "string",
- "conversationId": "string",
- "attachments": [
- {
- "id": "string",
- "name": "string",
- "size": 0,
- "mime": "string",
- "file": "string"
}
], - "subject": "string",
- "messagePlain": "string",
- "messageHtml": "string",
- "translation": "string",
- "outgoing": true,
- "positive": true,
- "opened": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "to": [
- {
- "name": "string",
- "email": "string"
}
], - "cc": [
- {
- "name": "string",
- "email": "string"
}
], - "bcc": [
- {
- "name": "string",
- "email": "string"
}
], - "messageId": "string",
- "inReplyTo": "string",
- "messageReferences": "string"
}Reply to a message.
| organizationId required | string |
| id required | string |
| subject | string |
| messagePlain | string |
| messageHtml | string |
| language | string |
| translation | string |
| outgoing | boolean |
| positive | boolean |
| opened | integer <int32> |
object (MessageContactDto) | |
Array of objects (MessageContactDto) | |
Array of objects (MessageContactDto) | |
Array of objects (MessageContactDto) | |
Array of objects (MessageAttachmentDto) | |
| messageId | string |
| inReplyTo | string |
| messageReferences | string |
| created | integer <int64> |
| valid | boolean |
{- "subject": "string",
- "messagePlain": "string",
- "messageHtml": "string",
- "language": "string",
- "translation": "string",
- "outgoing": true,
- "positive": true,
- "opened": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "to": [
- {
- "name": "string",
- "email": "string"
}
], - "cc": [
- {
- "name": "string",
- "email": "string"
}
], - "bcc": [
- {
- "name": "string",
- "email": "string"
}
], - "attachments": [
- {
- "id": "string",
- "name": "string",
- "size": 0,
- "mime": "string",
- "file": "string"
}
], - "messageId": "string",
- "inReplyTo": "string",
- "messageReferences": "string",
- "created": 0,
- "valid": true
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "inboxId": "string",
- "conversationId": "string",
- "attachments": [
- {
- "id": "string",
- "name": "string",
- "size": 0,
- "mime": "string",
- "file": "string"
}
], - "subject": "string",
- "messagePlain": "string",
- "messageHtml": "string",
- "translation": "string",
- "outgoing": true,
- "positive": true,
- "opened": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "to": [
- {
- "name": "string",
- "email": "string"
}
], - "cc": [
- {
- "name": "string",
- "email": "string"
}
], - "bcc": [
- {
- "name": "string",
- "email": "string"
}
], - "messageId": "string",
- "inReplyTo": "string",
- "messageReferences": "string"
}Search messages by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| conversationId | string |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "conversationId": "string",
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "inboxId": "string",
- "conversationId": "string",
- "attachments": [
- {
- "id": "string",
- "name": "string",
- "size": 0,
- "mime": "string",
- "file": "string"
}
], - "subject": "string",
- "messagePlain": "string",
- "messageHtml": "string",
- "translation": "string",
- "outgoing": true,
- "positive": true,
- "opened": 0,
- "sender": {
- "name": "string",
- "email": "string"
}, - "to": [
- {
- "name": "string",
- "email": "string"
}
], - "cc": [
- {
- "name": "string",
- "email": "string"
}
], - "bcc": [
- {
- "name": "string",
- "email": "string"
}
], - "messageId": "string",
- "inReplyTo": "string",
- "messageReferences": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "conversationId": "string",
- "offset": 0
}
}List classifications.
| organizationId required | string |
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}Create a new classification.
| organizationId required | string |
| name | string |
| color | integer <int32> |
| aiReply | boolean |
| sentimentAnalysis | boolean |
| autoClose | boolean |
| defaultMemberId | string |
| promptId | string |
| templateId | string |
{- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "promptId": "string",
- "templateId": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}Get classification by id.
| organizationId required | string |
| id required | string |
{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}Update classification by id.
| organizationId required | string |
| id required | string |
| name | string |
| color | integer <int32> |
| aiReply | boolean |
| sentimentAnalysis | boolean |
| autoClose | boolean |
| defaultMemberId | string |
| templateId | string |
| promptId | string |
{- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "templateId": "string",
- "promptId": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}Search classifications by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}List prompts.
| organizationId required | string |
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}Create a new prompt.
| organizationId required | string |
| name | string |
| text | string |
{- "name": "string",
- "text": "string"
}{- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}Update prompt by id.
| organizationId required | string |
| id required | string |
| name | string |
| text | string |
{- "name": "string",
- "text": "string"
}{- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}Search prompts by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}{- "items": [
- {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}List templates.
| organizationId required | string |
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}Create a new template.
| organizationId required | string |
| name | string |
| language | string |
| parentId | string |
| plain | string |
| html | string |
{- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}Get template by id.
| organizationId required | string |
| id required | string |
{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}Update template by id.
| organizationId required | string |
| id required | string |
| name | string |
| language | string |
| parentId | string |
| plain | string |
| html | string |
{- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}Search templates by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| hasParentId | boolean |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "hasParentId": true,
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "offset": 0
}
}List knowledge entries.
| organizationId required | string |
| sort | string |
| order | string |
| page | integer <int32> |
| limit | integer <int32> |
{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string",
- "classification": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "classificationIds": [
- "string"
], - "created": 0,
- "offset": 0
}
}Create a new knowledge entry.
| organizationId required | string |
| classificationId | string |
| positive | boolean |
| prompt | string |
| completion | string |
{- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string",
- "classification": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
}Get knowledge entry by id.
| organizationId required | string |
| id required | string |
{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string",
- "classification": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
}Update knowledge entry by id.
| organizationId required | string |
| id required | string |
| classificationId | string |
| positive | boolean |
| prompt | string |
| completion | string |
{- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string"
}{- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string",
- "classification": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
}Search knowledge entries by given parameters.
| organizationId required | string |
| search | string |
| sort | string |
| order | string |
| count | integer <int32> |
| page | integer <int32> |
| limit | integer <int32> |
| classificationIds | Array of strings |
| created | integer <int64> |
| offset | integer <int32> |
{- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "classificationIds": [
- "string"
], - "created": 0,
- "offset": 0
}{- "items": [
- {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "classificationId": "string",
- "positive": true,
- "prompt": "string",
- "completion": "string",
- "classification": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "color": 0,
- "aiReply": true,
- "sentimentAnalysis": true,
- "autoClose": true,
- "defaultMemberId": "string",
- "defaultMember": {
- "id": "string",
- "organizationId": "string",
- "permission": 0,
- "profile": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "email": "string",
- "firstname": "string",
- "lastname": "string",
- "imageUrl": "string",
- "ipAddress": "string",
- "language": "string",
- "referrer": "string",
- "newsletter": true,
- "displayName": "string",
- "admin": true
}, - "inviteEmail": "string",
- "deleted": true,
- "activated": true,
- "owner": true,
- "member": true,
- "managerOrAdmin": true,
- "manager": true,
- "admin": true
}, - "promptId": "string",
- "prompt": {
- "organizationId": "string",
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "name": "string",
- "text": "string"
}, - "templateId": "string",
- "template": {
- "id": "string",
- "lastUpdate": 0,
- "created": 0,
- "organizationId": "string",
- "name": "string",
- "language": "string",
- "parentId": "string",
- "plain": "string",
- "html": "string"
}
}
}
], - "params": {
- "search": "string",
- "sort": "string",
- "order": "string",
- "count": 0,
- "page": 0,
- "limit": 0,
- "classificationIds": [
- "string"
], - "created": 0,
- "offset": 0
}
}