Contacts

Create a contact

Creates a contact and returns it with a 201 status. An identity another contact already holds is a conflict.

post/v1/contacts

Request

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

Request body

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

Response

Success

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.