List Custom Domains

List all the custom domains that you have access to.

GET https://{region}.getafile.io/api/v1/teams/:team_id/domainscustom

This endpoint lets you get the list of custom Domains you can access.

The "resolved" field refers to whether or not the domain is currently resolving to Getafile's CNAME record. 1 = Yes, 0 = No

The "resolved" field indicates whether the domain is set up and serving. 1 = Yes, 0 = No

Path Parameters

Name
Type
Description

team_id*

number

ID of the team

[
    {
        "id": 9,
        "custom_domain": "testing.example.com",
        "resolved": 0,
        "setup": 0,
        "errors": null,
        "created_at": "2024-04-09T18:41:36.000+10:00",
        "updated_at": "2024-04-09T18:41:23.000+10:00"
    },
    {
        "id": 4,
        "custom_domain": "testing2.example.com",
        "resolved": 1,
        "setup": 1,
        "errors": null,
        "created_at": "2024-04-09T16:58:59.000+10:00",
        "updated_at": "2024-04-09T16:58:59.000+10:00"
    },
    {
        "id": 12,
        "custom_domain": "testing3.example.com",
        "resolved": 1,
        "setup": 1,
        "errors": null,        
        "created_at": "2024-04-18T13:43:55.000+10:00",
        "updated_at": "2024-04-18T13:43:55.000+10:00"
    }    
]

Last updated

Was this helpful?