API reference

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

Request body fields
FieldTypeWhat it is
tokenrequiredstring

Example

{
  "token": "string"
}

Answer 200

Proven.

Fields of the 200 answer
FieldTypeWhat it is
okboolean
domainstring

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.

Antimatter