Volver al catálogo

Linq

linq

Send and manage iMessage, RCS, and SMS conversations, attachments, phone numbers, payments, and webhooks through the Linq Partner API.

Acciones
68
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (68)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add Chat ParticipantLINQ_ADD_CHAT_PARTICIPANTAcción

Add an external participant to an existing group chat. The participant-visible change is queued asynchronously.

Parámetros de entrada

  • handlestringObligatorio

    Phone number in E.164 format or email address of the participant to add.

  • chat_idstringObligatoriouuid

    Unique identifier of the group chat.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Poll OptionsLINQ_ADD_POLL_OPTIONSAcción

Irreversibly add recipient-visible options to an existing iMessage poll. Poll options cannot be edited or removed after they are added.

Parámetros de entrada

  • optionsobject[]Obligatorio

    Options to append. On a zero-day-retention line, include every existing option in original order followed by the new options.

  • message_idstringObligatorio

    Poll-definition message ID returned when the poll was created.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Block HandleLINQ_BLOCK_HANDLEAcción

Block a handle account-wide from inbound and direct outbound messaging. Pair controlled test blocks with UNBLOCK_HANDLE cleanup.

Parámetros de entrada

  • handlestringObligatorio

    Handle to block account-wide: an E.164 phone number, email address, 3-8 digit SMS short code, or alphanumeric sender ID.

  • reasonstring

    Optional free-text note explaining why the handle is blocked.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel PaymentLINQ_CANCEL_PAYMENTAcción

Irreversibly cancel a financial payment and close its virtual card. Confirm the payment identifier and authorization before calling because the canceled payment cannot be resumed.

Parámetros de entrada

  • payment_idstringObligatorio

    Payment identifier whose virtual card and payment will be canceled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel Payment RequestLINQ_CANCEL_PAYMENT_REQUESTAcción

Irreversibly cancel an unpaid payment request and its underlying payment intent. The checkout can no longer be completed after cancellation; paid, canceled, or expired requests cannot be canceled. Confirm the request ID and intent first.

Parámetros de entrada

  • payment_request_idstringObligatorio

    Unique ID of the unpaid payment request to cancel.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Messaging CapabilityLINQ_CHECK_MESSAGING_CAPABILITYAcción

Check whether a recipient can receive iMessage or RCS without sending a message. Linq permits only one capability check per 10 seconds; cache successful answers briefly (minutes, not days) instead of checking before every send.

Parámetros de entrada

  • addressstringObligatorio

    Recipient E.164 phone number, or an email address for an iMessage check.

  • servicestringObligatorioenum

    Messaging service to check. RCS accepts E.164 phone numbers only; iMessage accepts E.164 phone numbers or email addresses.

    iMessageRCS
  • from_phone_numberstring

    Optional sender line in E.164 format. Omit it to let Linq choose an available line.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Connect Payment HandleLINQ_CONNECT_PAYMENT_HANDLEAcción

Start the financial-consent ceremony for a customer phone number or email so an agent can later pay on that customer's behalf. This consent-sensitive, irreversible action may contact the customer and send an OTP; call it only with the customer's explicit consent.

Parámetros de entrada

  • handlestringObligatorio

    Consenting customer's phone number in E.164 format or email address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ChatLINQ_CREATE_CHATAcción

Create or reuse a chat on an explicit sending line and send an irreversible recipient-visible initial message. First-message text and parts cannot contain links.

Parámetros de entrada

  • messageobjectObligatorio

    Initial message for the new chat.

  • recipientsstring[]Obligatorio

    Recipient phone numbers in E.164 format or email addresses.

  • override_optoutboolean

    Send this request despite an existing recipient opt-out. The opt-out remains in place and the override is audited.

  • from_phone_numberstringObligatorio

    Authorized sender phone number in E.164 format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PaymentLINQ_CREATE_PAYMENTAcción

Create or advance a real financial payment on a connected customer's behalf, potentially minting a single-use virtual card. This is consent-sensitive and financially consequential; obtain explicit customer authorization, verify the amount and merchant, and use an Idempotency-Key for retries.

