Accounts
User Account
Get /account(Click here to show example)
Response
| account_id | Integer | ||
| String | |||
| first_name | String | ||
| last_name | String | ||
| timezone | String | ||
| avatar_url | String | ||
| joined_at | String | ||
| last_seen_at | String or Null |
Broadcasts
List Broadcasts
Get /broadcasts(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | name, status | |
| order_by | String | name, created_at |
Response
| broadcast_id | Integer | |||||||||||||||||||||||||||||||
| name | String | |||||||||||||||||||||||||||||||
| recipients | Array[object] | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| Object | ||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sender | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| footer | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sent_at | String or Null | |||||||||||||||||||||||||||||||
| created_at | String | |||||||||||||||||||||||||||||||
Get Broadcast
Get /broadcasts/{broadcast_id}(Click here to show example)
Response
| broadcast_id | Integer | |||||||||||||||||||||||||||||||
| name | String | |||||||||||||||||||||||||||||||
| recipients | Array[object] | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| Object | ||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sender | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| footer | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sent_at | String or Null | |||||||||||||||||||||||||||||||
| created_at | String | |||||||||||||||||||||||||||||||
Create Broadcast
Post /broadcasts(Click here to show example)
Request Body
| name | String | required | |||||||||||||||||||||||||||
| recipients | Array[object] | ||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
| Object | required | ||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
| sender | Object | ||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
| footer | String | ||||||||||||||||||||||||||||
| schedule | Object | required | |||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
Response
| broadcast_id | Integer | |||||||||||||||||||||||||||||||
| name | String | |||||||||||||||||||||||||||||||
| recipients | Array[object] | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| Object | ||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sender | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| footer | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sent_at | String or Null | |||||||||||||||||||||||||||||||
| created_at | String | |||||||||||||||||||||||||||||||
Update Broadcast
Patch /broadcasts/{broadcast_id}(Click here to show example)
Request Body
| name | String | required | |||||||||||||||||||||||||||
| recipients | Array[object] | ||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
| Object | required | ||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
| sender | Object | ||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
| footer | String | ||||||||||||||||||||||||||||
| schedule | Object | required | |||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||
Response
| broadcast_id | Integer | |||||||||||||||||||||||||||||||
| name | String | |||||||||||||||||||||||||||||||
| recipients | Array[object] | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| Object | ||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sender | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| footer | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| sent_at | String or Null | |||||||||||||||||||||||||||||||
| created_at | String | |||||||||||||||||||||||||||||||
Contacts
List contacts
Get /contacts(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | name, email, sequence, tag | |
| order_by | String | name, email, confirmed_at, subscribed_at |
Response
| contact_id | Integer | |||||||||||||||||||||||||||
| String | ||||||||||||||||||||||||||||
| fields | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| ipaddress | String | |||||||||||||||||||||||||||
| tags | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| sequences | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| subscribed_at | String | |||||||||||||||||||||||||||
| confirmed_at | String | |||||||||||||||||||||||||||
Get Contact
Get /contacts/{contact_id}(Click here to show example)
Response
| contact_id | Integer | |||||||||||||||||||||||||||
| String | ||||||||||||||||||||||||||||
| fields | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| ipaddress | String | |||||||||||||||||||||||||||
| tags | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| sequences | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| subscribed_at | String | |||||||||||||||||||||||||||
| confirmed_at | String | |||||||||||||||||||||||||||
Create Contact
Post /contacts(Click here to show example)
Request Body
| String | required | |||||||||||||||
| fields | Object | |||||||||||||||
show properties
|
||||||||||||||||
| form_id | Integer | |||||||||||||||
| sequence_id | Integer | |||||||||||||||
| tags | Array[string] | |||||||||||||||
| ipaddress | String | ipv4 | ||||||||||||||
Response
| contact_id | Integer | |||||||||||||||||||||||||||
| String | ||||||||||||||||||||||||||||
| fields | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| tags | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| sequences | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| subscribed_at | String | |||||||||||||||||||||||||||
| confirmed_at | String | |||||||||||||||||||||||||||
Update Contact
Patch /contacts/{contact_id}(Click here to show example)
Request Body
| String | required | |||||||||||||||
| fields | Object | |||||||||||||||
show properties
|
||||||||||||||||
| ipaddress | String | ipv4 | ||||||||||||||
Response
| contact_id | Integer | |||||||||||||||||||||||||||
| String | ||||||||||||||||||||||||||||
| fields | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| tags | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| sequences | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| subscribed_at | String | |||||||||||||||||||||||||||
| confirmed_at | String | |||||||||||||||||||||||||||
Add Tag(s)
Post /contacts/{contact_id}/tags(Click here to show example)
Assign tag(s) to an existing contact.
Request Body
| tags | Array[string] | required |
Response
| contact_id | Integer | |||||||||||||||||||||||||||
| String | ||||||||||||||||||||||||||||
| fields | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| tags | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| sequences | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| subscribed_at | String | |||||||||||||||||||||||||||
| confirmed_at | String | |||||||||||||||||||||||||||
Remove Tag(s)
Delete /contacts/{contact_id}/tags/{tag_id}(Click here to show example)
Remove a tag from a contact.
Response
Subscribe
Post /contacts/{contact_id}/subscribe(Click here to show example)
Subscribe your contact to a form.
Request Body
| form_id | Integer | required (if there is no sequence_id) | ||||||||||||||
| sequence_id | Integer | required (if there is no form_id) | ||||||||||||||
| fields | Object | |||||||||||||||
show properties
|
||||||||||||||||
| ipaddress | String | ipv4 | ||||||||||||||
Response
| contact_id | Integer | |||||||||||||||||||||||||||
| String | ||||||||||||||||||||||||||||
| fields | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| tags | Array[object] | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| sequences | Object | |||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||
| subscribed_at | String | |||||||||||||||||||||||||||
| confirmed_at | String | |||||||||||||||||||||||||||
Unsubscribe
Delete /contacts/{contact_id}/unsubscribe(Click here to show example)
Unsubscribe your contact from all mailings.
Response
Custom Fields
List Custom Fields
Get /fields(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | label | |
| order_by | String | label |
Response
| data | Array[object] | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| links | Object | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| meta | Object | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
Get Custom Field
Get /fields/{field_id}(Click here to show example)
Response
| field_id | Integer | ||
| label | String | ||
| type | String | ||
| key | String | ||
| default | String |
Create Custom Field
Post /fields(Click here to show example)
Request Body
| label | String | required | |
| type | String | required | text, textarea |
| key | String | required | |
| default | String |
Response
| field_id | Integer | ||
| label | String | ||
| type | String | ||
| key | String | ||
| default | String |
Delete Custom Field
Delete /fields/{field_id}(Click here to show example)
Delete a custom field.
Response
A successful request returns the HTTP 204 status code and an empty response body.
Forms
Manage your BirdSend forms.
List Forms
Get /forms(Click here to show example)
List your forms.
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | name | |
| order_by | String | name, created_by |
Response
A successful request returns the HTTP 200 status code and a JSON response body that shows list of forms.
| data | Array[object] | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| links | Object | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| meta | Object | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
Get Form
Get /forms/{form_id}(Click here to show example)
Request Body
| label | String | required | |
| type | String | required | text, textarea |
| key | String | required | |
| default | String |
Response
| form_id | Integer | ||
| name | String |
Pixels
Rules
List Rules
Get /rules(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | name | |
| order_by | String | name, created_at |
Response
| data | Array[object] | required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| links | Object | required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| meta | Object | required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Get Rule
Get /rules/{rule_id}(Click here to show example)
Response
| rule_id | Integer | ||||||||||||||||||||
| name | String | ||||||||||||||||||||
| active | Boolean | ||||||||||||||||||||
| triggers | Array[object] | ||||||||||||||||||||
show properties
|
|||||||||||||||||||||
| actions | Array[object] | ||||||||||||||||||||
show properties
|
|||||||||||||||||||||
| created_at | String | ||||||||||||||||||||
| last_run_at | String | ||||||||||||||||||||
Create Rule
Post /rules(Click here to show example)
Request Body
| name | String | required | ||||||||||||||||||||||
| active | Boolean | required | ||||||||||||||||||||||
| triggers | Array[object] | |||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| actions | Array[object] | |||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
Response
| rule_id | Integer | ||||||||||||||||||||
| name | String | ||||||||||||||||||||
| active | Boolean | ||||||||||||||||||||
| triggers | Array[object] | ||||||||||||||||||||
show properties
|
|||||||||||||||||||||
| actions | Array[object] | ||||||||||||||||||||
show properties
|
|||||||||||||||||||||
| created_at | String | ||||||||||||||||||||
| last_run_at | String | ||||||||||||||||||||
Update Rule
Patch /rules/{rule_id}(Click here to show example)
Request Body
| name | String | |||||||||||||||||||||||
| active | Boolean | |||||||||||||||||||||||
| triggers | Array[object] | |||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| actions | Array[object] | |||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
Response
| rule_id | Integer | ||||||||||||||||||||
| name | String | ||||||||||||||||||||
| active | Boolean | ||||||||||||||||||||
| triggers | Array[object] | ||||||||||||||||||||
show properties
|
|||||||||||||||||||||
| actions | Array[object] | ||||||||||||||||||||
show properties
|
|||||||||||||||||||||
| created_at | String | ||||||||||||||||||||
| last_run_at | String | ||||||||||||||||||||
Sequences
List Sequences
Get /sequences(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | name, active | |
| order_by | String | name, active, created_at |
Response
| data | Array[object] | required | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| links | Object | required | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| meta | Object | required | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Get Sequence
Get /sequences/{sequence_id}(Click here to show example)
Response
| sequence_id | Integer | |||||||||||||||||||
| name | String | |||||||||||||||||||
| description | String | |||||||||||||||||||
| sender | Object | |||||||||||||||||||
show properties
|
||||||||||||||||||||
| footer | String | |||||||||||||||||||
| notification | String | |||||||||||||||||||
| active | String | |||||||||||||||||||
| created_at | String | |||||||||||||||||||
Create Sequence
Post /sequences(Click here to show example)
Request Body
| name | String | required | ||||||||||||||||||
| description | String | |||||||||||||||||||
| sender | Object | required | ||||||||||||||||||
show properties
|
||||||||||||||||||||
| footer | String | |||||||||||||||||||
| notification | String | |||||||||||||||||||
Response
| sequence_id | Integer | |||||||||||||||||||
| name | String | |||||||||||||||||||
| description | String | |||||||||||||||||||
| sender | Object | |||||||||||||||||||
show properties
|
||||||||||||||||||||
| footer | String | |||||||||||||||||||
| notification | String | |||||||||||||||||||
| active | String | |||||||||||||||||||
| created_at | String | |||||||||||||||||||
Update Sequence
Patch /sequences/{sequence_id}(Click here to show example)
Request Body
| name | String | required | ||||||||||||||||||
| description | String | |||||||||||||||||||
| sender | Object | required | ||||||||||||||||||
show properties
|
||||||||||||||||||||
| footer | String | |||||||||||||||||||
| notification | String | |||||||||||||||||||
| active | Boolean | |||||||||||||||||||
Response
| sequence_id | Integer | |||||||||||||||||||
| name | String | |||||||||||||||||||
| description | String | |||||||||||||||||||
| sender | Object | |||||||||||||||||||
show properties
|
||||||||||||||||||||
| footer | String | |||||||||||||||||||
| notification | String | |||||||||||||||||||
| active | String | |||||||||||||||||||
| created_at | String | |||||||||||||||||||
List Sequence Emails
Get /sequences/{sequence_id}/emails(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | subject, active | |
| order_by | String | subject, active |
Response
| data | Array[object] | required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| links | Object | required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| meta | Object | required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Get Sequence Email
Get /sequences/{sequence_id}/emails/{email_id}(Click here to show example)
Response
| email_id | Integer | |||||||||||||||||||||||||||||||
| sequence_id | Integer | |||||||||||||||||||||||||||||||
| subject | String | |||||||||||||||||||||||||||||||
| body | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| active | Boolean | |||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| order | Number | |||||||||||||||||||||||||||||||
Create Sequence Email
Post /sequences/{sequence_id}/emails(Click here to show example)
Request Body
| subject | String | required | ||||||||||
| body | String | required | ||||||||||
| schedule | Object | |||||||||||
show properties
|
||||||||||||
| active | Boolean | |||||||||||
Response
| email_id | Integer | |||||||||||||||||||||||||||||||
| sequence_id | Integer | |||||||||||||||||||||||||||||||
| subject | String | |||||||||||||||||||||||||||||||
| body | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| active | Boolean | |||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| order | Number | |||||||||||||||||||||||||||||||
Update Sequence Email
Patch /sequences/{sequence_id}/emails/{email_id}(Click here to show example)
Request Body
| subject | String | required | ||||||||||
| body | String | required | ||||||||||
| schedule | Object | |||||||||||
show properties
|
||||||||||||
| active | Boolean | |||||||||||
Response
| email_id | Integer | |||||||||||||||||||||||||||||||
| sequence_id | Integer | |||||||||||||||||||||||||||||||
| subject | String | |||||||||||||||||||||||||||||||
| body | String | |||||||||||||||||||||||||||||||
| schedule | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| active | Boolean | |||||||||||||||||||||||||||||||
| stats | Object | |||||||||||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||||||||||
| order | Number | |||||||||||||||||||||||||||||||
Delete Sequence Email
Delete /sequences/{sequence_id}/emails/{email_id}(Click here to show example)
Response
Tags
List Tags
Get /tags(Click here to show example)
Query String Parameters
| per_page | Integer | ||
| page | Integer | ||
| keyword | String | ||
| sort | String | asc, desc | |
| search_by | String | name | |
| order_by | String | name |
Response
| data | Array[object] | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| links | Object | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
| meta | Object | required | ||||||||||||||||||||||
show properties
|
||||||||||||||||||||||||
Create Tag
Post /tags(Click here to show example)
Request Body
| name | String | required |
Response
| tag_id | Integer | ||
| name | String |
Update Tag
Patch /tags/{tag_id}(Click here to show example)
Request Body
| name | String |
Response
| tag_id | Integer | ||
| name | String |