{"method":"POST","path":"https://api.revcent.com/v2/tracking_domains/{tracking_domain_id}/initialize_ssl","summary":"Initialize SSL for A Tracking Domain","description":"Initialize SSL for a specific tracking domain using the tracking domain ID. Instructions:<br><br>1. Before running this operation, make sure you have already added the A records to the domain DNS, supplied in the response when you first created the tracking domain. Use the GetTrackingDomain operation to retrieve the required A records if necessary.<br><br>2. If the A records have been added, perform the InitializeTrackingDomainSSL operation and wait for a successful response containing the CNAME records found in the responses' ssl.cname_records array to add to your domain's DNS.<br><br>3. After adding the CNAME records to your domain, proceed to the InitializeTrackingDomainDNS operation to complete the process. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/InitializeTrackingDomainSSL.md for an in-depth overview of this operation.","operationId":"InitializeTrackingDomainSSL","parameters":[{"in":"path","name":"tracking_domain_id","description":"The Tracking Domain ID","required":true,"schema":{"type":"string","description":"A 20 character tracking domain ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":false}}}},"responses":{"200":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"API call response code.","type":"integer","format":"int32","enum":[1]},"tracking_domain_id":{"type":"string","description":"A 20 character tracking domain ID.","minLength":20,"maxLength":20},"a_records":{"items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The A record name."},"value":{"type":"string","description":"The value for the A record."}}},"type":"array","description":"An array of A records that will need to be entered into your domain's DNS settings after creating the tracking domain."},"ssl":{"type":"object","additionalProperties":false,"properties":{"status":{"type":"string","description":"The current SSL status for the tracking domain.","enum":["NOT_INITIALIZED","PENDING_VALIDATION","VALIDATION_TIMED_OUT","ISSUED","FAILED"]},"cname_records":{"type":"array","description":"An array of CNAME records that will need to be entered into your domain's DNS settings in order to complete the SSL issuance process for the tracking domain. The CNAME records are essential and must be added to the domains' DNS in order to issue the SSL for the tracking domain.","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"]}}}},"result":{"type":"string"}},"type":"object","additionalProperties":false}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}