Parámetros de entrada

  • handlestringObligatorio

    Consenting customer's phone number in E.164 format or email address.

  • currencystringObligatorio

    Currency code for the payment.

  • merchantobject

    Optional merchant name and URL against which the virtual card is minted.

  • metadataobject

    Optional caller-owned string metadata echoed on the payment.

  • descriptionstring

    Optional description of the purchase.

  • amount_centsintegerObligatorio

    Payment amount in minor currency units.

  • idempotency_keystring

    Optional stable key for safe retries of this exact payment request. Reuse the same key rather than creating a second financial operation.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Payment RequestLINQ_CREATE_PAYMENT_REQUESTAcción

Create a customer-facing checkout that can collect a one-time charge or start an auto-renewing subscription. This creates financial state but does not itself send the checkout URL to a recipient. Confirm the amount, currency, mode, rail, and intended payer before calling; use idempotency_key for retries.

Parámetros de entrada

  • modestringenum

    payment collects once; subscription starts automatic recurring billing.

    paymentsubscription
  • railstringenum

    stripe settles to the connected Stripe account; natural uses Natural custodial wallets.

    stripenatural
  • amountinteger

    One-time amount in minor currency units; required only in payment mode.

  • currencystring

    ISO 4217 currency code; currently usd and required only in payment mode.

  • discountobject

    One Stripe coupon or promotion code for a subscription.

  • metadataobject

    Up to 49 correlation fields; keys beginning with linq_ are reserved.

  • price_idstring

    Active recurring Stripe Price ID; required only in subscription mode.

  • quantityinteger

    Subscription price quantity; Linq defaults it to 1 when omitted.

  • trial_endstring

    Future ISO 8601 subscription trial-end timestamp; mutually exclusive with trial_period_days.

  • customer_idstring

    Existing Stripe Customer ID on the connected account, when applicable.

  • descriptionstring

    Description shown to the recipient at checkout.

  • payer_handlestring

    Payer E.164 phone number; required for the natural rail.

  • idempotency_keystring

    Key for safely retrying this creation without creating another payment request; reuse it only with identical parameters.

  • from_phone_numberstring

    Organization-owned E.164 sending line; required for the natural rail.

  • trial_period_daysinteger

    Subscription free-trial length in days; mutually exclusive with trial_end.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PollLINQ_CREATE_POLLAcción

Irreversibly send a recipient-visible iMessage poll to an existing chat. A poll cannot be the chat's first message, and its options are add-only and immutable.

Parámetros de entrada

  • pollobjectObligatorio

    Poll options and optional idempotency key.

  • chat_idstringObligatorio

    Unique ID of the existing chat that receives the poll.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Webhook SubscriptionLINQ_CREATE_WEBHOOK_SUBSCRIPTIONAcción

Create a webhook subscription for selected Linq events at a controlled HTTPS callback. The response includes a one-time signing secret that must be stored securely.

Parámetros de entrada

  • target_urlstringObligatoriouri

    HTTPS URL where Linq sends webhook events.

  • phone_numbersstring[]

    Optional E.164 sending-line filters. Omit or pass an empty list to receive events from all lines.

  • routing_id_headerstring

    Optional header name used to carry the chat ID for routing. Ignored unless routing_key_header is set.

  • subscribed_eventsstring[]Obligatorio

    Event types to deliver. Use LIST_WEBHOOK_EVENTS to discover currently available values.

  • routing_key_headerstring

    Optional header name used for Linq delivery-affinity routing tokens. This configures a header name, not a token value.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete AttachmentLINQ_DELETE_ATTACHMENTAcción

Permanently delete a Linq attachment and its stored bytes.

Parámetros de entrada

  • attachment_idstringObligatoriouuid

    Unique identifier of the attachment to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete MessageLINQ_DELETE_MESSAGEAcción

Irreversibly delete a message record from Linq. This does not unsend the message or remove it from recipients' devices, and its idempotency key cannot be reused to resend it.

Parámetros de entrada

  • message_idstringObligatorio

    Unique ID of the message record to delete from Linq.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Webhook SubscriptionLINQ_DELETE_WEBHOOK_SUBSCRIPTIONAcción

Permanently delete a Linq webhook subscription and stop its future event deliveries.

Parámetros de entrada

  • subscription_idstringObligatorio

    Unique identifier of the webhook subscription to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit MessageLINQ_EDIT_MESSAGEAcción

Irreversibly change recipient-visible text in one part of a message sent within the last 15 minutes. Linq permits at most five edits per message. A response with no message fields means Linq accepted an edit for a deleted message.

