WebNIC RESTFUL v2
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Contact
  • 📝 Update History
  • 💡 Testing Flow
  • CSR
    • Generate CSR
      POST
    • Decode CSR
      POST
  • Certificate
    • Get Order Info
      GET
    • Order Statistics
      GET
    • Order Graph Statistics
      GET
    • Order Pagination Search
      POST
    • Download Cert
      POST
    • Place Order
      POST
    • Cancel Order
      POST
    • Renew Order
      POST
    • Reissue Order
      POST
  • Domain Validations
    • Check DCV Status
      GET
    • Change Auth Type
      PUT
    • Get Auth Info
      GET
    • Approver List
      GET
    • Update Email Approver
      PUT
    • Send Email Approver
      POST
  • Product
    • Linkage of Product informations
    • GET Product List (new)
      GET
    • Get Product List
      GET
    • Get SSL Rules
      GET
    • Get Product Info
      GET
    • Get Product Price
      GET
  • Organization
    • Create Organization
    • Search Organization
    • Get Organization Info
    • Update Organization Contact
    • Submit Validation
    • Get Validation Status
  • Contact
    • Get Contact Info
      GET
    • Create Contact
      POST
    • Delete Contact
      DELETE
Domain APISSL APIDNS APIUtility Endpoints
Domain APISSL APIDNS APIUtility Endpoints
WebNIC OST @ Github
WebNIC Partner Portal
  1. Contact

Create Contact

OTE Environment
https://oteapi.webnic.cc
OTE Environment
https://oteapi.webnic.cc
POST
/ssl/v2/contact/create
Last modified:2024-12-27 01:54:22
This endpoint allows you to create a new contact by providing the necessary contact information.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://oteapi.webnic.cc/ssl/v2/contact/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "administrator":{
        "company": "Nelson Corp",
        "firstName":"Nelson",
        "lastName":"SSL",
        "address1":"L4-E-2, HIVE 5, Mranti",
        "city":"Bukit Jalil",
        "state" : "Selangor",
        "countryCode": "MY",
        "zip": "57100",
        "phoneNumber": "+6012.1234567890",
        "email": "ssl-testing@webnic.cc"
    },
    "technical":{ 
        "company": "Nelson Corp-test",
        "firstName":"Nelson",
        "lastName":"SSL",
        "address1":"L4-E-2, HIVE 5, Mranti",
        "city":"Bukit Jalil",
        "state" : "Selangor",
        "countryCode": "MY",
        "zip": "57100",
        "phoneNumber": "+60.6506503",
        "email": "ssl-testing@webnic.cc"
    }
}'
Response Response Example
200 - Success
{
    "code": "1000",
    "message": "Command completed successfully.",
    "data": [
        {
            "contactId": "SSL10667T",
            "resid": 2740,
            "details": {
                "company": "Nelson Corp",
                "firstName": "Nelson",
                "lastName": "SSL",
                "address1": "L4-E-2, HIVE 5, Mranti",
                "address2": null,
                "city": "Bukit Jalil",
                "state": "Selangor",
                "countryCode": "MY",
                "zip": "57100",
                "phoneNumber": "+6012.1234567890",
                "faxNumber": null,
                "email": "ssl-testing@webnic.cc",
                "jobTitle": null
            },
            "contactType": "administrator",
            "dtcreate": "2024-12-27T09:35:42.7352+08:00",
            "dtmodify": "2024-12-27T09:35:42.735204+08:00"
        },
        {
            "contactId": "SSL10668T",
            "resid": 2740,
            "details": {
                "company": "Nelson Corp-test",
                "firstName": "Nelson",
                "lastName": "SSL",
                "address1": "L4-E-2, HIVE 5, Mranti",
                "address2": null,
                "city": "Bukit Jalil",
                "state": "Selangor",
                "countryCode": "MY",
                "zip": "57100",
                "phoneNumber": "+60.6506503",
                "faxNumber": null,
                "email": "ssl-testing@webnic.cc",
                "jobTitle": null
            },
            "contactType": "technical",
            "dtcreate": "2024-12-27T09:35:42.880034+08:00",
            "dtmodify": "2024-12-27T09:35:42.88004+08:00"
        }
    ]
}
Modified at 2024-12-27 01:54:22
Previous
Get Contact Info
Next
Delete Contact
Built with