OpenAssistantAPI

User API

Assistants

AI assistant configuration and management

GET/users/{userId}/assistant

Get assistant for a specific user

Path parameters

userId reqstring

Responses

200User assistant
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistant' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
POST/users/{userId}/assistant

Create a user-scoped assistant

Path parameters

userId reqstring

Request body

name reqstring
emailstring
avatarstring
signaturestring | null
signatureEditorModeenumvisualhtml
personalitystring
backstorystring | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
writingStyleobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
metadataobject
voiceobject | null
voiceIdstring | null
providerstring

Responses

201Created
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistant' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string"
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
PUT/users/{userId}/assistant

Update a user's assistant

Path parameters

userId reqstring

Request body

namestring
emailstring
personalitystring
signaturestring | null
signatureEditorModeenumvisualhtml
writingStyleobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
avatarstring | null
appearanceDescriptionstring
taglinestring | null
backstorystring | null
displayPersonalitystring | null
roleDefaultsobject
titlestring | null
responsibilitiesstring | null
allowTitleOverrideboolean
allowResponsibilitiesOverrideboolean
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
statusenumactiveinactive
metadataobject
talkToStrangersboolean
emailSenderAuthenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
scopeenumaccountorganizationteamuser
organizationstring | null
teamstring | null
inboxPlatformenumsesgoogleoutlooknull
voiceobject | null
voiceIdstring | null
providerstring
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
metaCredentialsobject
accessTokenstring | null

Responses

200Updated
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistant' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "email": "[email protected]",
  "personality": "string",
  "signature": "string"
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
DELETE/users/{userId}/assistant

Delete a user's assistant

Path parameters

userId reqstring

Responses

200Deleted
ok reqenumtrue
assistant reqobject
id reqstring
deletedboolean
messagestring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistant' \
  -X DELETE \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistant": {
    "id": "string"
  }
}
GET/assistants

List assistants visible to current user

For a signed-in user the list always includes their own primary assistant. Each assistant carries `slack`, the requesting user's Slack status for it (see AssistantSlackStatus), and `title`, the title it holds for them. `slackConfigured=true` narrows the list to assistants the user can connect to Slack now (`slack.configured`) — the Slack connection picker.

Query parameters

emailstring
slackConfiguredstringOnly assistants with `slack.configured` for the requesting user. Requires a signed-in user (403 `user_required` otherwise). Still limited to assistants the user can see.
principalIdstringList the assistants visible to this principal (one the caller coordinates through an ACTIVE delegation), as the principal would see them: the list for choosing the principal's assistant (PATCH /users/{userId}/assistant). Read only. Any other id is 404 `principal_not_found`.

Responses

200Assistants list
ok reqenumtrue
assistants reqany[]
pageinteger
perPageinteger
totalinteger
400slackConfigured is not 'true' (`invalid_slack_configured`)
status reqinteger
error_codestring
error reqstring
403slackConfigured without a signed-in user
status reqinteger
error_codestring
error reqstring
404principalId is not a principal the caller coordinates through an active delegation (`principal_not_found`)
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistants": [
    {
      "id": "string",
      "account": "string",
      "organization": "string",
      "team": "string",
      "user": "string",
      "member": "string",
      "title": "string",
      "slack": {
        "configured": null,
        "connected": null,
        "apps": null,
        "workspaces": null
      }
    }
  ]
}
POST/assistants

Create an assistant

Request body

name reqstring
email reqstring
scopeenumaccountorganizationteamuser
organizationstring | null
teamstring | null
personalitystring
signaturestring | null
signatureEditorModeenumvisualhtml
writingStyleobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
avatarstring | null
appearanceDescriptionstring
taglinestring | null
backstorystring | null
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
metadataobject
talkToStrangersboolean
emailSenderAuthenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
voiceobject | null
voiceIdstring | null
providerstring

Responses

201Created assistant
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring
400Bad request
status reqinteger
error_codestring
error reqstring
403Not allowed: a signed-in member whose company's admin turned off creating assistants (assistant_creation_locked), or a scope the caller may not create at
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "email": "[email protected]"
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
GET/assistants/{assistantId}

