Create

Method: POST
URL: https://www.wellcomemat.com/api/account/create.php

Parameters

KeyTypeDescription
keytext{{key}}
secrettext{{secret}}
emailtextRequired
unique_idtextRequired This is an ID assigned from an external system. (Example: agent, member or associate ID)
firstnametextRequired
lastnametextRequired
ziptextPostal Code
phonetextPhone Number
websitetextWebsite URL

Response

type AccountCreateResponse = {
    success: 0 | 1;
    wellcomemat_user_id?: number;
    unique_id?: string | null;
    email?: string | null;
    firstname?: string | null;
    lastname?: string | null;
    zip?: string | null;
    phone?: string | null;
    website?: string | null;
    user?: string;      // when success = 0
    error?: string;     // when success = 0
    warnings?: string;  // when success = 0
};