messagebird · Schema

ContactCreate

Properties

Name Type Description
msisdn string The phone number of the contact in international format.
firstName string The first name of the contact.
lastName string The last name of the contact.
custom1 string Custom field 1.
custom2 string Custom field 2.
custom3 string Custom field 3.
custom4 string Custom field 4.
View JSON Schema on GitHub

JSON Schema

messagebird-contactcreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContactCreate",
  "title": "ContactCreate",
  "type": "object",
  "required": [
    "msisdn"
  ],
  "properties": {
    "msisdn": {
      "type": "string",
      "description": "The phone number of the contact in international format."
    },
    "firstName": {
      "type": "string",
      "description": "The first name of the contact."
    },
    "lastName": {
      "type": "string",
      "description": "The last name of the contact."
    },
    "custom1": {
      "type": "string",
      "description": "Custom field 1."
    },
    "custom2": {
      "type": "string",
      "description": "Custom field 2."
    },
    "custom3": {
      "type": "string",
      "description": "Custom field 3."
    },
    "custom4": {
      "type": "string",
      "description": "Custom field 4."
    }
  }
}