Get a specific assistant

Carries `slack`, the requesting user's Slack status for this assistant (see AssistantSlackStatus).

Path parameters

assistantId reqstring

Responses

200Assistant
ok reqenumtrue
assistant reqobject
idstring
accountstring
organizationstring | null
teamstring | null
userstring | null
memberstring | null
scopeenumaccountorganizationteamuser
namestring
emailstring
avatarUrlstring | null
signaturestring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyleobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voiceobject | null
voiceIdstring | null
providerstring
statusenumactiveinactive
isSystemTemplateboolean
talkToStrangersboolean
emailSenderAuthenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtimeenumnativeexternal
agntAddressstring | null
agentProductstring | null
metadataobject
inboxPlatformenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAtstring
updatedAtstring
404Not found
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string",
    "title": "string",
    "slack": {
      "configured": true,
      "connected": true,
      "apps": [
        null
      ],
      "workspaces": [
        null
      ]
    }
  }
}
PUT/assistants/{assistantId}

Update an assistant

Path parameters

assistantId reqstring

Request body

namestring
emailstring
personalitystring
signaturestring | null
signatureEditorModeenumvisualhtml
writingStyleobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
avatarstring | null
appearanceDescriptionstring
taglinestring | null
backstorystring | null
displayPersonalitystring | null
roleDefaultsobject
titlestring | null
responsibilitiesstring | null
allowTitleOverrideboolean
allowResponsibilitiesOverrideboolean
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
statusenumactiveinactive
metadataobject
talkToStrangersboolean
emailSenderAuthenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
scopeenumaccountorganizationteamuser
organizationstring | null
teamstring | null
inboxPlatformenumsesgoogleoutlooknull
voiceobject | null
voiceIdstring | null
providerstring
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
metaCredentialsobject
accessTokenstring | null

Responses

200Updated assistant
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "email": "[email protected]",
  "personality": "string",
  "signature": "string"
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
PATCH/assistants/{assistantId}

Make your assistant private, or share her with your company

The Private switch on a custom assistant, for her creator only. `private: true`: only you have her. `private: false`: your company has her (your organization, else your team). No admin role or plan is needed. Idempotent.

Path parameters

assistantId reqstring

Request body

private reqbooleantrue: only you have her (scope user). false: your company has her (your organization, else your team)

Responses

200The assistant as she is now
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring
400The body failed validation; a ready-made assistant (assistant_not_custom); or you are in no team or organization to share her with (no_company)
status reqinteger
error_codestring
error reqstring
403Not signed in as a user (user_required), or someone else created her (not_assistant_creator)
status reqinteger
error_codestring
error reqstring
404Not an assistant you can see (assistant_not_found)
status reqinteger
error_codestring
error reqstring
409Making her private while someone else has her as their primary (primary_in_use, with `count`)
status reqinteger
error_codestring
error reqstring
count reqintegerHow many people have her as their primary assistant (in your company; for Private, anyone but you)

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>' \
  -X PATCH \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "private": true
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
DELETE/assistants/{assistantId}

Delete an assistant

Path parameters

assistantId reqstring

Responses

200Deleted
ok reqenumtrue
assistant reqobject
id reqstring
deletedboolean
messagestring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>' \
  -X DELETE \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistant": {
    "id": "string"
  }
}
GET/assistants/all

List all assistants visible to authenticated user

Responses

200All visible assistants
ok reqenumtrue
assistants reqobject[]
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring
pageinteger
perPageinteger
totalinteger

Request

curl 'https://app.openassistant.us/api/assistants/all' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistants": [
    {
      "id": "string",
      "account": "string",
      "organization": "string",
      "team": "string",
      "user": "string",
      "member": "string"
    }
  ]
}
GET/assistants/generate

Generate name and email suggestions

Query parameters

namestring

Responses

200Generated suggestions
name reqstring
emails reqstring[]

Request

