Skip to main content
POST
/
api
/
v1
/
contacts
Create or update contact
curl --request POST \
  --url https://app.flowella.io/api/v1/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "+15551234567",
  "name": "Ada Lovelace",
  "email": "ada@example.com"
}
'
{
  "id": "<string>",
  "phone": "<string>",
  "waId": "<string>",
  "name": "<string>",
  "email": "<string>",
  "isOptedOut": true,
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Organization API key (flo_…). Paste the full key; Scalar sends Authorization: Bearer <key>.

Body

application/json
phone
string
required
Required string length: 3 - 32
name
string | null
Required string length: 1 - 200
email
string<email> | null
waId
string | null
Required string length: 1 - 64

Response

Contact upserted

id
string
required
phone
string
required
waId
string | null
required
name
string | null
required
email
string | null
required
isOptedOut
boolean
required
createdAt
string
required
updatedAt
string
required