NodePing.Contacts.get_by_id
You're seeing just the function
get_by_id
, go back to NodePing.Contacts module for more information.
Get a contact on your NodePing account or subaccount
Parameters
token
- NodePing API token that was provided with accountid
- contact ID for getting a single contactcustomerid
- optional ID to access a subaccount
Examples
iex> token = System.fetch_env!("TOKEN")
iex> id = "201205050153W2Q4C-BKPGH"
iex> {:ok, result} = NodePing.Contacts.get_by_id(token, id)