Contact

Create contact (strict REST)

Creates a WhatsApp contact using strict REST semantics. Returns 4xx exceptions for validation/duplication errors.

post/contacts

Request

  • Base URL
    https://api.spurnow.com
  • Auth
    HTTP bearer

Request body

firstNamestring required

Contact first name.

lastNamestring required

Contact last name.

emailstring

Contact email.

numberstring required

Phone number with country code, digits only.

namestring

Optional full name override.

Example request

{
  "firstName": "Jane",
  "lastName": "Doe",
  "email": "jane.doe@example.com",
  "number": "919876543210",
  "name": "Jane Doe"
}

Response

Contact created successfully.

idnumber required
firstNamestring required
lastNamestring required
emailstring required
numberstring required

Changes

No recorded changes to this operation across all 1 revision of this API.