Parámetros de entrada

  • textstringObligatorio

    Replacement text for the selected message part.

  • message_idstringObligatorio

    Unique ID of the previously sent message to edit.

  • part_indexinteger

    Index of the message part to edit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AttachmentLINQ_GET_ATTACHMENTAcción

Return metadata and current status for a Linq attachment referenced by a message. This metadata-only action does not download the file.

Parámetros de entrada

  • attachment_idstringObligatoriouuid

    Attachment ID found in a message part.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Available NumberLINQ_GET_AVAILABLE_NUMBERAcción

Select an available Linq sending number, optionally for recipients or a line type. Treat the returned vCard URL as sensitive and ephemeral.

Parámetros de entrada

  • typestringenum

    Only select an RCS or iMessage sending line.

    RCSiMessage
  • recipientsstring[]

    Recipient E.164 numbers or emails used to make the line selection sticky to an existing matching chat.

  • exclude_fromstring[]

    E.164 sending lines to exclude from selection, up to 100 entries.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ChatLINQ_GET_CHATAcción

Return one chat by ID, including participants, service, state, and health information.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique chat ID returned by LINQ_LIST_CHATS or a send action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Chat LocationLINQ_GET_CHAT_LOCATIONAcción

Return precise locations currently shared by contacts in a chat. Treat coordinates and addresses as sensitive and minimize retention.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Identifier of the chat whose actively shared locations should be returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ExperienceLINQ_GET_EXPERIENCEAcción

Return one Linq experience and preserve its dynamic action field definitions. Discovery does not prove that required provider setup is complete.

Parámetros de entrada

  • experiencestringObligatorio

    Experience key returned by LIST_EXPERIENCES, such as agentpay.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MessageLINQ_GET_MESSAGEAcción

Return one Linq message by ID with its content parts, sender, actual and preferred transport, delivery state, reply target, and timestamps.

Parámetros de entrada

  • message_idstringObligatorio

    Unique message ID returned by a message list, send action, or webhook.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PaymentLINQ_GET_PAYMENTAcción

Read a payment's financial state, amount, customer handle, merchant details, and any customer-action URL. Treat returned identifiers and hosted URLs as sensitive financial metadata.

Parámetros de entrada

  • payment_idstringObligatorio

    Payment identifier returned by CREATE_PAYMENT.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payment CredentialsLINQ_GET_PAYMENT_CREDENTIALSAcción

Return the complete, highly sensitive short-lived handoff used to reveal a ready payment's virtual card directly from the provider. The response includes provider, user_token, card_ref, and fetch_url when supplied. Use it only for the immediate authorized checkout; never log, persist, or disclose the handoff or the resulting PAN/CVC.

Parámetros de entrada

  • payment_idstringObligatorio

    Ready payment identifier whose card-reveal handoff is required.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payment Handle ConnectionLINQ_GET_PAYMENT_HANDLE_CONNECTIONAcción

Read the financial-consent connection status for a customer phone number or email. Query only a customer handle whose owner consented to this lookup; the response may include a transient connect_id for a pending ceremony.

Parámetros de entrada

  • handlestringObligatorio

    Consenting customer's phone number in E.164 format or email address.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payment ProviderLINQ_GET_PAYMENT_PROVIDERAcción

Read the organization's onboarding status for a payment provider. This is a read-only financial setup check; a 404 is an execution failure and must not be interpreted as a normal disabled status.

Parámetros de entrada

  • providerstringObligatorio

    Payment-provider key, such as agentcard.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Payment RequestLINQ_GET_PAYMENT_REQUESTAcción

Return one payment request's amount, lifecycle status, checkout details, and provider join keys. This is read-only financial metadata; treat checkout URLs and customer or provider IDs as sensitive.

Parámetros de entrada

  • payment_request_idstringObligatorio

    Unique payment-request ID returned by create or list.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PollLINQ_GET_POLLAcción

Return an iMessage poll's current options, voters, and distinct voter count.

Parámetros de entrada

  • message_idstringObligatorio

    Poll-definition message ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Reputation AuditLINQ_GET_REPUTATION_AUDITAcción

Return a Linq line reputation audit created with explicit approval. Audits are retained for no more than 24 hours.

Parámetros de entrada

  • audit_idstringObligatorio

    Audit identifier returned by START_REPUTATION_AUDIT.

  • phone_numberstringObligatorio

    Audited Linq sending line in E.164 format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Webhook SubscriptionLINQ_GET_WEBHOOK_SUBSCRIPTIONAcción