curl 'https://app.openassistant.us/api/assistants/generate' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "name": "string",
  "emails": [
    "[email protected]"
  ]
}
POST/users/{userId}/hire

Hire (assign) an assistant to a user

Path parameters

userId reqstring

Request body

assistantId reqstring | null

Responses

200Updated user
ok reqenumtrue
userany

Request

curl 'https://app.openassistant.us/api/users/<userId>/hire' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "assistantId": "string"
}'

Response

{
  "ok": true
}
GET/users/{userId}/assistants

List a user's assistant roster

Path parameters

userId reqstring

Responses

200Roster
ok reqenumtrue
assistants reqany[]
primaryAssistantId reqstring | null

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistants' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistants": [
    {
      "id": "string",
      "account": "string",
      "organization": "string",
      "team": "string",
      "user": "string",
      "member": "string",
      "isPrimary": true
    }
  ],
  "primaryAssistantId": "string"
}
POST/users/{userId}/assistants

Create a custom assistant and hire it onto the roster (idempotent on name)

Created by the user themself, she is on their company (their organization, else their team) unless `private` is true. A signed-in member is refused 403 `assistant_creation_locked` while their company's admin has turned off "members can create assistants" (admins always can).

Path parameters

userId reqstring

Request body

name reqstring
emailstring
avatarstring
signaturestring | null
signatureEditorModeenumvisualhtml
personalitystring
backstorystring | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
writingStyleobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
metadataobject
voiceobject | null
voiceIdstring | null
providerstring
privatebooleantrue: only you have her. Absent or false (you creating her for yourself): your company has her, your organization, else your team (a user in neither keeps her to themself). Another caller (the console, an account-wide key) creates her private unless this is false

Responses

200Already existed (idempotent) — returned unchanged
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring
201Created and hired
ok reqenumtrue
assistant reqobject
id reqstring
account reqstring
organization reqstring | null
team reqstring | null
user reqstring | null
member reqstring | null
scope reqenumaccountorganizationteamuser
name reqstring
email reqstring
avatarUrl reqstring | null
signature reqstring | null
signatureEditorModeenumvisualhtml
personalitystring
taglinestring | null
backstorystring | null
rolestring | null
roleDefaultsobject
title reqstring | null
responsibilities reqstring | null
allowTitleOverride reqboolean
allowResponsibilitiesOverride reqboolean
displayPersonalitystring | null
tag1string | null
tag2string | null
genderenummalefemaleothernull
pronounsstring | null
countrystring | null
signaturePhrasesstring[]
writingStyle reqobject
professionalismnumber
humornumber
emojiUsenumber
characterInspirationstring
externalCommunicationstring
oneOnOneCommunicationstring
voice reqobject | null
voiceIdstring | null
providerstring
status reqenumactiveinactive
isSystemTemplate reqboolean
talkToStrangers reqboolean
emailSenderAuth reqenumWhat counts as a failing inbound email for this assistant (recorded as a spoof, with no run). standard (the default): only an explicit failure (DMARC fail, or SPF and DKIM both fail); an email where nothing passed and nothing failed runs with its sender unverified. strict: any email without a DMARC pass or an SPF / DKIM pass aligned with its From domain. An email with no verdict at all runs with its sender unverified under both. This applies only where the sender check is enforced: for an assistant on an enterprise team or in an organization with a claimed (verified) domain. For every other assistant the check is bypassed: nothing is recorded as a spoof and no sender is unverified, whatever this setting says.standardstrict
runtime reqenumnativeexternal
agntAddress reqstring | null
agentProduct reqstring | null
metadataobject
inboxPlatform reqenumsesgoogleoutlooknull
inboxAuthErrorboolean
channelsobject
imessagestring | null
smsstring | null
smsProviderenumtwiliosendblue
smsConversationsRegisteredAtstring | null
smsLineobject
phoneNumberstring | null
twilioSidstring | null
statusenumnoneprovisioningpending_a2pactivefailed
a2pCampaignSidstring | null
registeredAtstring | null
provisionedAtstring | null
messagingServiceSidstring | null
a2pWithheldAtstring | null
whatsappstring | null
whatsappProviderenumtwiliometa
whatsappPhoneNumberIdstring | null
whatsappSendblueobject
enabledboolean
numberstring | null
phoneNumberIdstring | null
whatsappTwilioobject
enabledboolean
numberstring | null
voiceobject
twilioNativeSidstring | null
twilioNativePhoneNumberstring | null
vapiPhoneNumberIdstring | null
transportProviderenumvapinative-live
statusenumnoneprovisioningpending_a2pactivefailed
provisionedAtstring | null
recordingDisclosureboolean
appearanceDescriptionstring
tagsobject
deletedAtstring | null
retiredEmailstring | null
emailReleasedAtstring | null
createdAt reqstring
updatedAt reqstring
403Members may not create assistants in your company (assistant_creation_locked), or another user's roster
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistants' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "private": true
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string"
  }
}
POST/users/{userId}/assistants/{assistantId}/hire

