ٹولز
سرور کا پیش کردہ ہر ٹول، ہر ایک کو درکار اجازت، اس کے پیرامیٹرز، اور جوابات کی ساخت۔
نیچے کی فہرست خود سرور سے تیار ہوتی ہے: نام، اجازتیں اور پیرامیٹرز وہی ہیں جو کلائنٹ کو tools/list سے ملتے ہیں، اور تفصیلات سرور کے اپنے الفاظ ہیں۔ کنکشن کو صرف وہی ٹولز دکھائے جاتے ہیں جن کا احاطہ اس کی اجازتیں کرتی ہیں؛ whoami، get_connections اور get_request_status ہر مجاز کنکشن کے لیے موجود ہیں۔
حوالہ#
پڑھنے والے ٹولز
11یہ کچھ نہیں بدلتے۔
whoami
Who is connectedپڑھتا ہےThe EcoMark member this connection acts as: name, role, agency, time zone, and the permissions this connection holds. Call it first to learn the time zone and what the other tools may do.
اجازتکوئی بھی مجاز کنکشن
کوئی پیرامیٹر نہیں۔
get_connections
Connected servicesپڑھتا ہےWhich services (Gmail, WhatsApp, Slack, Microsoft 365, Google Drive, DocuSign, Zoom, Motion, Calendly, Dropbox) are connected in EcoMark for this member, and what the member may use of each. Nothing is connected or changed from here: connecting happens in EcoMark under Settings → Integrations.
اجازتکوئی بھی مجاز کنکشن
کوئی پیرامیٹر نہیں۔
list_properties
List propertiesپڑھتا ہےThe agency's listings this member can see, newest change first. Filter by status or by words in the title, city or address.
اجازت
properties:readپراپرٹیز دیکھیںپیرامیٹرز (4)
statusstringاختیاریان میں سے ایک:
draft,published,needs_attention,archivedsearchstringاختیاریWords to look for in the name or title.
1 سے 80 حروف
limitintegerاختیاریHow many to return (default 20, at most 50).
1 سے 50
cursorstringاختیاری`nextCursor` from the previous page.
زیادہ سے زیادہ 40 حروف
get_property
Property detailsپڑھتا ہےOne listing in full: description, features, address, readiness, views and inquiries in the last 30 days, and what is attached to it (photos, documents, tours).
اجازت
properties:readپراپرٹیز دیکھیںپیرامیٹرز (1)
propertyIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
list_leads
List leadsپڑھتا ہےLeads in this member's pipeline (an admin: the agency's), most recently active first. Filter by stage, temperature, overdue follow-up, or words in the name. Contact details are not in the list; use get_lead for one lead.
اجازت
leads:readلیڈز دیکھیںپیرامیٹرز (6)
stagestringاختیاریان میں سے ایک:
new,contacted,qualified,appointment,negotiation,won,losttemperaturestringاختیاریان میں سے ایک:
hot,warm,cold,needs_qualificationfollowUpOverduebooleanاختیاریtrue: only leads whose next action is past due.
searchstringاختیاریWords to look for in the name or title.
1 سے 80 حروف
limitintegerاختیاریHow many to return (default 20, at most 50).
1 سے 50
cursorstringاختیاری`nextCursor` from the previous page.
زیادہ سے زیادہ 40 حروف
get_lead
Lead detailsپڑھتا ہےOne lead in full: contact details, what they are looking for, the latest notes and activity, and their upcoming appointments.
اجازت
leads:readلیڈز دیکھیںپیرامیٹرز (1)
leadIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
list_appointments
List appointmentsپڑھتا ہےAppointments this member can see that overlap a period (default: the next 14 days; at most 62 days), earliest first.
اجازت
calendar:readاپوائنٹمنٹس، ٹاسکس اور دستیابی دیکھیںپیرامیٹرز (5)
fromdate-timeاختیاریStart of the period, ISO 8601 with offset. Default: now.
todate-timeاختیاریEnd of the period, ISO 8601 with offset.
statusstringاختیاریان میں سے ایک:
scheduled,pending,confirmed,completed,cancelled,no_showlimitintegerاختیاریHow many to return (default 20, at most 50).
1 سے 50
cursorstringاختیاری`nextCursor` from the previous page.
زیادہ سے زیادہ 40 حروف
list_tasks
List tasks and remindersپڑھتا ہےTasks and reminders on this member's calendar (an admin: the agency's), by due time. By default the open ones due in the next 14 days, plus anything overdue.
اجازت
calendar:readاپوائنٹمنٹس، ٹاسکس اور دستیابی دیکھیںپیرامیٹرز (5)
fromdate-timeاختیاریOnly items due at or after this instant. Default: no lower bound for open items.
todate-timeاختیاریOnly items due before this instant. Default: 14 days from now.
donebooleanاختیاریtrue: finished items; false (default): open ones.
limitintegerاختیاریHow many to return (default 20, at most 50).
1 سے 50
cursorstringاختیاری`nextCursor` from the previous page.
زیادہ سے زیادہ 40 حروف
check_availability
Check availabilityپڑھتا ہےWhen a member is busy and when they are free, in a period of at most 14 days: busy time from EcoMark appointments and tasks (and from the Outlook calendar this member may read, and from a Google Calendar they connected themself), and free slots of the asked length inside the agency's working hours. An agent can only ask about themself; an admin may name another member.
اجازت
calendar:readاپوائنٹمنٹس، ٹاسکس اور دستیابی دیکھیںپیرامیٹرز (4)
fromdate-timeلازمیStart of the period, ISO 8601 with offset.
todate-timeلازمیEnd of the period, ISO 8601 with offset.
durationMinutesintegerاختیاریLength of the slot wanted (default 30).
15 سے 480
memberIdstringاختیاریAdmins only: the member to check. Default: the connected member.
1 سے 80 حروف
get_metrics
Performance summaryپڑھتا ہےPipeline, appointments and listings in numbers for the last week or month. An agent gets their own assignments; an admin gets the agency. These are the same figures EcoMark's own performance summary uses.
اجازت
metrics:readکارکردگی کے اعداد و شمار دیکھیںپیرامیٹرز (1)
rangestringاختیاریDefault: week.
ان میں سے ایک:
week,month
get_request_status
Status of a requestپڑھتا ہےWhat the member decided about a request made with request_publish or request_send_message: pending, approved (and what happened), rejected, expired or failed.
اجازتکوئی بھی مجاز کنکشن
پیرامیٹرز (1)
requestIdstringلازمیپیٹرن:
^mrq_[a-f0-9]{24}$
لکھنے والے ٹولز
10یہ EcoMark کے اپنے ریکارڈز بدلتے ہیں۔ کسی کلائنٹ کو کچھ نہیں بھیجا جاتا اور کچھ پبلک نہیں کیا جاتا۔
create_task
Create a task or reminderلکھتا ہےAdd a task or a reminder to the connected member's own calendar in EcoMark, optionally linked to a lead or a property they can see. Nothing is sent to anyone.
اجازت
calendar:writeاپوائنٹمنٹس اور ٹاسکس بنائیں اور تبدیل کریںپیرامیٹرز (6)
titlestringلازمی1 سے 140 حروف
dueAtdate-timeلازمیWhen it is due, ISO 8601 with offset.
durationMinutesintegerاختیاریDefault 30. A reminder takes at most 60.
5 سے 720
kindstringاختیاریDefault: task.
ان میں سے ایک:
task,reminderlinkedToobjectاختیاریtypestringلازمیان میں سے ایک:
lead,propertyidstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
update_task
Update a task or reminderلکھتا ہےChange a task or reminder the connected member can see: its title, when it is due, how long it takes, or whether it is done.
اجازت
calendar:writeاپوائنٹمنٹس اور ٹاسکس بنائیں اور تبدیل کریںپیرامیٹرز (6)
taskIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
titlestringاختیاری1 سے 140 حروف
dueAtdate-timeاختیاریdurationMinutesintegerاختیاری5 سے 720
donebooleanاختیاریidempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
create_appointment
Create an appointmentلکھتا ہےPut an appointment on the connected member's own calendar in EcoMark, optionally for a lead and a property they can see. It is an EcoMark record only: no invitation, e-mail or message goes to the client, and no Zoom or Teams room is opened (that is done in EcoMark). The answer lists any of the member's appointments it overlaps.
اجازت
calendar:writeاپوائنٹمنٹس اور ٹاسکس بنائیں اور تبدیل کریںپیرامیٹرز (9)
titlestringلازمی1 سے 140 حروف
startsAtdate-timeلازمیISO 8601 with offset; must be in the future.
durationMinutesintegerاختیاریDefault 30.
15 سے 480
kindstringاختیاریDefault: consultation.
ان میں سے ایک:
consultation,property_tour,listing_presentation,virtual_meeting,closingleadIdstringاختیاریAn id returned by another EcoMark tool.
1 سے 80 حروف
propertyIdstringاختیاریAn id returned by another EcoMark tool.
1 سے 80 حروف
locationstringاختیاریزیادہ سے زیادہ 160 حروف
notesstringاختیاریزیادہ سے زیادہ 1,000 حروف
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
update_appointment
Update an appointmentلکھتا ہےChange an appointment the connected member can see: title, time, length, place, notes, or its status (confirm, complete, cancel, no_show, reopen). An appointment with a Zoom or Teams meeting, or one booked through Calendly, cannot be moved or cancelled from here — that also changes what the client was sent, so it is done in EcoMark. Appointments are never deleted from here.
اجازت
calendar:writeاپوائنٹمنٹس اور ٹاسکس بنائیں اور تبدیل کریںپیرامیٹرز (8)
appointmentIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
titlestringاختیاری1 سے 140 حروف
startsAtdate-timeاختیاریdurationMinutesintegerاختیاری15 سے 480
locationstring | nullاختیاریزیادہ سے زیادہ 160 حروف
notesstring | nullاختیاریزیادہ سے زیادہ 1,000 حروف
statusstringاختیاریان میں سے ایک:
confirm,complete,cancel,no_show,reopenidempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
update_lead
Update a leadلکھتا ہےMove a lead the connected member can see to another stage, change its temperature, or set its next step and when it is due. A lead is never reassigned or deleted from here, and its contact details are not changed from here.
اجازت
leads:writeلیڈز اپ ڈیٹ کریں اور نوٹس شامل کریںپیرامیٹرز (7)
leadIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
stagestringاختیاریان میں سے ایک:
new,contacted,qualified,appointment,negotiation,won,lostlostReasonstringاختیاریOnly with stage "lost".
زیادہ سے زیادہ 200 حروف
temperaturestringاختیاریان میں سے ایک:
hot,warm,cold,needs_qualificationnextActionstring | nullاختیاریThe next step, or null to clear it.
زیادہ سے زیادہ 200 حروف
nextActionAtdate-time | nullاختیاریWhen the next step is due, or null.
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
add_lead_note
Add a note to a leadلکھتا ہےAdd an internal note to a lead the connected member can see. Notes are for the agency: the client never sees them.
اجازت
leads:writeلیڈز اپ ڈیٹ کریں اور نوٹس شامل کریںپیرامیٹرز (3)
leadIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
textstringلازمی1 سے 2,000 حروف
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
draft_message
Draft a messageلکھتا ہےSave a draft e-mail or WhatsApp message in EcoMark Messages, for a lead the connected member can see or in a conversation they can see. Nothing is sent: the draft waits in Messages for the member to read, change and send. To ask the member to send it as it is, use request_send_message afterwards.
اجازت
messages:draftپیغامات کے ڈرافٹ تیار کریں، بھیجنے کی اجازت کبھی نہیںپیرامیٹرز (6)
channelstringلازمیان میں سے ایک:
email,whatsappleadIdstringاختیاریThe lead to write to (their e-mail address or phone number in EcoMark is used). Give this or conversationId.
1 سے 80 حروف
conversationIdstringاختیاریAn id returned by another EcoMark tool.
1 سے 80 حروف
subjectstringاختیاریE-mail only.
زیادہ سے زیادہ 200 حروف
bodystringلازمی1 سے 10,000 حروف
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
create_link_draft
Create a draft linkلکھتا ہےPrepare a short link in EcoMark Links — to a published listing the connected member can see, or to an HTTPS address — as a DRAFT. A draft link does not work for visitors. Making it live is the member's decision: use request_publish.
اجازت
links:draftلنکس، کیو آر کوڈز اور پورٹ فولیوز کے ڈرافٹ بنائیں، شائع کرنے کی اجازت کبھی نہیںپیرامیٹرز (5)
titlestringلازمی2 سے 120 حروف
propertyIdstringاختیاریA published listing. Give this or destinationUrl.
1 سے 80 حروف
destinationUrlstringاختیاریزیادہ سے زیادہ 500 حروف
slugstringاختیاریLower-case letters, digits and hyphens. Default: made from the title.
2 سے 60 حروف
پیٹرن:
^[a-z0-9]+(?:-[a-z0-9]+)*$idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
create_qr_draft
Create a draft QR codeلکھتا ہےPrepare a QR code in EcoMark — for a published listing, for one of the member's live links, or for an HTTPS address — as a DRAFT. A draft code does not resolve when scanned. Making it live is the member's decision: use request_publish.
اجازت
links:draftلنکس، کیو آر کوڈز اور پورٹ فولیوز کے ڈرافٹ بنائیں، شائع کرنے کی اجازت کبھی نہیںپیرامیٹرز (6)
titlestringلازمی2 سے 120 حروف
propertyIdstringاختیاریAn id returned by another EcoMark tool.
1 سے 80 حروف
linkIdstringاختیاریAn id returned by another EcoMark tool.
1 سے 80 حروف
destinationUrlstringاختیاریزیادہ سے زیادہ 500 حروف
campaignstringاختیاریزیادہ سے زیادہ 80 حروف
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
create_portfolio_draft
Create an unpublished portfolioلکھتا ہےPut together a portfolio of listings the connected member can see, optionally for one of their leads. It is saved in EcoMark Portfolios unpublished: it has no public page until the member publishes it (request_publish).
اجازت
links:draftلنکس، کیو آر کوڈز اور پورٹ فولیوز کے ڈرافٹ بنائیں، شائع کرنے کی اجازت کبھی نہیںپیرامیٹرز (6)
titlestringلازمی2 سے 120 حروف
propertyIdsstring[]لازمی1 سے 12 آئٹمز
kindstringاختیاریDefault: property. "client" goes with leadId.
ان میں سے ایک:
property,client,presentationleadIdstringاختیاریAn id returned by another EcoMark tool.
1 سے 80 حروف
introstringاختیاریزیادہ سے زیادہ 1,200 حروف
idempotencyKeystringاختیاریOptional. A value of your own, the same on every retry of this one request: it is then carried out once. Without it, identical arguments within ten minutes count as the same request.
پیٹرن:
^[\x21-\x7e]{8,80}$
منظوری مانگنے والے ٹولز
2یہ ایک درخواست درج کرتے ہیں جسے ممبر EcoMark کے اندر منظور یا مسترد کرتا ہے۔
request_publish
Ask to publishپوچھتا ہےAsk the connected member to make a draft link, a draft QR code or an unpublished portfolio public. This does NOT publish anything: it files a request the member approves or rejects in EcoMark. Returns the address to open and a requestId for get_request_status.
اجازت
links:draftلنکس، کیو آر کوڈز اور پورٹ فولیوز کے ڈرافٹ بنائیں، شائع کرنے کی اجازت کبھی نہیںپیرامیٹرز (2)
typestringلازمیان میں سے ایک:
link,qr,portfolioidstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
request_send_message
Ask to send a draftپوچھتا ہےAsk the connected member to send one of their draft messages (from draft_message) to the client, as it is. This does NOT send anything: it files a request the member approves or rejects in EcoMark, where they see the full text. If the draft is edited afterwards the request no longer applies. Returns the address to open and a requestId for get_request_status.
اجازت
messages:draftپیغامات کے ڈرافٹ تیار کریں، بھیجنے کی اجازت کبھی نہیںپیرامیٹرز (1)
messageIdstringلازمیAn id returned by another EcoMark tool.
1 سے 80 حروف
نام اور تفصیلات سرور کا اپنا حوالہ جاتی متن ہیں، انگریزی میں۔
قواعد#
- شناخت: درخواست کس کی حیثیت سے کام کرتی ہے یہ ٹوکن سے آتا ہے۔ کسی ٹول میں ایجنسی یا کام کرنے والے ممبر کا کوئی آرگیومنٹ نہیں؛ اگر پھر بھی کوئی بھیجا جائے، جیسے
agencyId، تو کچھ نہیں بدلتا۔ - اوقات آفسیٹ کے ساتھ ISO 8601 میں ہوتے ہیں، مثلاً
2026-10-09T10:00:00+02:00۔ جوابات UTC میں ہوتے ہیں۔whoamiممبر کا ٹائم زون بتاتا ہے۔ - آئی ڈیز دوسرے EcoMark ٹولز سے آتی ہیں۔ کلائنٹ کبھی کوئی آئی ڈی خود نہیں گھڑتا۔
- فہرستیں صفحات میں آتی ہیں: اندر
limitاورcursor، باہرtotalاورnextCursor۔ آخری صفحے پرnextCursorکی قدرnullہوتی ہے۔ - واپسی کے لنکس: بہت سے جوابات میں
openInEcoMarkہوتا ہے، یعنی پروڈکٹ میں ریکارڈ کا ایڈریس۔ - ریکارڈز کے اندر کا متن (نام، نوٹس، پیغامات) دوسرے لوگوں نے لکھا ہے۔ سرور کلائنٹس سے کہتا ہے کہ اسے رپورٹ کرنے کا ڈیٹا سمجھیں، کبھی عمل کرنے کی ہدایات نہیں۔
جواب کی ساخت#
ہر ٹول ایک ہی قدر دو بار دیتا ہے: content[0].text میں JSON متن کے طور پر، ان کلائنٹس کے لیے جو متن پڑھتے ہیں، اور structuredContent کے طور پر، ان کلائنٹس کے لیے جو ساخت پڑھتے ہیں۔ جب ٹول مانگا گیا کام نہ کر سکے تو قدر { "error": { "code", "message" } } ہوتی ہے اور نتیجے میں isError: true ہوتا ہے۔ کوڈز غلطیاں اور حدود میں ہیں۔
{"result":{"content":[{"type":"text","text":"{\"error\":{\"code\":\"not_found\",\"message\":\"No lead with that id is available to this member.\"}}"}],"structuredContent":{"error":{"code":"not_found","message":"No lead with that id is available to this member."}},"isError":true},"jsonrpc":"2.0","id":8}پڑھنا، شروع سے آخر تک#
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "list_leads",
"arguments": {
"followUpOverdue": true,
"limit": 2
}
}
}{
"leads": [
{
"id": "lead_vidal",
"name": "Carmen Vidal",
"stage": "negotiation",
"temperature": "hot",
"source": "direct",
"objective": "acquire",
"market": "Madrid",
"assignedTo": "Marco Bellini",
"nextAction": "Counter-offer on Serrano 88",
"nextActionAt": "2026-10-07T12:30:00.000Z",
"lastActivityAt": "2026-10-07T22:38:51.350Z"
},
{
"id": "lead_petrov",
"name": "Ilya Petrov",
"stage": "contacted",
"temperature": "warm",
"source": "email",
"objective": "rent",
"market": "Moscow",
"assignedTo": "Marco Bellini",
"nextAction": "Confirm viewing window",
"nextActionAt": "2026-10-06T10:00:00.000Z",
"lastActivityAt": "2026-10-04T07:38:51.350Z"
}
],
"total": 3,
"nextCursor": "Mg"
}لکھنا، شروع سے آخر تک#
لکھنے سے EcoMark کے اپنے ریکارڈز آپ کے نام سے بدلتے ہیں۔ جہاں ریکارڈ اپنی ہسٹری رکھتا ہے (لیڈ، اپوائنٹمنٹ، پورٹ فولیو)، وہاں اندراج بتاتا ہے کہ یہ کلائنٹ کے ذریعے کیا گیا۔ ہر تحریر چلنے سے پہلے درج کی جاتی ہے، اس لیے دوبارہ کوشش اسے دو بار نہیں کر سکتی۔
{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "create_task",
"arguments": {
"title": "Call the notary",
"dueAt": "2026-10-09T10:00:00+02:00",
"durationMinutes": 20,
"idempotencyKey": "task-notary-0001"
}
}
}{
"task": {
"id": "cal_muyvbfgb18qhy",
"kind": "task",
"title": "Call the notary",
"dueAt": "2026-10-09T08:00:00.000Z",
"durationMinutes": 20
},
"openInEcoMark": "https://www.ecomarkai.com/calendar"
}وہی درخواست دوبارہ بھیجی جائے تو پہلا جواب ہی واپس آتا ہے، replayed کے نشان کے ساتھ۔ دوسری بار کچھ نہیں لکھا جاتا۔
{
"task": {
"id": "cal_muyvbfgb18qhy",
"kind": "task",
"title": "Call the notary",
"dueAt": "2026-10-09T08:00:00.000Z",
"durationMinutes": 20
},
"openInEcoMark": "https://www.ecomarkai.com/calendar",
"replayed": true
}idempotencyKey کے بغیر، ایک مختصر مدت کے اندر ایک جیسے آرگیومنٹس کو ایک ہی درخواست سمجھا جاتا ہے؛ یہ مدت غلطیاں اور حدود میں “دہرائی گئی تحریریں” کے تحت درج ہے۔ وہی کلید دوسرے آرگیومنٹس کے ساتھ ہو تو conflict کے ساتھ مسترد کر دی جاتی ہے۔
تحریر آپ کی ایجنسی کے اندر کیا شروع کر سکتی ہے
تحریر سے نہ کسی کلائنٹ کو کچھ بھیجا جاتا ہے نہ کچھ پبلک ہوتا ہے۔ اگر آپ کی ایجنسی نے Slack منسلک کیا ہے اور بکنگز یا گرم لیڈز کی اطلاعات آن کی ہیں، تو کلائنٹ کے ذریعے بنائی، منتقل یا منسوخ کی گئی اپوائنٹمنٹ، یا گرم ہو جانے والی لیڈ، ایجنسی کے چینل میں بالکل اسی طرح اعلان ہوتی ہے جیسے آپ EcoMark میں یہ کام کریں۔
منظوری، شروع سے آخر تک#
شائع کرنا اور بھیجنا درخواستیں ہیں۔ کلائنٹ پہلے ڈرافٹ تیار کرتا ہے، پھر پوچھتا ہے؛ فیصلہ آپ EcoMark میں کرتے ہیں۔
{
"title": "Open house Saturday",
"destinationUrl": "https://example.com/open-house"
}{
"link": {
"id": "link_muyvbfgv248z8",
"title": "Open house Saturday",
"state": "draft",
"address": "https://www.ecomarkai.com/l/meridian/open-house-saturday",
"pointsTo": "https://example.com/open-house"
},
"live": false,
"openInEcoMark": "https://www.ecomarkai.com/links/link_muyvbfgv248z8"
}{
"type": "link",
"id": "link_muyvbfgv248z8"
}{
"status": "approval_required",
"requestId": "mrq_1fa5bf53ceae4aa1995193f6",
"approveInEcoMark": "https://www.ecomarkai.com/settings/integrations/requests/mrq_1fa5bf53ceae4aa1995193f6",
"expiresAt": "2026-10-09T01:38:51.537Z",
"alreadyRequested": false,
"note": "Nothing has been published or sent. The member has to open the link, signed in to EcoMark, and approve it there. Use get_request_status to see what they decided."
}اس مرحلے پر کچھ نہیں بدلا: لنک ابھی ڈرافٹ ہی ہے۔ آپ کو EcoMark میں درخواست کا جائزہ کے ساتھ ایک اطلاع ملتی ہے، اور درخواست ایپس ← بیرونی معاونین ← آپ کی منظوری کا منتظر کے تحت درج ہوتی ہے۔ کلائنٹ نتیجہ get_request_status سے پڑھتا ہے۔
{
"requestId": "mrq_1fa5bf53ceae4aa1995193f6",
"kind": "publish",
"status": "pending",
"result": null,
"requestedAt": "2026-10-08T01:38:51.537Z",
"resolvedAt": null,
"approveInEcoMark": "https://www.ecomarkai.com/settings/integrations/requests/mrq_1fa5bf53ceae4aa1995193f6"
}{
"requestId": "mrq_1fa5bf53ceae4aa1995193f6",
"kind": "publish",
"status": "approved",
"result": {
"published": "link",
"id": "link_muyvbfgv248z8"
},
"requestedAt": "2026-10-08T01:38:51.537Z",
"resolvedAt": "2026-10-08T01:52:07.118Z"
}منظوریوں کے بارے میں مزید، اور یہ کہ درخواست مسترد ہونے، میعاد ختم ہونے یا ناکام ہونے پر کیا ہوتا ہے، اجازتیں اور منظوریاں میں ہے۔