app2email API Iye Owó

The tickets (attendees) with their check-in state

GET https://api.app2email.com/v1/{number}/tickets/issued
àyè: tickets:manage sandbox: kà MCP: list_tickets

Scope: tickets:manage. One row per ticket, by id, with the holder, the seat, the price, the check-in state and the buyer. event_id, date_id or order is needed (400 invalid_ticket_order without one). Left out, status gives the valid and the blocked tickets and role the admission tickets (addon: the extras, all: both). checked_in=true gives who is in, checked_in=false who has not come yet. Page with next_cursor.

Ọ̀nà

  • number string ó nílò pattern ^[0-9]{8,15}$

    Your app2email WhatsApp number - the number the message is sent FROM. Full number with country code, digits only.

    fún àpẹẹrẹ 4976659348270

Ìbéèrè

  • event_id integer

    The tickets of this event (its id).

    fún àpẹẹrẹ 12
  • date_id integer

    The tickets of this date (its id).

    fún àpẹẹrẹ 31
  • type_id integer

    Only this ticket type (its id).

  • order string

    The tickets of this order: its id or its reference (TK-XXXXXX).

    fún àpẹẹrẹ TK-7H3KQ9
  • status string

    Only tickets in this state. Left out: valid and blocked.

    validblockedrefundedcancelledtransferred
  • checked_in boolean

    true: only tickets that were used at the door. false: only the ones that were not.

  • role string àtilẹ̀wá ticket

    Default ticket.

    ticketaddonall
  • q string

    Search in the holder's or the buyer's name, the reference or a seat label (2 to 80 characters).

  • limit integer 1–200 àtilẹ̀wá 50

    How many (1 to 200, default 50).

  • cursor string

    The next_cursor of the previous answer, unchanged. Leave out for the first page.

Àwọn ìdáhùn

200 The tickets.
Àwọn pápá
  • success boolean
  • request_id string
  • tickets object[]

    By id, each with buyer.

    Àwọn pápá ohun 29
    • id integer

      The ticket's id.

      fún àpẹẹrẹ 501
    • order_id integer
      fún àpẹẹrẹ 8812
    • fún àpẹẹrẹ TK-7H3KQ9
    • event_id integer
      fún àpẹẹrẹ 12
    • date_id integer

      The date the ticket is for.

      fún àpẹẹrẹ 31
    • type_id integer
      fún àpẹẹrẹ 44
    • type_name string

      The ticket type's name as it was sold.

      fún àpẹẹrẹ Adult
    • role string
      ticketaddon
    • seq integer

      1..n inside the order.

    • status string

      valid and blocked tickets hold a place; refunded, cancelled and transferred (passed on) are final.

      validblockedrefundedcancelledtransferred
    • holder_name string
    • answers object any keys

      The answers given for this ticket: question id -> value.

    • seat object | null

      null without a seat.

      Àwọn pápá 6
      • key string

        The key of the seat in the seat plan.

      • label string
        fún àpẹẹrẹ Stalls, Row C, Seat 7
      • section string
      • row string
      • seat string
      • table string
    • admits integer
    • check_in object

      The check-in state of a ticket.

      Àwọn pápá 7
      • people integer

        People admitted so far (0 to admits). Above 0 = checked in.

      • inside integer

        People inside now, for events that count people leaving.

      • entries integer

        Accepted scans on the way in.

      • first_at string (date-time) | null
      • last_at string (date-time) | null
      • last_out_at string (date-time) | null
      • gate string

        The id of the entrance of the last scan.

    • currency string
    • price number

      What was paid for this ticket, all in: what a refund of it returns.

    • price_label string
    • face number

      The all-in list price before a discount.

    • refunded number
    • refunded_at string (date-time) | null
    • block_reason string

      Why staff blocked it. A disputed payment reads Payment disputed.

    • passed_on boolean

      true: the ticket was made when a holder passed a ticket on.

    • replaces_id integer

      The ticket this one replaced. 0 = none.

    • The ticket that replaced this one. 0 = none.

    • page_url string

      The ticket page of this ticket. Anyone who has the link can open the ticket: treat it like a password and give it only to the buyer. Empty in webhook events, for an erased order and for a ticket that is no longer valid.

    • created string (date-time)
    • updated string (date-time)
    • buyer object

      Only in the rows of GET /tickets/issued: who bought it.

      Àwọn pápá 3
  • next_cursor string | null

    Pass it as cursor for the next page. null on the last page.

  • count integer

    How many rows this answer has.