Hire an existing visible assistant onto the roster

Path parameters

userId reqstring
assistantId reqstring

Responses

200Updated user
ok reqenumtrue
userany
403Assistant not visible to this user
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistants/<assistantId>/hire' \
  -X POST \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true
}
POST/users/{userId}/assistants/{assistantId}/primary

Set the user's primary assistant (must be a roster member)

Path parameters

userId reqstring
assistantId reqstring

Responses

200Updated user
ok reqenumtrue
userany
400Assistant not on roster
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistants/<assistantId>/primary' \
  -X POST \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true
}
DELETE/users/{userId}/assistants/{assistantId}

Release an assistant from the roster

Blocked (409) while primary. If the assistant owns non-terminal tasks, blocked (409) unless ?transfer=primary is passed to move that work to the primary. Releasing a user-scoped assistant tombstones its email and retires it.

Path parameters

userId reqstring
assistantId reqstring

Query parameters

transferstring

Responses

200Released — updated user
ok reqenumtrue
userany
409Blocked — is primary, or has pending work
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/users/<userId>/assistants/<assistantId>' \
  -X DELETE \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true
}
GET/assistants/{assistantId}/voice-greetings

Get an assistant's stored voice greeting lines

Owner of the assistant (portal) or console / account-wide credentials for account-level and system assistants. Any other portal user who has the assistant (it is visible to them, or is their primary) can read the lines too, with `canEdit` false. When the assistant has no lines yet and the caller may edit it, generation is started in the background and `generating` is true: read again shortly. A read-only caller never starts generation.

Path parameters

assistantId reqstring

Responses

200Voice greetings
ok reqenumtrue
voiceGreetings reqobject
inbound reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
outbound reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
textIntro reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
textIntroNamed reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
generatedAt reqstring | null
generating reqboolean
canEdit reqboolean
appliedboolean
reasonenumconcurrent_write
limits reqobject
minLines reqnumber
maxLines reqnumber
minChars reqnumber
maxChars reqnumber
maxSentences reqnumber
outboundPlaceholder reqstring
rules reqstring[]
generatedOnlyRules reqstring[]
403Neither the assistant's owner nor a user who has it
status reqinteger
error_codestring
error reqstring
404Not found
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/voice-greetings' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "voiceGreetings": {
    "inbound": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "outbound": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "textIntro": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "textIntroNamed": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "generatedAt": "2025-01-15T10:30:00.000Z",
    "generating": true
  }
}
PUT/assistants/{assistantId}/voice-greetings

Edit an assistant's stored voice greeting lines

Saved lists are marked source "owner" and are never overwritten by generation. Outbound templates need exactly one {firstName}; inbound lines must have none. Never starts generation: after clearing a list ([]), the next GET starts it (at most once per 10 minutes per assistant).

Path parameters

assistantId reqstring

Request body

inboundstring[]
outboundstring[]
textIntrostring[]
textIntroNamedstring[]

Responses

