Download OpenAPI specification:Download
This is the document API and examples to demonstrate features of the MarineTraffic Inbox API specification.
The MarineTraffic Inbox API is a RESTful API that allows you to interact with the MarineTraffic Inbox platform.
created
Unauthorized
Invalid scope
{- "id": 0,
- "original_file_url": "string",
- "name": "string",
- "disposition": "link",
- "size": 0,
- "content_type": "string"
}
successful
Unauthorized
{- "id": 0,
- "avatar": "string",
- "name": "string",
- "departments": "string",
- "user_name": "string"
}
successful
Unauthorized
Invalid scope
{- "from": "hello@marinetraffic.com",
- "body_type": "plain_text",
- "subject": "hello",
- "body": "Hi there",
- "to": {
- "emails": [
- "your_emai@email.com"
]
}, - "cc": {
- "emails": [
- "your_cc@email.com"
]
}, - "action": "normal"
}
{- "message": "created"
}
successful
Unauthorized
[- {
- "id": 0,
- "email": "string",
- "can_send": true
}
]
It will return the list of address_books with page and per_page
unauthorized
[- {
- "id": 1,
- "contact_type": "contact",
- "name": "chartdesk",
- "salutation": "Dear Mr.MarineTrffic",
- "job_title": "this is job_title",
- "email_address_work_1": "email_address_work_1@marinetraffic.com",
- "email_address_work_2": "email_address_work_2@marinetraffic.com",
- "email_address_work_3": "email_address_work_3@marinetraffic.com",
- "email_address_personal_1": "email_address_personal_1@marinetraffic.com",
- "email_address_personal_2": "email_address_personal_2@marinetraffic.com",
- "email_address_personal_3": "email_address_personal_3@marinetraffic.com",
- "email_address_other_1": "email_address_other_1@marinetraffic.com",
- "email_address_other_2": "email_address_other_2@marinetraffic.com",
- "email_address_other_3": "email_address_other_3@marinetraffic.com",
- "phone_mobile_1": "+380 48 7165731",
- "phone_mobile_2": "+380 48 7165732",
- "phone_mobile_3": "+380 48 7165733",
- "phone_office_1": "+380 48 716573",
- "phone_office_2": "+380 48 7165732",
- "phone_office_3": "+380 48 7165733",
- "phone_fax_1": "+380 48 7165731",
- "phone_fax_2": "+380 48 7165732",
- "phone_fax_3": "+380 48 7165733",
- "phone_other_1": "+380 48 7165731",
- "phone_other_2": "+380 48 7165732",
- "phone_other_3": "+380 48 7165733",
- "im": "string",
- "company": 0,
- "department": 0,
- "post_address": "1, Leytenanta Shmidta Street UA-65012 Odessa",
- "city": "string",
- "state": "string",
- "country": "VietNam",
- "notes": "First note Second note"
}
]
It returns the address_book
unauthorized
the record is not found
{- "id": 1,
- "contact_type": "contact",
- "name": "chartdesk",
- "salutation": "Dear Mr.MarineTrffic",
- "job_title": "this is job_title",
- "email_address_work_1": "email_address_work_1@marinetraffic.com",
- "email_address_work_2": "email_address_work_2@marinetraffic.com",
- "email_address_work_3": "email_address_work_3@marinetraffic.com",
- "email_address_personal_1": "email_address_personal_1@marinetraffic.com",
- "email_address_personal_2": "email_address_personal_2@marinetraffic.com",
- "email_address_personal_3": "email_address_personal_3@marinetraffic.com",
- "email_address_other_1": "email_address_other_1@marinetraffic.com",
- "email_address_other_2": "email_address_other_2@marinetraffic.com",
- "email_address_other_3": "email_address_other_3@marinetraffic.com",
- "phone_mobile_1": "+380 48 7165731",
- "phone_mobile_2": "+380 48 7165732",
- "phone_mobile_3": "+380 48 7165733",
- "phone_office_1": "+380 48 716573",
- "phone_office_2": "+380 48 7165732",
- "phone_office_3": "+380 48 7165733",
- "phone_fax_1": "+380 48 7165731",
- "phone_fax_2": "+380 48 7165732",
- "phone_fax_3": "+380 48 7165733",
- "phone_other_1": "+380 48 7165731",
- "phone_other_2": "+380 48 7165732",
- "phone_other_3": "+380 48 7165733",
- "im": "string",
- "company": 0,
- "department": 0,
- "post_address": "1, Leytenanta Shmidta Street UA-65012 Odessa",
- "city": "string",
- "state": "string",
- "country": "VietNam",
- "notes": "First note Second note"
}