Create a contact
Changed onCreates a contact in the workspace.
Tags are linked by id or name and must already exist in the workspace — unknown tags are ignored. Use PATCH /contacts/{contactId}/tags to create tags on demand.
customProperties are keyed by property name and only properties already defined in the workspace are persisted.
Request
- Base URLhttps://messenger-public-api.cogfy.com
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Contact created successfully
Changes
- breaking
request body became required
- breaking
request property
list-of-types was narrowed by removing typesintegerfrom media typeapplication/json - breaking
added 'propertyNames' constraint to the request property
- warning
removed the request property
- info
added the new optional request property
- info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
/list-of-types was widened by adding typesnumberto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
added the non-success response with the status
- info
added the non-success response with the status
- info
the response property
became required for the status - info
the
response's property pattern^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$was added for the status
- breaking
- info
added the new optional request property
- info