Skip to main content
POST
Create Contact

Authorizations

Authorization
string
header
required

Pass a Dugble team token in the Authorization header as Bearer . Team token secrets use the dgb_team_ prefix.

Headers

Idempotency-Key
string

Optional idempotency key for mutation requests. Maximum 256 characters.

Maximum string length: 256

Body

application/json
email
string<email>
required
phone
string

Valid international phone number.

Available options:
unknown,
opted_in,
opted_out

Required when an explicit SMS consent status is supplied.

Available options:
api,
import,
manual
first_name
string
last_name
string
unsubscribed
boolean
default:false
properties
object

Response

Contact created successfully.

success
enum<boolean>
Available options:
true
data
object