Contacts

Add a contact identity

Adds an address the contact is reached at and returns the contact. Adding an address the contact already has updates whether it is verified. An address another contact holds is a conflict.

post/v1/contacts/{id}/identities

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/contacts/{id}/identities
  • Auth: API key in header x-api-key

Path parameters

idstring required

Request body

type'email' | 'phone' required
identifierstring required
verifiedboolean nullable

Response

Contact

idstring required
namespaceIdstring required
namestring required
displayNamestring nullable required
avatarstring nullable required
status'active' | 'paused' | 'blocked' | 'archived' required
statusReasonstring nullable required
externalIdstring nullable required
tagsstring[] required
metadataJsonObject required
createdAtstring required
updatedAtstring required

Changes

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