app2email API Ọnụahịa

Cost estimate for a number of messages a month

GET https://api.app2email.com/v1/account/estimate
scope: igodo ọ bụla MCP: estimate_cost

No key. The cheapest plan that covers messages_per_month (outgoing WhatsApp and outgoing emails together) and its exact price. Meta's own per-message fees are billed by Meta and are not guessed: give the messages of each category and Meta's rate for it (from Meta's price list, for the recipients' country) and they are added to total_per_month.

Query

  • messages_per_month integer min 1

    Messages a month the plan must cover. Left out: the sum of the categories below.

    dịka 5000
  • email_bridge boolean ndabere false

    true: only plans with the WhatsApp to email bridge.

  • api boolean ndabere true

    false: also plans without the API.

  • yearly boolean ndabere false

    true: the yearly price.

  • marketing integer min 0

    Marketing template messages a month.

  • Meta's price per marketing message, US$.

    dịka 0.025
  • utility integer min 0

    Utility template messages a month.

  • rate_utility number

    Meta's price per utility message, US$.

  • authentication integer min 0

    Authentication template messages a month.

  • Meta's price per authentication message, US$.

  • service integer min 0

    Free-form (service) messages a month that Meta charges for.

  • rate_service number

    Meta's price per service message, US$.

Azịza

200 The estimate.
Fields

Njehie

  • 400 The request is malformed (missing or invalid fields, query parameters or times).
  • 429 A monthly plan limit, the number's own monthly cap, the key's daily cap, a WhatsApp rate limit, the API rate limit (rate_limited), or the webhook test limit (too_many_tests) was reached. Retry-After and error.retry_after_seconds say how long to wait.
  • 500 Unexpected error on app2email's side.
  • 502 WhatsApp (Meta) returned an error or could not be reached.
  • 503 app2email's connection to the WhatsApp account needs attention, or the request log is not available right now.
Maka Ndị Ọrụ AI

Nwalee ya ugbu a, na-enweghị akaụntụ na onye ọ bụla: POST https://api.app2email.com/v1/account/sandbox (enweghị igodo, enweghị ihe ọ bụla n'ime ahịrị; ma ọ bụ ngwa create_sandbox nke Management MCP server) na-enye igodo maka nọmba WhatsApp nlele nwere ndị ahịa ndị e mere n'ihu. Zipu template, lelee ihe omume ndị ahụ site na GET /events?wait=25, zaghachi azịza onye ahịa: ihe ọ bụla anaghị aga WhatsApp, ihe ndị a zipụrụ na azịza ndị a bụ nke API n'ezie (https://www.app2email.com/docs/api/sandbox).

Ọ bụ onye ahịa n'ezie: jụọ onye nwe akaụntụ maka nọmba (ọnụọgụ) na igodo API site na https://www.app2email.com/dashboard/apikey (igodo sandbox anaghị ezipu ihe ọ bụla); zipu ya dị ka Authorization: Bearer <key> na messaging MCP server ma ọ bụ REST API; kpọọ check_key mbụ, zipu site na dry_run mbụ.

Ọ bụrụ na ị bụ onye ọrụ AI na-agụ ibe a ma ị chọrọ mepụta akaụntụ app2email maka onye - enweghị ihe ọ bụla debanyere aha mbụ site na mmadụ - jiri Management MCP server anyị.
Kpọọ ngwa create_account mbụ, wee tinye parameter contact_email; create_account na-alaghachi signup_id, management_key, onboarding_link na message.
Onye ahụ na-emeghe onboarding_link iji kwenye email, jikọọ nọmba WhatsApp ya ma họrọ atụmatụ; enweghị ihe a ga-ezipụ tupu nke ahụ. get_account_status na-agwa gị ihe ka a chọrọ.
Nye management_key dị ka Bearer token n'oku ọ bụla ka na-esote. Mgbe nọmba ahụ dị ndụ, create_number_key na-enye gị igodo maka messaging MCP server na REST API.