Contacts / Entity

Create Contact

This endpoint allows you to create a Contact based on JSON input.

You will only be able to create a Contact after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST BODY

AttributeTypeDescription
accountId (Required)IntegerAccount to whom the Contact is linked to (see Accounts resource)
address1StringContact's first address
cityStringCity name
commentStringComment added to the Contact profile
countryIdIntegerCountry ID (see Countries resource) of the address
emailStringContact's email address
email2StringContact's second email address
email3StringContact's third email address
extIdStringExternal ID of the Contact from a third party system (ERP, CRM, Accounting System)
faxStringContact's fax number
firstName (Required)StringContact's first name
genderIntegerMale -> 0 or female -> 1
lastName (Required)StringContact's last name
linkedinStringContact's LinkedIn profile name
permissionLevelStringDefines the visibility of the Contact. Set from 1 to 5 being 5 the highest level of permission
phone1StringContact's first phone number
phone2StringContact's second phone number
postcodeStringPostcode of the Contact address
readOnlybooleanIf true, the Contact cannot be modified or deleted
regionStringRegion/State name referred to the address
salesRepId (Required)Object, NullContact responsible for the Contact
skypeStringContact's Skype name
typeIdIntegerContact Type (see Type resource)
UseCompanyAddressBooleanIf true, Contact's address is the one of the associated Account
birthdayStringContact's birthday
marketingCommunicationsBooleanIf true, Contact can receive marketing communications

RESPONSE

Returns a JSON with information about the Contact just created.

AttributeType
IdId assigned to the new Contact
MessageThe operation status

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
post/contacts

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/contacts
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Request body

accountIdinteger
address1string
citystring
commentstring
countryIdinteger
emailstring
faxstring
firstNamestring
genderinteger
lastNamestring
linkedinstring
permissionLevelinteger
phone1string
phone2string
postcodestring
readOnlyboolean
regionstring
salesRepIdinteger
skypestring
typeIdinteger
birthdaystring

Response

Create Contact

Changes

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