API reference · Organizations
Confirm a domain proof link
POST/api/team-domains/confirmNo key
The page a domain proof email opens posts its token here. No session: the link reached an admin mailbox at the domain, which is the proof. Same origin, rate limited per address.
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| tokenrequired | string |
Example
{
"token": "string"
}Answer 200
Proven.
| Field | Type | What it is |
|---|---|---|
| ok | boolean | |
| domain | string |
Errors
- 400OpenAI shaped error.
- 404OpenAI shaped error.
- 409OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.