Raff Apps

Add custom domain

Changed on

Attach a custom domain to a web service. The response carries the DNS records to create — a CNAME to cname_target and a verification TXT record. Verification and TLS issuance run automatically once the DNS resolves.

post/api/v1/apps/services/{service_id}/domains

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/apps/services/{service_id}/domains
  • Auth
    API key in header X-API-Key

Path parameters

service_idstring required

App service ID (UUID) or short id (the service_id field)

Request body

domainstring required

Response

Domain added (status pending_dns)

successboolean

Changes