# Add domains' SPF records This function installs a Sender Policy Framework (SPF) record for a domain on the DNS server. Endpoint: GET /EmailAuth/install_spf_records Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `domain` (string, required) The domain for which to install an SPF record on the DNS server. To install multiple SPF records, duplicate the parameter name. For example, use the , , and parameters. - `record` (string, required) An SPF record. You provide this parameter for each parameter. Example: "\"v=spf1 ip4:10.0.0.1 %2Ba %2Bmx %2Bip4:10.0.0.2 %2Bip4:10.0.0.3 -all\"" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "install_spf_records" - `module` (string) The name of the module called. Example: "EmailAuth" - `result` (object) - `result.data` (array) An array of objects that contains information about the domain's SPF record installation to the DNS server. - `result.data.domain` (string) The SPF record's associated domain on the DNS server. Example: "example.com" - `result.data.msg` (string) The SPF record's installation status to the DNS server. Example: "[ADD:TXT@example.com.:v=spf1 ip4:10.0.0.1 %2Ba %2Bmx %2Bip4:10.0.0.2 %2Bip4:10.0.0.3 -all]" - `result.data.status` (integer) Whether the system installed the SPF record to the DNS server. - - The system installed the SPF record on the DNS server. - - The system install the SPF record on the DNS server. Enum: 0, 1 - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.status` (integer) - 1 - Success. - 0 - Failed. Check the field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.