Contacts

Add multiple contacts to a list

Batch insert. Validation is all-or-nothing: if any row fails, nothing is written. On an empty list, the first row establishes the list's locked field shape

post/add-contacts/

Request

  • Base URL: http://api.smsfusion.com.au
  • URL: http://api.smsfusion.com.au/add-contacts/
  • Auth: one of:
    • API key in query parameter key
    • HTTP basic

Query parameters

keystring required

API Key as generated from the <a href='https://www.smsfusion.com.au/admin/api/'>admin panel</a>

listidinteger required

Target list id

ccstring string

2 character country code <a href='https://en.wikipedia.org/wiki/ISO_3166-2'>ISO 3166-2</a> for formatting local numbers internationally

Request body

object[] required

Response

Contacts added

successboolean
listIdinteger
idsinteger[]
countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.