POST https://api.sorryapp.com/v1/pages/:page_id/custom_domain
Use this endpoint to configure a custom domain for a status page. Once created, set up the DNS record as per the response.
Example Request
curl -X POST https://api.sorryapp.com/v1/pages/:page_id/custom_domain \
-d domain="sorry.muttering.at" \
-H "Authorization: Bearer 129spul0wcxabrfsnscn6lwrledmp2afbuaxgt1w42s74xds70fgln85e4s3"
Example Response
{
"response": {
"type": "CNAME",
"from": "sorry.muttering.at",
"to": "34e38327.sorryapp.com",
"state": "pending",
"lost_count": 0,
"created_at": "2022-12-02T14:55:38.952Z",
"updated_at": "2022-12-02T14:55:39.458Z"
}
}%