API ReferenceParticipants
Create Participant
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
type*unknown
Value in
"human" | "system"name*string
displayName?string|null
avatar?string|null
channelIdentities?
humanProfile?
capabilities?array<string>
tags?array<string>
engagement?||
accessLevel?unknown
Value in
"public" | "authenticated" | "vip" | "internal"accessConfig?
preferences?
status?unknown
Value in
"active" | "paused" | "blocked" | "archived"statusReason?string|null
externalId?string|null
metadata?|null
createdBy?string|null
lastModifiedBy?string|null
Response Body
application/json
curl -X POST "https://samva.app/api/v1/participants" \ -H "Content-Type: application/json" \ -d '{ "type": "human", "name": "string" }'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"type": "human",
"name": "string",
"displayName": "string",
"avatar": "string",
"channelIdentities": "string",
"humanProfile": "string",
"capabilities": [
"string"
],
"tags": [
"string"
],
"engagement": "string",
"accessLevel": "public",
"accessConfig": "string",
"preferences": "string",
"status": "active",
"statusReason": "string",
"externalId": "string",
"metadata": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
"lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1"
}