200Updated voice greetings
ok reqenumtrue
voiceGreetings reqobject
inbound reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
outbound reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
textIntro reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
textIntroNamed reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
generatedAt reqstring | null
generating reqboolean
canEdit reqboolean
appliedboolean
reasonenumconcurrent_write
limits reqobject
minLines reqnumber
maxLines reqnumber
minChars reqnumber
maxChars reqnumber
maxSentences reqnumber
outboundPlaceholder reqstring
rules reqstring[]
generatedOnlyRules reqstring[]
400A line or list failed validation (error_code invalid_voice_greetings; body.details = {list, index?, reason})
status reqinteger
error_codestring
error reqstring
403Not the assistant's owner
status reqinteger
error_codestring
error reqstring
404Not found
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/voice-greetings' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "inbound": [
    "string"
  ],
  "outbound": [
    "string"
  ],
  "textIntro": [
    "string"
  ],
  "textIntroNamed": [
    "string"
  ]
}'

Response

{
  "ok": true,
  "voiceGreetings": {
    "inbound": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "outbound": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "textIntro": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "textIntroNamed": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "generatedAt": "2025-01-15T10:30:00.000Z",
    "generating": true
  }
}
POST/assistants/{assistantId}/voice-greetings/regenerate

Regenerate an assistant's voice greeting lines from its personality

Synchronous. Owner-written lists are kept unless replaceOwnerEdits is true, and never one saved after the request began. Rate limited per assistant (5 per hour). The response carries applied (false with reason concurrent_write when nothing was written because a concurrent write won).

Path parameters

assistantId reqstring

Request body

scopeenumbothinboundoutboundtexttextIntrotextIntroNamedall
replaceOwnerEditsboolean

Responses

200Voice greetings after regeneration
ok reqenumtrue
voiceGreetings reqobject
inbound reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
outbound reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
textIntro reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
textIntroNamed reqobject
lines reqstring[]
source reqenumgeneratedownernull
updatedAt reqstring | null
generatedAt reqstring | null
generating reqboolean
canEdit reqboolean
appliedboolean
reasonenumconcurrent_write
limits reqobject
minLines reqnumber
maxLines reqnumber
minChars reqnumber
maxChars reqnumber
maxSentences reqnumber
outboundPlaceholder reqstring
rules reqstring[]
generatedOnlyRules reqstring[]
403Not the assistant's owner
status reqinteger
error_codestring
error reqstring
404Not found
status reqinteger
error_codestring
error reqstring
409Generation already running (generation_in_progress), or every requested list is owner-written (owner_edited)
status reqinteger
error_codestring
error reqstring
429Too many regenerations for this assistant (body.retryAfterSeconds, Retry-After header)
status reqinteger
error_codestring
error reqstring
502The model could not produce valid lines (greeting_generation_failed)
status reqinteger
error_codestring
error reqstring
503The rate limiter is unavailable (rate_limit_unavailable); nothing was generated
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/voice-greetings/regenerate' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "scope": "both",
  "replaceOwnerEdits": true
}'

Response

{
  "ok": true,
  "voiceGreetings": {
    "inbound": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "outbound": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "textIntro": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "textIntroNamed": {
      "lines": [
        "string"
      ],
      "source": "generated",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    },
    "generatedAt": "2025-01-15T10:30:00.000Z",
    "generating": true
  }
}
GET/assistants/{assistantId}/my-signature

Get your own signature for a system assistant

The signature your emails from this system assistant are signed with: yours when set, else the assistant's.

Path parameters

assistantId reqstring

Responses

200Your signature
ok reqenumtrue
mySignature reqobject
assistantId reqstring
signature reqstring
signatureEditorMode reqenumvisualhtml
isCustom reqboolean
defaultSignature reqstring
defaultSignatureEditorMode reqenumvisualhtml
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring
409Not a system assistant (not_system_assistant): edit its signature with PUT /assistants/{assistantId}
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/my-signature' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "mySignature": {
    "assistantId": "string",
    "signature": "string",
    "signatureEditorMode": "visual",
    "isCustom": true,
    "defaultSignature": "string",
    "defaultSignatureEditorMode": "visual"
  }
}
PUT/assistants/{assistantId}/my-signature

