Using SendMessage API method

Mark's Avatar

Mark

17 Nov, 2009 02:15 PM via web

I note that the userkey is a required parameter for this method. Does this mean that the SendMessage method can only be used to send a message on a specific channel to someone that has already interacted with a bot?

Is there a way to send a message (e.g., SMS) to an arbitrary user - someone who has not yet interacted with the bot, but will (or may) in response to the sent message?

When using this method to send an SMS message, would the cell phone number of the SMS message recipient be what is used in the "user" parameter?

Thanks!

  1. 2 Posted by Dave Hoff on 17 Nov, 2009 02:27 PM

    Dave Hoff's Avatar

    Hi Mark. Yes, your api access has the permission to send to an arbitrary
    user by sending the user/network combination. For sms this would be phone
    number/sms.

    Dave

  2. 3 Posted by Mark on 17 Nov, 2009 02:56 PM

    Mark's Avatar

    Cool. Thanks!

  3. Support Staff 4 Posted by Danté Vitulano on 20 Nov, 2009 05:11 PM

    Danté Vitulano's Avatar

    Hello Mark,

    Let us know if there is anything else we can do to help here, or if there are any additional questions we can help with.

    Cheers,
    Danté

  4. Danté Vitulano closed this discussion on 20 Nov, 2009 05:11 PM.

Comments are currently closed for this discussion. You can start a new one.