Skip to main content
POST
/
users
/
agents
Create users agent
curl --request POST \
  --url https://api.zapthinker.com/users/agents \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "name": "Joao Pedro",
  "email": "joao@example.com",
  "password": "securepassword",
  "userPermissions": [
    {
      "instanceId": "54645da3-f691-405f-9131-454095230de2",
      "permissionLevel": "WEBCHAT | FULL",
      "instance": {
        "name": "name of the instance"
      }
    }
  ]
}
'
{
  "id": "cmncj531q000ipf01avoml8yh",
  "name": "Joao Pedro",
  "email": "joao@example.com"
}

Documentation Index

Fetch the complete documentation index at: https://docs.zapthinker.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Your authorization key header

Body

application/json
name
string
email
string
password
string
userPermissions
object[]

Response

201 - application/json

Created

id
string
name
string
email
string