Skip to the page

List methods

Everything this API can do: each method with its route, its tool name, the scope it needs and a sample input.

opensend.methods.list(input?)
Needs the scopemethods:readFrom a terminalopensend methods list

Input

  • namespacestring

    Only the methods of this group.

    One ofemailsbroadcastsaudiencestemplatesautomationsmetricsdomainsapiKeyswebhookslogsworkspacemembersmethodsaccountinboundcontactsbillingasksuppressionsrunseventsimportstopicscontactPropertiesimagesserver

Returns

The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.

  • object"list"

    Always list.

  • dataobject[]

    The items on this page.

  • data[].object"method"

    Always method.

  • data[].namestring

    The name of the method, such as emails.send.

  • data[].namespacestring

    The group the method belongs to.

    One ofemailsbroadcastsaudiencestemplatesautomationsmetricsdomainsapiKeyswebhookslogsworkspacemembersmethodsaccountinboundcontactsbillingasksuppressionsrunseventsimportstopicscontactPropertiesimagesserver

  • data[].callstring

    What the method does within its group.

    One ofsendcreategetlistupdateremoveverifypublishpauseresumeinvitetestdeliveriesplanscheckoutportalcloseinvoicesbatchcancelretrychatschatsaveforgetduplicateenrollversionsversionstartersstarterrestoreinspectrendereditjoinleaveaddupload

  • data[].kindstring

    query for a method that only reads, mutation for one that changes something.

    One ofquerymutation

  • data[].titlestring

    The method in a few words.

  • data[].descriptionstring

    What the method does.

  • data[].askstring

    A sentence a person could say to the assistant to have it use this method.

  • data[].effectstring

    What it does to your data: read, write, send or destroy.

    One ofreadwritesenddestroy

  • data[].scopestring

    The permission a key needs to call it.

    One ofemails:sendemails:readbroadcasts:readbroadcasts:writeaudiences:readaudiences:writetemplates:readtemplates:writeautomations:readautomations:writemetrics:readdomains:readdomains:writeapi_keys:readapi_keys:writewebhooks:readwebhooks:writelogs:readworkspace:readworkspace:writemethods:readaccount:readsuppressions:readsuppressions:writeevents:readevents:writeimports:readimports:writeimages:readimages:write

  • data[].httpobject

    How to call it over HTTP.

  • data[].http.methodstring

    The HTTP verb.

    One ofGETPOSTPATCHDELETE

  • data[].http.pathstring

    The path, with {id} where an id goes.

  • data[].toolstring

    The name of the same method as an MCP tool.

  • data[].sampleRecord<string, unknown>

    An input that works, to start from.

  • totalinteger

    How many items match in all, on every page together.

  • hasMoreboolean

    Whether more items follow this page.