Drift

App · 20 actions

Manage Drift contacts, accounts and conversations; read playbooks, teams and booked meetings; watch conversations and messages.

Actions

ActionWhat it does
Create accountCreate account.
Create contactCreate contact.
Create conversationCreate conversation.
Delete accountDelete account.
Delete contactDelete contact.
Get accountGet account.
Get contactGet contact.
Get conversationGet conversation.
Get userGet user.
List accountsList accounts.
List contact attributesList contact attributes.
List contactsList contacts.
List conversationsList conversations.
List meetingsList meetings.
List messagesList messages.
List playbooksList playbooks.
List teamsList teams.
List usersList users.
Send messageSend message.
Update contactUpdate contact.

Create account

Create account.

Inputs

Ownerowner_idnumberRequired
Owner ID.
NamenametextRequired
Name.
DomaindomaintextRequired
Domain.
Account IDaccount_idtextRequired
Account ID.
Targetedtargetedtrue/false
Targeted.
Custom propertiescustom_propertieslist
Custom properties.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "accountId": "account-1"
    }
  }
}

Create contact

Create contact.

Inputs

EmailemailtextRequired
Email.
First namefirst_nametext
First name.
Last namelast_nametext
Last name.
External IDexternal_idtext
External ID.
Phonephonetext
Phone.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "id": 101
    }
  }
}

Create conversation

Create conversation.

Inputs

EmailemailtextRequired
Email.
MessagemessagetextRequired
Message.
Sourcesourcetext
Source.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "contactId": 101,
    "id": 88,
    "status": "open"
  }
}

Delete account

Delete account.

Inputs

Accountaccount_idtextRequired
Account ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "ok": true,
    "result": "OK"
  }
}

Delete contact

Delete contact.

Inputs

Contactcontact_idtextRequired
Contact ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {}
}

Get account

Get account.

Inputs

Accountaccount_idtextRequired
Account ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "accountId": "account-1"
    }
  }
}

Get contact

Get contact.

Inputs

Contactcontact_idtextRequired
Contact ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "attributes": {
        "email": "qa@example.com"
      },
      "id": 101
    }
  }
}

Get conversation

Get conversation.

Inputs

Conversationconversation_idtextRequired
Conversation ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "id": 88,
      "status": "open"
    }
  }
}

Get user

Get user.

Inputs

Agentagent_idtextRequired
Agent ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "id": 42
    }
  }
}

List accounts

List accounts.

Inputs

Indexindexnumber
Index.At least 0.
Sizesizenumber
Size.From 1 to 65.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "accounts": [],
      "total": 0
    }
  }
}

List contact attributes

List contact attributes.

Inputs

None.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": []
  }
}

List contacts

List contacts.

Inputs

Emailemailtext
Email.
Limitlimitnumber
Limit.From 1 to 100.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": []
  }
}

List conversations

List conversations.

Inputs

Limitlimitnumber
Limit.From 1 to 100.
Page tokenpage_tokentext
Page token.
Status IDsstatus_idslist
Status IDs.One or more of: 1, 2, 3.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": [],
    "links": {}
  }
}

List meetings

List meetings.

Inputs

Min start timemin_start_timedate and timeRequired
Min start time.
Max start timemax_start_timedate and timeRequired
Max start time.
Limitlimitnumber
Limit.From 0 to 1000.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": []
  }
}

List messages

List messages.

Inputs

Conversationconversation_idtextRequired
Conversation ID.
Nextnexttext
Next.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "messages": []
    }
  }
}

List playbooks

List playbooks.

Inputs

None.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": []
  }
}

List teams

List teams.

Inputs

None.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": []
  }
}

List users

List users.

Inputs

None.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": []
  }
}

Send message

Send message.

Inputs

Conversationconversation_idtextRequired
Conversation ID.
BodybodytextRequired
Body.
TypetypetextRequired
Type.One of: chat, private_note (Private note).
Agentagent_idnumber
Agent ID.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {
    "data": {
      "id": 99
    }
  }
}

Update contact

Update contact.

Inputs

Contactcontact_idtextRequired
Contact ID.
Emailemailtext
Email.
First namefirst_nametext
First name.
Last namelast_nametext
Last name.
External IDexternal_idtext
External ID.
Phonephonetext
Phone.

Outputs

responseobject
The complete service response, including resource data and pagination fields.
Example output
{
  "response": {}
}

On this page