Get org domain
Get a domain from the list of an organization's whitelisted domains. Returns both verified and unverified domains by their ID
Path Parameters
unique id of the organization for which whitelisted domain is to be retrieved
unique id of the domain to be retrieved
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
Schema
domain object
The domain id
The domain name
The organization id
The dns TXT record token to verify the domain
The domain state either pending or verified
The time the domain whitelist request was created
The time the org domain was updated
{
"domain": {
"id": "943e4567-e89b-12d3-a456-426655440000",
"name": "raystack.org",
"orgId": "123e4567-e89b-12d3-a456-426655440000",
"token": "_frontier-challenge:1234567890123456",
"state": "pending",
"createdAt": "2023-06-07T05:39:56.961Z",
"updatedAt": "2023-06-07T05:39:56.961Z"
}
}
Bad Request - The request was malformed or contained invalid parameters.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}