Create a new contact
Changed onCreates the contact, or updates the existing one when the address is already in the account. An existing contact keeps its status: this endpoint never resubscribes anyone. Check created and subscription_status in the response to tell the cases apart without a lookup first.
A contact you deleted is restored with its history and returned with created: false.
To tag the contact, use contact_tags. The older tags parameter on this endpoint is an alias for lists: it adds the contact to lists, not tags.
Request
- Base URLhttps://api.sendfox.com
- AuthOAuth 2Authorization codehttps://sendfox.com/oauth/authorizeToken URLhttps://sendfox.com/oauth/token
Request body
Response
The contact, new or existing. created says which. The resubscribe_confirmation fields appear only when resubscribe was true.
Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added
subschema #2to the response bodyallOflist for the response status - info
added the non-success response with the status
- breaking