Set your own signature for a system assistant

Only you see and use it. The assistant's shared signature is unchanged.

Path parameters

assistantId reqstring

Request body

signature reqstring
signatureEditorModeenumvisualhtml

Responses

200Your signature
ok reqenumtrue
mySignature reqobject
assistantId reqstring
signature reqstring
signatureEditorMode reqenumvisualhtml
isCustom reqboolean
defaultSignature reqstring
defaultSignatureEditorMode reqenumvisualhtml
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring
409Not a system assistant (not_system_assistant): edit its signature with PUT /assistants/{assistantId}
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/my-signature' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "signature": "string"
}'

Response

{
  "ok": true,
  "mySignature": {
    "assistantId": "string",
    "signature": "string",
    "signatureEditorMode": "visual",
    "isCustom": true,
    "defaultSignature": "string",
    "defaultSignatureEditorMode": "visual"
  }
}
DELETE/assistants/{assistantId}/my-signature

Remove your own signature for a system assistant

Your emails from this assistant go back to the assistant's signature.

Path parameters

assistantId reqstring

Responses

200Your signature (now the assistant's)
ok reqenumtrue
mySignature reqobject
assistantId reqstring
signature reqstring
signatureEditorMode reqenumvisualhtml
isCustom reqboolean
defaultSignature reqstring
defaultSignatureEditorMode reqenumvisualhtml
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring
409Not a system assistant (not_system_assistant): edit its signature with PUT /assistants/{assistantId}
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/my-signature' \
  -X DELETE \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "mySignature": {
    "assistantId": "string",
    "signature": "string",
    "signatureEditorMode": "visual",
    "isCustom": true,
    "defaultSignature": "string",
    "defaultSignatureEditorMode": "visual"
  }
}
GET/assistants/catalog

List the ready-made assistants your company can hire

Every active ready-made assistant of the app, each with `slack` (as on GET /assistants) and `onCompany` (placed on your company). `permissions` says what you may do with them. Whether another company of the app hired one is never returned.

Responses

200The catalog
ok reqenumtrue
assistants reqany[]
permissions reqobject
canManageShared reqbooleanYou may add ready-made assistants to your company and remove them: your company's "members can manage shared assistants" switch, always true for an admin
canCreate reqbooleanYou may create your own assistants: your company's "members can create assistants" switch, always true for an admin
isAdmin reqbooleanYou are an admin of your company: of your organization, or of your team when you have no organization (a team of one counts); a user in neither is their own
403Not signed in as a user (user_required)
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/catalog' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistants": [
    {
      "title": null,
      "slack": null,
      "onCompany": true
    }
  ],
  "permissions": {
    "canManageShared": true,
    "canCreate": true,
    "isAdmin": true
  }
}
POST/assistants/{assistantId}/placement

Add a ready-made assistant to your company

Places her on your company (your organization, else your team, else you alone). Idempotent: 200 when she is already on it. An optional `title` is written like the onboarding title.

Path parameters

assistantId reqstring

Request body

titlestring | null

Responses

200She is on your company
ok reqenumtrue
assistant reqobject
onCompanybooleanShe is placed on your company (your organization, else your team, else you alone)
placed reqbooleanThis call added her to your company (false: she was already on it)
title reqstring | nullHer title in your company now (the app's locked or default title, else your organization's or team's); null when none
400The body failed validation, or the title is too long
status reqinteger
error_codestring
error reqstring
403Not signed in as a user (user_required), or your company's admin lets only admins add and remove assistants (assistant_management_locked)
status reqinteger
error_codestring
error reqstring
404Not a ready-made assistant of this app (assistant_not_found)
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/placement' \
  -X POST \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "string"
}'

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string",
    "title": "string",
    "slack": {
      "configured": null,
      "connected": null,
      "apps": null,
      "workspaces": null
    },
    "onCompany": true
  },
  "placed": true,
  "title": "string"
}
DELETE/assistants/{assistantId}/placement

