1from agentmail import AgentMail23client = AgentMail(4 base_url="https://api.agentmail.to",5 api_key="YOUR_TOKEN_HERE"6)78client.pods.domains.create(9 pod_id="pod_id",10 domain="domain",11 feedback_enabled=True12)
1{2 "domain_id": "domain_id",3 "status": "PENDING",4 "feedback_enabled": true,5 "records": [6 {7 "type": "TXT",8 "name": "name",9 "value": "value",10 "status": "MISSING",11 "priority": 112 },13 {14 "type": "TXT",15 "name": "name",16 "value": "value",17 "status": "MISSING",18 "priority": 119 }20 ],21 "updated_at": "2024-01-15T09:30:00Z",22 "created_at": "2024-01-15T09:30:00Z",23 "client_id": "client_id"24}
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>
The name of the domain. (e.g., ” your-domain.com”)
The name of the domain. (e.g., “example.com”)