Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET 'https://api.weir.ai/org/verify/platform/platform_123456789' \ -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \ -H 'x-source: console'
{ "data": { "platformId": "platform_123456789", "domain": "myplatform.com", "verificationStatus": "verified", "verificationMethod": "dns", "verifiedAt": "2024-01-22T15:30:00Z" }, "message": "Platform verified successfully", "status": "success" }
Verify platform domain ownership
const verifyPlatform = async (platformId, accessToken) => { const response = await fetch(`https://api.weir.ai/org/verify/platform/${platformId}`, { headers: { 'Authorization': `Bearer ${accessToken}`, 'x-source': 'console' } }); if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`); return await response.json(); };
import requests def verify_platform(platform_id, access_token): response = requests.get( f'https://api.weir.ai/org/verify/platform/{platform_id}', headers={ 'Authorization': f'Bearer {access_token}', 'x-source': 'console' } ) response.raise_for_status() return response.json()
Was this page helpful?