POST
/
v1
/
contact.create-contact
Create contact
curl --request POST \
  --url https://api.mobilizehub.com/v1/contact.create-contact \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "organizationId": "<string>",
  "email": "jsmith@example.com",
  "subscribed": true,
  "firstName": "<string>",
  "lastName": "<string>",
  "bio": "<string>",
  "phone": "<string>",
  "mobile": "<string>",
  "address": "<string>",
  "zip": "<string>",
  "city": "<string>",
  "country": "<string>"
}'
{
  "data": {
    "contactId": "<string>"
  },
  "object": "contact"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Contact object

organizationId
string
required
email
string<email>
required
subscribed
boolean
default:true
firstName
string
lastName
string
bio
string
phone
string
mobile
string
address
string
zip
string
city
string
country
string

Response

Create a contact

data
object
required
object
enum<string>
required
Available options:
contact