Return one Linq webhook subscription by ID, including its callback URL, event and phone filters, active state, and configured routing-header names.

Parámetros de entrada

  • subscription_idstringObligatorio

    Unique identifier of the webhook subscription.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Leave ChatLINQ_LEAVE_CHATAcción

Leave an iMessage group chat. This is irreversible and prevents further interaction through the sending line.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the group chat to leave.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Blocked HandlesLINQ_LIST_BLOCKED_HANDLESAcción

Return phone numbers, email addresses, short codes, and sender IDs currently blocked account-wide from inbound and direct outbound messaging.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ChatsLINQ_LIST_CHATSAcción

Return one page of chats, optionally filtered by sending line or participant, with a cursor for the next page.

Parámetros de entrada

  • limitinteger

    Maximum chats to return in this page (1-100).

  • cursorstring

    Opaque next_cursor from a previous LIST_CHATS response; omit for the first page.

  • participantstring

    Only return chats containing this participant phone number or email address.

  • from_phone_numberstring

    Only return chats using this sender line in E.164 format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Contact CardsLINQ_LIST_CONTACT_CARDSAcción

Return Linq account contact-card identity data, optionally for one E.164 sending line.

Parámetros de entrada

  • phone_numberstring

    E.164 sending line to filter by. Omit to return all account contact cards.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ExperiencesLINQ_LIST_EXPERIENCESAcción

Discover Linq experiences and their dynamic action fields. Availability in this response does not prove payment-provider onboarding is complete.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List MessagesLINQ_LIST_MESSAGESAcción

Return one page of messages from a chat, including content, sender, transport, delivery state, direction, reply target, and timestamps, plus a cursor for older messages.

Parámetros de entrada

  • limitinteger

    Maximum messages to return in this page (1-100).

  • cursorstring

    Opaque next_cursor from a previous response; omit for the first page.

  • chat_idstringObligatorio

    Chat whose messages to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Message ThreadLINQ_LIST_MESSAGE_THREADAcción

Return one page containing the origin message and threaded replies, starting from any message in the thread. A message with no thread returns by itself.

Parámetros de entrada

  • limitinteger

    Maximum thread messages to return in this page (1-100).

  • orderstringenum

    Sort messages oldest-first (asc) or newest-first (desc).

    ascdesc
  • cursorstring

    Opaque next_cursor from a previous response; omit for the first page.

  • message_idstringObligatorio

    ID of any message in the thread.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Payment RequestsLINQ_LIST_PAYMENT_REQUESTSAcción

Return one newest-first page of payment requests for reconciliation, optionally filtered by lifecycle status. This is read-only financial metadata; checkout URLs and customer or provider IDs in results are sensitive.

Parámetros de entrada

  • limitinteger

    Maximum payment requests in this page (1-100).

  • cursorstring

    Opaque continuation cursor from a previous response; omit for the first page.

  • offsetinteger

    Number of payment requests to skip on the first page.

  • statusstringenum

    Optional lifecycle-status filter.

    requestedauthorizedsucceededcanceledexpireddeclined

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Phone NumbersLINQ_LIST_PHONE_NUMBERSAcción

Return the connected Linq account's sending lines with line type, forwarding configuration, and reputation status.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Webhook EventsLINQ_LIST_WEBHOOK_EVENTSAcción

Return the webhook event types currently available for subscription on the connected Linq account.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Webhook SubscriptionsLINQ_LIST_WEBHOOK_SUBSCRIPTIONSAcción

Return the connected Linq account's webhook subscriptions, including event and phone-number filters, target URLs, active state, and routing-header names.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark Chat As ReadLINQ_MARK_CHAT_AS_READAcción

Mark every message in a chat as read and send an irreversible read receipt.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the chat to mark as read.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Chat BackgroundLINQ_REMOVE_CHAT_BACKGROUNDAcción

Reset a chat's recipient-visible transcript background to the default.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the chat.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove Chat ParticipantLINQ_REMOVE_CHAT_PARTICIPANTAcción

Remove an external participant from a group chat. This irreversibly changes recipient-visible conversation membership.

Parámetros de entrada

  • handlestringObligatorio

    Phone number in E.164 format or email address of the participant to remove.

  • chat_idstringObligatoriouuid

    Unique identifier of the group chat.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request Attachment UploadLINQ_REQUEST_ATTACHMENT_UPLOADAcción

