Jump to content

Message API INVALID_RECIPIENT

Featured Replies

Posted

I'm getting INVALID_RECIPIENT using the POST /core/messages API. Whats wrong with my request?

 

REQUEST DATA

{
    "key": "****************",
    "from": "12",
    "to": "1,11",
    "title": "Sample title",
    "body": "Sample content..."
}

RESPONSE

{
    "errorCode": "1C374\/3",
    "errorMessage": "INVALID_RECIPIENT"
}
  • Community Expert

'to' must be an array (as defined in the API Reference). Your request is passing a comma-delimited string instead.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.