Create TLS organization
POST /tls/organizationOperation ID: CreateOrganization
Create a DigiCert-backed TLS organization including the local contact record used for OV or EV certificate ordering.
Request body
Section titled “Request body”| Field | Type | Required | Description |
|---|---|---|---|
organization | string | yes | - |
first_name | string | yes | - |
last_name | string | yes | - |
address | string | yes | - |
postal_code | string | yes | - |
city | string | yes | - |
country_code | string | yes | - |
phone | string | yes | - |
email | string | yes | - |
Responses
Section titled “Responses”| Status | Type | Description |
|---|---|---|
200 | tlsOrganizationResponse | TLS organization created |
400 | Error | Invalid request payload |
401 | Error | Unauthorized |
500 | Error | Unexpected error |
502 | Error | Upstream TLS provider error |
Response body
Section titled “Response body”| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | yes | Success indicator |
code | integer | no | Response/Error Code |
response | tlsOrganizationResponse | no | - |
Example
Section titled “Example”curl -X POST "https://api.regfish.com/tls/organization" \ -H "x-api-key: $REGFISH_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "organization": "string", "first_name": "string", "last_name": "string", "address": "string", "postal_code": "string", "city": "string", "country_code": "string", "phone": "string", "email": "string" }'Build a request
Section titled “Build a request”Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.