Reserve persistent attachment storage and return a 15-minute presigned upload URL. This action does not upload file bytes; PUT the raw bytes separately to the returned opaque URL using the exact required_headers.

Parámetros de entrada

  • filenamestringObligatorio

    Name of the file to upload.

  • size_bytesintegerObligatorio

    Size of the file in bytes, from 1 byte through 100 MiB.

  • content_typestringObligatorioenum

    MIME type of the file to upload.

    image/jpegimage/pngimage/gifimage/heicimage/heifimage/tiffimage/bmpimage/svg+xmlimage/webpimage/x-iconvideo/mp4video/quicktime+39

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request Chat LocationLINQ_REQUEST_CHAT_LOCATIONAcción

Prompt a contact in a one-to-one iMessage chat to consent to sharing their precise location. This is recipient-visible and rate-limited per chat.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Identifier of the one-to-one iMessage chat whose contact should be prompted to share location.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revoke Payment Handle ConnectionLINQ_REVOKE_PAYMENT_HANDLE_CONNECTIONAcción

Irreversibly revoke this partner's financial-consent grant for a customer phone number or email. This prevents future payments through the grant but does not delete the customer's provider wallet; revoke only with explicit authorization.

Parámetros de entrada

  • handlestringObligatorio

    Customer phone number in E.164 format or email whose grant will be revoked.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send MessageLINQ_SEND_MESSAGEAcción

Send one irreversible, externally visible message to phone numbers or emails. Linq reuses a matching chat or creates one and automatically selects the sending line.

Parámetros de entrada

  • partsarray

    Ordered text, media, link, iMessage app, or App Clip parts. Link, iMessage app, and App Clip parts must each be the only part. Mutually exclusive with experience.

  • effectobject

    Optional iMessage screen or bubble effect.

  • reply_toobject

    Optional threaded-reply target.

  • experienceobject

    Single experience invocation sent as the whole message. Mutually exclusive with parts.

  • recipientsstring[]Obligatorio

    Recipient E.164 phone numbers or email addresses. One creates a direct chat; multiple create a group.

  • idempotency_keystring

    Caller-generated key that prevents retries from sending twice.

  • excluded_sendersstring[]

    E.164 sender lines not to choose for a new chat. Existing matching chats can still be reused on an excluded line.

  • continuation_textstring

    Replacement text sent only when Linq fails over an existing chat from a flagged line to a new line.

  • preferred_servicestringenum

    Optional delivery preference. iMessage has no fallback; RCS and SMS use Linq's documented RCS-to-SMS behavior.

    iMessageRCSSMS

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Message to ChatLINQ_SEND_MESSAGE_TO_CHATAcción

Send one follow-up or threaded reply to an existing Linq chat using its established sending line. This creates an irreversible recipient-visible message.

Parámetros de entrada

  • partsarray

    Ordered text, media, link, iMessage app, or App Clip parts. Mutually exclusive with experience.

  • effectobject

    Optional iMessage screen or bubble effect.

  • chat_idstringObligatorio

    Existing chat that should receive the message.

  • reply_toobject

    Optional target for a threaded reply.

  • experienceobject

    Single experience invocation sent as the whole message. Mutually exclusive with parts.

  • idempotency_keystring

    Caller-generated key that prevents a retry from sending twice.

  • preferred_servicestringenum

    Preferred transport. iMessage has no fallback; RCS and SMS follow Linq's documented RCS-to-SMS behavior.

    iMessageSMSRCS

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send Voice Memo to ChatLINQ_SEND_VOICE_MEMO_TO_CHATAcción

Irreversibly send recipient-visible audio as a native iMessage voice memo bubble to every participant in an existing Linq chat.

Parámetros de entrada

  • chat_idstringObligatorio

    Unique identifier of the chat that will receive the voice memo.

  • attachment_idstring

    ID of a voice-memo file pre-uploaded to Linq. Provide exactly one of attachment_id or voice_memo_url.

  • voice_memo_urlstring

    Publicly accessible HTTPS URL of an MP3, M4A, AAC, CAF, WAV, AIFF, or AMR audio file. Provide exactly one of voice_memo_url or attachment_id.

  • override_optoutboolean

    Send despite the recipient's opt-out. The opt-out remains active and Linq records every override against the API key.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Chat BackgroundLINQ_SET_CHAT_BACKGROUNDAcción

Set a recipient-visible color, animated, or photo transcript background. Linq processes the change asynchronously.