Remove a ready-made assistant from your company

Takes her off your company. Refused with 409 primary_in_use while anyone in your company has her as their primary assistant: they pick another first. Idempotent: 200 when she was not on it.

Path parameters

assistantId reqstring

Responses

200She is off your company
ok reqenumtrue
assistant reqobject
onCompanybooleanShe is placed on your company (your organization, else your team, else you alone)
removed reqbooleanThis call took her off your company (false: she was not on it)
403Not signed in as a user (user_required), or your company's admin lets only admins add and remove assistants (assistant_management_locked)
status reqinteger
error_codestring
error reqstring
404Not a ready-made assistant of this app (assistant_not_found)
status reqinteger
error_codestring
error reqstring
409Someone in your company has her as their primary (primary_in_use)
status reqinteger
error_codestring
error reqstring
count reqintegerHow many people have her as their primary assistant (in your company; for Private, anyone but you)

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/placement' \
  -X DELETE \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "assistant": {
    "id": "string",
    "account": "string",
    "organization": "string",
    "team": "string",
    "user": "string",
    "member": "string",
    "title": "string",
    "slack": {
      "configured": null,
      "connected": null,
      "apps": null,
      "workspaces": null
    },
    "onCompany": true
  },
  "removed": true
}
GET/assistants/{assistantId}/role

Get an assistant's designation

The assistant's one title and one role and responsibilities text for your organization (your team when you have no organization; a custom assistant's own), with the app's defaults, which fields the app locked, the organization's own values, and whether you may change them (canEdit).

Path parameters

assistantId reqstring

Responses

200The assistant's designation
ok reqenumtrue
role reqobject
assistantId reqstring
title reqstring | null
responsibilities reqstring
defaults reqobject
title reqstring | null
responsibilities reqstring | null
locked reqobject
title reqboolean
responsibilities reqboolean
own reqobject
title reqstring | null
responsibilities reqstring | null
scope reqenumorganizationteamusernull
canEdit reqboolean
titleMaxLength reqinteger
responsibilitiesMaxLength reqinteger
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/role' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "role": {
    "assistantId": "string",
    "title": "string",
    "responsibilities": "string",
    "defaults": {
      "title": "string",
      "responsibilities": "string"
    },
    "locked": {
      "title": true,
      "responsibilities": true
    },
    "own": {
      "title": "string",
      "responsibilities": "string"
    }
  }
}
PUT/assistants/{assistantId}/role

Set an assistant's designation

Sets the title, the role and responsibilities, or both, for everyone in your organization (your team when you have no organization; a custom assistant's own). Only an admin of that organization or team may, or the author of an unshared custom assistant. A field the app locked can't be changed. The assistant reads them in its owner-facing runs only.

Path parameters

assistantId reqstring

Request body

titlestring | null
responsibilitiesstring | null

Responses

200The assistant's designation
ok reqenumtrue
role reqobject
assistantId reqstring
title reqstring | null
responsibilities reqstring
defaults reqobject
title reqstring | null
responsibilities reqstring | null
locked reqobject
title reqboolean
responsibilities reqboolean
own reqobject
title reqstring | null
responsibilities reqstring | null
scope reqenumorganizationteamusernull
canEdit reqboolean
titleMaxLength reqinteger
responsibilitiesMaxLength reqinteger
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
403You may not change this assistant's designation (not an admin, or not the author)
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring
409The app set this field and does not allow changing it (role_locked)
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/role' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "title": "string",
  "responsibilities": "string"
}'

Response

{
  "ok": true,
  "role": {
    "assistantId": "string",
    "title": "string",
    "responsibilities": "string",
    "defaults": {
      "title": "string",
      "responsibilities": "string"
    },
    "locked": {
      "title": true,
      "responsibilities": true
    },
    "own": {
      "title": "string",
      "responsibilities": "string"
    }
  }
}
GET/assistants/{assistantId}/my-role

Get an assistant's designation (read-only alias)

