ContactController

Create a contact

post/contacts

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/contacts
  • Auth: API key in header x-api-key

Request body

firstNamestring nullable
lastNamestring nullable
companystring nullable
emailAddressesstring[] nullable

Set of email addresses belonging to the contact

tagsstring[] nullable

Tags that can be used to search and group contacts

metaDataobject nullable

User metadata key value pairs to save for this contact. Can be any values you like.

optOutboolean nullable

Has the user explicitly or implicitly opted out of being contacted? If so MailSlurp will ignore them in all actions.

groupIdstring uuid nullable

Group IDs that contact belongs to

verifyEmailAddressesboolean nullable

Whether to validate contact email address exists

Response

Created

Changes

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