All URIs are relative to https://app.sendx.io/api/v1
Method | HTTP request | Description |
---|---|---|
contact_identify_post | POST /contact/identify | Identify a contact as user |
contact_track_post | POST /contact/track | Add tracking info using tags to a contact |
ContactResponse contact_identify_post(api_key, team_id, contact_details)
Identify a contact as user
# load the gem
require 'swagger_client'
api_instance = SwaggerClient::ContactApi.new
api_key = "api_key_example" # String |
team_id = "team_id_example" # String |
contact_details = SwaggerClient::ContactRequest.new # ContactRequest | Contact details
begin
#Identify a contact as user
result = api_instance.contact_identify_post(api_key, team_id, contact_details)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ContactApi->contact_identify_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
api_key | String | ||
team_id | String | ||
contact_details | ContactRequest | Contact details |
No authorization required
- Content-Type: application/json
- Accept: application/json
TrackResponse contact_track_post(api_key, team_id, email, track_details)
Add tracking info using tags to a contact
# load the gem
require 'swagger_client'
api_instance = SwaggerClient::ContactApi.new
api_key = "api_key_example" # String |
team_id = "team_id_example" # String |
email = "email_example" # String |
track_details = SwaggerClient::TrackRequest.new # TrackRequest | Track Details
begin
#Add tracking info using tags to a contact
result = api_instance.contact_track_post(api_key, team_id, email, track_details)
p result
rescue SwaggerClient::ApiError => e
puts "Exception when calling ContactApi->contact_track_post: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
api_key | String | ||
team_id | String | ||
String | |||
track_details | TrackRequest | Track Details |
No authorization required
- Content-Type: application/json
- Accept: application/json