# Create/Update Registration You can use reigstration api to create or update registrations on any persona on your event. Same API is used to create indivisual and group registration. First, you need to create persona on MICEtribe event and add all fileds along with their settings then you can use the API to push to your event. Create registration API require the following params: - persona: it's required param to pass to the API. It is the slug of the persona you want to push to. - fields: it's required param to pass to create or update registrations. It contains array of json of the fields matching MICEtribe persona fields settings. - barcode: this is optional field that is used to replace MICEtribe QR code with barcode sent via api - parent_barcode: this is optional fields that is used to create this registration as member of another registration. (it's used for group registration) - enable_comms: this is optional filed that is used to enable sending communications via system, currently email and SMS communication are supported. Default value for it is false. to turn it on, pass boolean true value to the field. Fields validations: - phone_number field must have at least 5 charachters and be in international format so it should start with 00 or +. Successful examples of phone number are e.g 0097466666666 or +97466666666 or 97466666666 - email field must have valid email format and valid DNS - country field accepts ISO 2-letter code, ISO 3-letter code - website field shuld be valid URL format - upload field must have valie url for uploaded file - date field must be in this format yyyy-mm-dd and it can has time e.g yyyy-mm-dd hh:MM:ss - numberic field must have numbers only Endpoint: POST /registration Version: 1.0.1 Security: BearerAuth ## Request fields (application/json): - `persona` (string) - `fields` (object) - `fields.fullname` (string) - `fields.email` (string) - `fields.phone` (string) - `fields.job_title` (string) - `fields.upload` (string) - `fields.organization` (string) - `fields.country` (string) - `barcode` (string) ## Response 200 fields