Leads_createManual
POST
/api/leads
const url = 'https://met.cards/api/leads';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","displayName":"example","email":"[email protected]","phone":"example","company":"example","title":"example","event":"example","location":"example","note":"example","linkedinUrl":"https://example.com","sourceType":"manual","captureTier":"handle","profiles":[{"service":"website","handle":"example","url":"https://example.com"}],"forceNew":true,"metCard":{"workspace":"example","card":"example"},"askToLink":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://met.cards/api/leads \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "displayName": "example", "email": "[email protected]", "phone": "example", "company": "example", "title": "example", "event": "example", "location": "example", "note": "example", "linkedinUrl": "https://example.com", "sourceType": "manual", "captureTier": "handle", "profiles": [ { "service": "website", "handle": "example", "url": "https://example.com" } ], "forceNew": true, "metCard": { "workspace": "example", "card": "example" }, "askToLink": true }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
id
string format: uuid
displayName
required
string
email
string format: email
phone
string
company
string
title
string
event
string
location
string
note
string
linkedinUrl
string format: uri
sourceType
string
captureTier
string
profiles
Array<object>
object
service
required
string
handle
string
url
required
string format: uri
forceNew
boolean
metCard
object
workspace
required
string
card
string
askToLink
boolean
Responses
Section titled “Responses”Media typeapplication/json
object
Examplegenerated
{}