Skip to main content
POST
Create a team

Authorizations

x-conveyour-token
string
header
required

Your API key token. Contacts endpoints require a Server-only — Full API key — see Authentication.

Query Parameters

teams[]
string[]

Team scope for the request, as one or more team ObjectIds. The brackets are required: PHP keeps only the last value for a repeated plain key, so teams=A&teams=B silently resolves to B alone. On requests with a JSON body you may send teams (no brackets) in the body instead.

Values that are not valid ObjectIds are silently ignored — a mistyped team ID behaves as if no team was sent. See the teams section of the API conventions guide.

Body

application/json
label
string
required

Human-readable team name. Must be unique within the org.

name
string
required

Machine name for the team. Must be unique within the org and use tag format (no spaces).

filters
object

Contact filter definition that restricts which contacts are visible to team members.

contact_fields
string[]

List of contact fields shown for team contacts. Each entry references a contact field.

color
string

Display color for the team.

sms_autoreply
string

SMS auto-reply message for the team.

block_sms
boolean

When true, blocks SMS for the team.

portal_new_conversation
boolean

Allow team members to start new conversations from the portal.

contact_desc
string

Liquid template producing a short summary description for each team contact.

sendblue_number
string

SendBlue phone number used for team SMS routing.

Response

Success.

The common response envelope shared by all ConveYour endpoints.

status
enum<string>

ok on success, failed on error.

Available options:
ok,
failed
message
string

Human-readable description of the result.

data
object

A team. Fields are.