Skip to main content
POST
/
projects
/
{project_id}
/
clients
Create Client for a Project
curl --request POST \
  --url https://app.usequeue.com/api/v1/projects/{project_id}/clients \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Client Inc.",
  "email": "[email protected]",
  "company": "Acme Corp",
  "avatar": "https://ui-avatars.com/api/?name=C"
}
'
{
  "success": true,
  "client": {
    "id": "abc123",
    "username": "Client Inc.",
    "email": "[email protected]"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Body

application/json
name
string
required
Example:

"Client Inc."

email
string
required
company
string
Example:

"Acme Corp"

avatar
string
Example:

"https://ui-avatars.com/api/?name=C"

Response

200 - application/json

Client created

success
boolean
Example:

true

client
object