ReferenceApps

Create app service accounts

Create service accounts for an app and its agents

POST
/apps/service-accounts
AuthorizationBearer <token>

Bearer token authentication. Use your API key as the bearer token.

In: header

Create app service accounts input

appIdstring

AppID is the unique identifier of the app for which to create service accounts. This app must belong to the requesting organization and space.

Response Body

curl -X POST "https://eu1.api.bivariant.com/v1/apps/service-accounts" \  -H "Content-Type: application/json" \  -d '{    "appId": "string"  }'
[
  {
    "Metadata": [
      0
    ],
    "agentIdentifier": "string",
    "app": [
      null
    ],
    "appUid": "string",
    "bvIdentityId": "string",
    "channels": [
      null
    ],
    "connections": [
      null
    ],
    "conversationMemberships": [
      null
    ],
    "conversations": [
      null
    ],
    "createdAt": "string",
    "createdConnections": [
      null
    ],
    "createdForms": [
      null
    ],
    "events": [
      null
    ],
    "firstName": "string",
    "groupMemberships": [
      null
    ],
    "id": "string",
    "identities": [
      null
    ],
    "inboxMemberships": [
      null
    ],
    "isGuestAccount": true,
    "isService": true,
    "jobs": [
      null
    ],
    "lastName": "string",
    "logs": [
      null
    ],
    "memberships": [
      null
    ],
    "name": "string",
    "notifications": [
      null
    ],
    "ownInboxes": [
      null
    ],
    "posts": [
      null
    ],
    "preferences": [
      null
    ],
    "profilePictureAssetId": "string",
    "responses": [
      null
    ],
    "reviews": [
      null
    ],
    "rooms": [
      null
    ],
    "searchIndexes": [
      null
    ],
    "secrets": [
      null
    ],
    "status": null,
    "tasks": [
      null
    ],
    "textTemplates": [
      null
    ],
    "updatedAt": "string",
    "updatedConnections": [
      null
    ],
    "updatedForms": [
      null
    ]
  }
]
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}