Integrations
List synced Gmail messages
GET
/
v1
/
integrations
/
google
/
gmail-messages
List synced Gmail messages
curl --request GET \
--url https://api.wazapin.com/v1/integrations/google/gmail-messagesconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/integrations/google/gmail-messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/integrations/google/gmail-messages"
response = requests.get(url)
print(response.text){
"items": [
{
"gmail_message_id": "<string>",
"id": "<string>",
"linked_contact_ids": [
"<string>"
],
"to_emails": [
"<string>"
],
"from_email": "<string>",
"occurred_at": "<string>",
"snippet": "<string>",
"subject": "<string>",
"thread_id": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
List synced Gmail messages
curl --request GET \
--url https://api.wazapin.com/v1/integrations/google/gmail-messagesconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/integrations/google/gmail-messages', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/integrations/google/gmail-messages"
response = requests.get(url)
print(response.text){
"items": [
{
"gmail_message_id": "<string>",
"id": "<string>",
"linked_contact_ids": [
"<string>"
],
"to_emails": [
"<string>"
],
"from_email": "<string>",
"occurred_at": "<string>",
"snippet": "<string>",
"subject": "<string>",
"thread_id": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}