Parámetros de entrada

  • typestringObligatorioenum

    Background family to apply.

    colordynamicphoto
  • stylestringenum

    Animated style for a dynamic background.

    skywateraurora
  • shadesstring[]

    Two hexadecimal gradient stops for a custom color background.

  • chat_idstringObligatoriouuid

    Unique identifier of the chat.

  • variantstringenum

    Named color swatch, custom color, or dynamic variant for the selected style.

    mangoiceplumdeep_seagreen_applecherrybubblegumtangerinemagentalimesilvercarbon+13
  • image_urlstring

    Fetchable HTTPS image URL for a photo background.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Up Contact CardLINQ_SET_UP_CONTACT_CARDAcción

Create or replace a Linq contact card for a sending line. This changes public account identity and may activate contact-card sharing.

Parámetros de entrada

  • image_urlstring

    Optional HTTPS profile image URL for the contact card.

  • last_namestring

    Optional last name for the contact card.

  • first_namestringObligatorio

    Required first name for the contact card.

  • phone_numberstringObligatorio

    E.164 sending line to associate with the contact card.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Share Contact Card With ChatLINQ_SHARE_CONTACT_CARD_WITH_CHATAcción

Share the connected sending line's active contact card with a chat. This irreversibly discloses account identity to recipients.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the chat that should receive the active contact card.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Payment Provider OnboardingLINQ_START_PAYMENT_PROVIDER_ONBOARDINGAcción

Create a hosted payment-provider onboarding session for the organization. This starts an external Stripe/Agentcard authorization flow and returns a sensitive hosted URL that an authorized administrator must open; do not use it to complete production onboarding without explicit administrative consent.

Parámetros de entrada

  • providerstringObligatorio

    Payment-provider key, such as agentcard.

  • return_urlstringObligatorio

    URL where Linq redirects the administrator after authorization.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Reputation AuditLINQ_START_REPUTATION_AUDITAcción

Start a potentially metered or limited reputation audit for a Linq sending line. The resulting audit persists for 24 hours.

Parámetros de entrada

  • phone_numberstringObligatorio

    Linq sending line to audit in E.164 format.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start Typing IndicatorLINQ_START_TYPING_INDICATORAcción

Show a best-effort recipient-visible typing indicator for about 85-90 seconds. Primarily effective for active iMessage chats.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the chat.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop Chat Location SharingLINQ_STOP_CHAT_LOCATION_SHARINGAcción

Stop a specific contact's inbound location share. This consent-sensitive operation ends that contact's share across chats.

Parámetros de entrada

  • handlestringObligatorio

    Phone number in E.164 format or email address of the contact whose share should end.

  • chat_idstringObligatoriouuid

    Identifier of the chat whose inbound location share should be ended.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop Typing IndicatorLINQ_STOP_TYPING_INDICATORAcción

Immediately clear the connected line's recipient-visible typing indicator for a chat.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the chat.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Toggle Poll VoteLINQ_TOGGLE_POLL_VOTEAcción

Irreversibly send a recipient-visible update that adds or removes the connected line's vote on one option of an iMessage poll.

Parámetros de entrada

  • operationstringObligatorioenum

    Add or remove the connected line's vote on the option.

    addremove
  • option_idstringObligatorio

    Unique ID of the option whose vote will be toggled.

  • message_idstringObligatorio

    Poll-definition message ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unblock HandleLINQ_UNBLOCK_HANDLEAcción

Remove an account-wide messaging block. This changes messaging behavior; for testing, unblock only a handle blocked by the same test.

Parámetros de entrada

  • handlestringObligatorio

    Account-wide blocked handle to unblock.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ChatLINQ_UPDATE_CHATAcción

Update a group chat's display name or icon. The participant-visible change is processed asynchronously.

Parámetros de entrada

  • chat_idstringObligatoriouuid

    Unique identifier of the chat.

  • display_namestring

    New display name for the group chat.

  • group_chat_iconstring

    Image URL to set as the group chat icon.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Contact CardLINQ_UPDATE_CONTACT_CARDAcción

Update the public contact-card identity for one Linq sending line.

Parámetros de entrada

  • image_urlstring

    Updated profile image URL. Omit to preserve the existing image.

  • last_namestring

    Updated last name. Omit to preserve the existing value.

  • first_namestring

    Updated first name. Omit to preserve the existing value.

  • phone_numberstringObligatorio

    E.164 sending line whose contact card should be updated.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update iMessage App CardLINQ_UPDATE_IMESSAGE_APP_CARDAcción

