NodePing.Contacts.get_by_id-exclamation-mark

You're seeing just the function get_by_id-exclamation-mark, go back to NodePing.Contacts module for more information.
Link to this function

get_by_id!(token, id, customerid \\ nil)

View Source

Get contacts on your NodePing account or subaccount. Supply an optional id to get info for a single contact

Parameters

  • token - NodePing API token that was provided with account
  • id - contact ID for getting a single contact
  • customerid - optional ID to access a subaccount

Examples

iex> token = System.fetch_env!("TOKEN")
iex> id = "201205050153W2Q4C-BKPGH"
iex> result = NodePing.Contacts.get_by_id!(token, id)