List Domains
List all the domains that you have access to.
GET https://{region}.getafile.io/api/v1/teams/:team_id/domains
This endpoint allows you to get the list of Domains that you have access to.
Path Parameters
Name
Type
Description
team_id*
number
ID of the team
[
{
"id": 41,
"name": "Testing 1",
"domain": "testing1.getafile.online",
"created_at": "2024-04-09T16:58:59.000+10:00",
"updated_at": "2024-04-09T16:58:59.000+10:00",
"team_id": 8,
"logo": null,
"favicon": null,
"google_analytics_id_consent": 0,
"google_analytics_id": null,
"google_analytics_id_secret": null,
"domaincustom": [
{
"id": 4,
"domain_id": 41,
"user_id": 1,
"custom_domain": "testing1.example.com",
"resolved": 0,
"setup": 0,
"errors": null,
"created_at": "2024-04-09T16:58:59.000+10:00",
"updated_at": "2024-04-09T16:58:59.000+10:00"
},
{
"id": 8,
"domain_id": 41,
"user_id": 1,
"custom_domain": "testing2.example.com",
"resolved": 0,
"setup": 0,
"errors": null,
"created_at": "2024-04-09T17:26:39.000+10:00",
"updated_at": "2024-04-09T17:26:39.000+10:00"
},
{
"id": 9,
"domain_id": 41,
"user_id": 1,
"custom_domain": "testing3.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"
}
],
"logo_uri": null,
"favicon_uri": null
},
{
"id": 44,
"name": "Testing 2",
"domain": "testing2.getafile.online",
"created_at": "2024-04-18T13:43:55.000+10:00",
"updated_at": "2024-04-18T14:29:17.000+10:00",
"team_id": 8,
"logo": null,
"favicon": null,
"google_analytics_id_consent": 0,
"google_analytics_id": null,
"google_analytics_id_secret": null,
"domaincustom": [
{
"id": 12,
"domain_id": 44,
"user_id": 1,
"custom_domain": "testing1.example2.com",
"resolved": 0,
"setup": 0,
"errors": null,
"created_at": "2024-04-18T13:43:55.000+10:00",
"updated_at": "2024-04-18T13:43:55.000+10:00"
}
],
"logo_uri": null,
"favicon_uri": null
},
{
"id": 46,
"name": "Testing 3",
"domain": "testing3.getafile.online",
"created_at": "2024-04-18T13:56:07.000+10:00",
"updated_at": "2024-04-18T14:29:24.000+10:00",
"team_id": 8,
"logo": null,
"favicon": null,
"google_analytics_id_consent": 0,
"google_analytics_id": null,
"google_analytics_id_secret": null,
"domaincustom": [],
"logo_uri": null,
"favicon_uri": null
}
]Last updated
Was this helpful?