Deprecated alias of GET /assistants/{assistantId}/role: the same view, under `myRole`. There is no per-user role any more.

Path parameters

assistantId reqstring

Responses

200The assistant's designation
ok reqenumtrue
myRole reqobject
assistantId reqstring
title reqstring | null
responsibilities reqstring
defaults reqobject
title reqstring | null
responsibilities reqstring | null
locked reqobject
title reqboolean
responsibilities reqboolean
own reqobject
title reqstring | null
responsibilities reqstring | null
scope reqenumorganizationteamusernull
canEdit reqboolean
titleMaxLength reqinteger
responsibilitiesMaxLength reqinteger
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/my-role' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "myRole": {
    "assistantId": "string",
    "title": "string",
    "responsibilities": "string",
    "defaults": {
      "title": "string",
      "responsibilities": "string"
    },
    "locked": {
      "title": true,
      "responsibilities": true
    },
    "own": {
      "title": "string",
      "responsibilities": "string"
    }
  }
}
PUT/assistants/{assistantId}/my-role

Removed: set your own role for an assistant

Always 410 my_role_removed: there is no per-user role any more. Use PUT /assistants/{assistantId}/role.

Path parameters

assistantId reqstring

Responses

410Removed (my_role_removed)
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/my-role' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..."
GET/assistants/{assistantId}/inbound-settings

Get your inbound settings for an assistant

What you told this assistant to do when someone contacts it cold, per channel (text, phone, email). Only you see it.

Path parameters

assistantId reqstring

Responses

200Your inbound settings
ok reqenumtrue
inboundSettings reqobject
assistantId reqstring
text reqstring
phone reqstring
email reqstring
maxLength reqinteger
talksToStrangers reqboolean
updatedAt reqstring | null
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/inbound-settings' \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "inboundSettings": {
    "assistantId": "string",
    "text": "string",
    "phone": "string",
    "email": "string",
    "maxLength": 0,
    "talksToStrangers": true
  }
}
PUT/assistants/{assistantId}/inbound-settings

Set your inbound settings for an assistant

Send the channels to change. A text sets it, an empty string or null clears it, a channel you leave out is unchanged. The instruction is context for the assistant: it grants no new ability and does not change your autonomy settings. Used for people the assistant does not know only when the assistant talks to strangers.

Path parameters

assistantId reqstring

Request body

textstring | null
phonestring | null
emailstring | null

Responses

200Your inbound settings
ok reqenumtrue
inboundSettings reqobject
assistantId reqstring
text reqstring
phone reqstring
email reqstring
maxLength reqinteger
talksToStrangers reqboolean
updatedAt reqstring | null
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/inbound-settings' \
  -X PUT \
  -H "Authorization: Bearer ak_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "text": "string",
  "phone": "string",
  "email": "string"
}'

Response

{
  "ok": true,
  "inboundSettings": {
    "assistantId": "string",
    "text": "string",
    "phone": "string",
    "email": "string",
    "maxLength": 0,
    "talksToStrangers": true
  }
}
DELETE/assistants/{assistantId}/inbound-settings

Clear your inbound settings for an assistant

Removes your instruction on every channel for this assistant.

Path parameters

assistantId reqstring

Responses

200Your inbound settings (now empty)
ok reqenumtrue
inboundSettings reqobject
assistantId reqstring
text reqstring
phone reqstring
email reqstring
maxLength reqinteger
talksToStrangers reqboolean
updatedAt reqstring | null
400Not signed in as a user, or the body failed validation
status reqinteger
error_codestring
error reqstring
404Not found, or not one of your assistants
status reqinteger
error_codestring
error reqstring

Request

curl 'https://app.openassistant.us/api/assistants/<assistantId>/inbound-settings' \
  -X DELETE \
  -H "Authorization: Bearer ak_live_..."

Response

{
  "ok": true,
  "inboundSettings": {
    "assistantId": "string",
    "text": "string",
    "phone": "string",
    "email": "string",
    "maxLength": 0,
    "talksToStrangers": true
  }
}