Irreversibly send a recipient-visible in-place update to an iMessage app card. The update creates a new message version; use its returned message ID for the next serialized update.

Parámetros de entrada

  • appobject

    Original app identity. Required for a raw URL update on a zero-day-retention line; ignored for an experience update.

  • urlstring

    New card destination URL. Mutually exclusive with experience.

  • layoutobjectObligatorio

    Visible layout of the updated card.

  • experienceobject

    Experience action that builds the card. Mutually exclusive with url.

  • message_idstringObligatorio

    ID of the original app-card message or its most recent update.

  • interactiveboolean

    Whether installed extensions render an interactive balloon.

  • fallback_textstring

    Text shown on surfaces that cannot render the updated card.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Message ReactionLINQ_UPDATE_MESSAGE_REACTIONAcción

Irreversibly mutate recipient-visible reaction state by adding or removing a tapback, or by adding an iMessage sticker. Stickers cannot be removed.

Parámetros de entrada

  • urlstring

    Linq-hosted HTTPS sticker URL; valid only when type is sticker.

  • typestringObligatorioenum

    Standard tapback, custom tapback, or sticker type.

    lovelikedislikelaughemphasizequestioncustomsticker
  • emojistring

    Emoji sticker source; valid only when type is sticker.

  • operationstringObligatorioenum

    Whether to add or remove the reaction.

    addremove
  • placementobject

    Optional sticker position, size, and rotation.

  • message_idstringObligatorio

    Unique ID of the message to react to.

  • part_indexinteger

    Optional index of the message part to react to.

  • custom_emojistring

    Tapback emoji; required only when type is custom.

  • attachment_idstring

    Pre-uploaded sticker attachment ID; valid only when type is sticker.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Phone NumberLINQ_UPDATE_PHONE_NUMBERAcción

Change a Linq sending line's production forwarding configuration. Capture the current value before changing it when rollback is required.

Parámetros de entrada

  • phone_number_idstringObligatoriouuid

    UUID of the Linq sending line to update.

  • forwarding_numberanyObligatorio

    Forwarding number in E.164 format. Send null or an empty string to clear it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Sticker PlacementLINQ_UPDATE_STICKER_PLACEMENTAcción

Irreversibly send a recipient-visible update that moves, resizes, or rotates an existing iMessage sticker on a message.

Parámetros de entrada

  • placementobjectObligatorio

    Sticker placement fields to change; omitted fields keep their current values.

  • message_idstringObligatorio

    ID of the message on which the sticker is placed.

  • reaction_idstringObligatorio

    ID of the sticker reaction to move.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Webhook SubscriptionLINQ_UPDATE_WEBHOOK_SUBSCRIPTIONAcción

Update a Linq webhook subscription's callback, filters, active state, or routing-header names. Callback and routing changes can redirect future account events.

Parámetros de entrada

  • is_activeboolean

    Set whether delivery is active. Omit to preserve the current state.

  • target_urlstringuri

    New HTTPS callback URL. Omit to leave the callback unchanged.

  • phone_numbersstring[]

    Replacement E.164 filters. Pass an empty list or null to receive events from all lines; omit to leave filters unchanged.

  • subscription_idstringObligatorio

    Unique identifier of the webhook subscription.

  • routing_id_headerstring

    Replacement chat-ID header name. Pass null or an empty string to use Linq-Chat-Id; omit to leave it unchanged.

  • subscribed_eventsstring[]

    Replacement event list. Omit to leave subscribed events unchanged.

  • routing_key_headerstring

    Replacement routing-token header name. Pass null or an empty string to disable affinity and drop stored tokens; omit to leave it unchanged.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Verify Payment HandleLINQ_VERIFY_PAYMENT_HANDLEAcción

Submit a customer's single-use OTP to complete the financial-consent ceremony and authorize future payments on the customer's behalf. This irreversible, consent-sensitive action consumes the code and records consent; use only a code the customer explicitly provided for this connection.

Parámetros de entrada

  • codestringObligatorio

    Single-use, short-lived one-time code received by the customer.

  • handlestringObligatorio

    Consenting customer's phone number in E.164 format or email address.

  • connect_idstringObligatorio

    Transient connection ID returned by CONNECT_PAYMENT_HANDLE.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not