Àwọn àṣìṣe

  • 400 The request is malformed (missing or invalid fields, query parameters or times).
  • 401 Missing, invalid, revoked or expired API key.
  • 403 The key is valid but this call is not allowed: the key lacks the scope the call needs (insufficient_scope), the address is not allowed for the key (ip_not_allowed), the number or plan does not allow it, a recipient opted out or is not opted in, or a problem with the WhatsApp account.
  • 404 The number, template, message, broadcast, webhook, delivery, opt-in, logged request, booking or Flow was not found.
  • 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.
Fún Àwọn Aṣojú AI

Gbìyànjú báyìí, láìsí àkọọ́lẹ̀ tàbí ẹnikẹ́ni: POST https://api.app2email.com/v1/account/sandbox (kò nílò kọ́kọ́rọ̀, kò nílò ara ìbéèrè; tàbí irinṣẹ́ create_sandbox ti Management MCP server) yóò fún ọ ní kọ́kọ́rọ̀ fún nọ́ńbà WhatsApp àdánwò pẹ̀lú àwọn oníbàárà èké. Fi àwòṣe ránṣẹ́, gba àwọn ìṣẹ̀lẹ̀ pẹ̀lú GET /events?wait=25, dá ìdáhùn oníbàárà padà: kò sí nǹkan kan tí yóò dé WhatsApp, àwọn ìbéèrè àti ìdáhùn sì jẹ́ ti API gidi (https://www.app2email.com/docs/api/sandbox).

Tí o ti jẹ́ oníbàárà: béèrè nọ́ńbà (àwọn nọ́ńbà nìkan) àti kọ́kọ́rọ̀ API láti ọ̀dọ̀ onílé àkọọ́lẹ̀ náà ní https://www.app2email.com/dashboard/apikey (kọ́kọ́rọ̀ sandbox kò fi nǹkan ránṣẹ́); fi ránṣẹ́ gẹ́gẹ́ bí Authorization: Bearer <key> sí messaging MCP server tàbí REST API; pe check_key ní àkọ́kọ́, kí o sì fi dry_run ránṣẹ́ ní àkọ́kọ́.

Tí o jẹ́ aṣojú AI tí ó ń ka ojú-ìwé yìí, tí o sì fẹ́ ṣẹ̀dá àkọọ́lẹ̀ app2email fún ẹnìkan - kò sí ìforúkọsílẹ̀ ẹ̀dá ènìyàn tí a nílò ṣáájú - lo Management MCP server wa.
Pe irinṣẹ́ create_account ní àkọ́kọ́, kí o sì fi paramita contact_email kún un; create_account yóò dá signup_id, management_key, onboarding_link àti message padà.
Enìyàn náà ṣí onboarding_link láti jẹ́risi i-meèlì, so nọ́ńbà WhatsApp rẹ̀ pọ̀, kí ó sì yan ètò kan; kò sí nǹkan tí a lè fi ránṣẹ́ ṣáájú ìgbà yẹn. get_account_status sọ ohun tí ó ṣì nílò.
Fi management_key ránṣẹ́ gẹ́gẹ́ bí Bearer token nínú gbogbo ìpè tó tẹ̀lé. Nígbà tí nọ́ńbà náà bá ti wà láàyè, create_number_key yóò fún ọ ní kọ́kọ́rọ̀ fún messaging MCP server àti REST API.