Contactsv2
Create a contact
POST
/contactsCreate a new contact with a phone number (E.164 format) or email address.
Headers
AuthorizationRequiredstringYour API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.
Bearer
Body parameters
JSONidentifierRequiredstringPhone number (E.164 format, e.g., +15551234567) or email address
nameoptionalstringDisplay name for the contact
Returns
idoptionalstringContact identifier (phone or email)
contact_idoptionalstringInternal contact ID
identifieroptionalstringPhone number (E.164) or email
nameoptionalstring | nulltypeoptionalstring"phone""email"created_atoptionalintegerlast_message_timeoptionalinteger | nulltagsoptionalstring[]Response codes
201Contact created
400Invalid request parameters
401Authentication required or invalid
409Contact already exists
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v2/api/contacts \ -H "Authorization: Bearer bl_live_..." \ -H "Content-Type: application/json" \ -d '{ "identifier": "+15551234567", "name": "John Doe" }'{ "id": "ct_a1b2c3d4", "contact_id": "ct_a1b2c3d4", "identifier": "+15551234567", "name": "Jane Doe", "type": "phone", "created_at": 0, "last_message_time": 0, "tags": [ "string" ]}