No_interceptions

Last updated:2023-08-10

Engagelab will intercept email addresses in complaint, block, bounce, unsubscribe.

If the customer does not want to intercept an address or receiving domain, they can add it to the no_interception list.

You can query, add, and delete this list.

Query

URL

https://email.api.engagelab.cc/v1/no_interceptions
          https://email.api.engagelab.cc/v1/no_interceptions

        
This code block in the floating window

HTTP Request Method

GET
          GET

        
This code block in the floating window

Header

Header Type Required Description
Authorization string true Basic base64(api_user:api_key)

Query Parameter Description

Parameter Type Required Description
start_date string * Start date, formatted with yyyy-MM-dd
end_date string * End date, formatted with yyyy-MM-dd
email_or_domain string * Emails or domains (e.g., 11@gmail.com, hotmail.com)
api_user string no unintercept API_USER, defaults to all
offset int no amount, [0-100], defaults to 100
limit int no amount, [0-100], defaults to 100

Request Example:

curl -X GET -H 'Content-Type: application/json; charset=utf-8' \ -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' \ 'https://email.api.engagelab.cc/v1/no_interceptions'
          curl -X GET -H 'Content-Type: application/json; charset=utf-8' \
     -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' \
     'https://email.api.engagelab.cc/v1/no_interceptions' 

        
This code block in the floating window

Returned Value Description

Parameter Description
api_user unintercept API_USER
email_or_domain unintercept receiving domain or email address
create_time create time

Returned Value Example

{ "result": [ { "api_user": "all", "email_or_domain": "wbw@hotmail.com", "create_time": "2021-07-15 15:32:03" } ], "count": 1, "total": 1 }
          {
    "result": [
        {
            "api_user": "all",
            "email_or_domain": "wbw@hotmail.com",
            "create_time": "2021-07-15 15:32:03"
        }
    ],
    "count": 1,
    "total": 1
}

        
This code block in the floating window

Add

URL

https://email.api.engagelab.cc/v1/no_interceptions
          https://email.api.engagelab.cc/v1/no_interceptions

        
This code block in the floating window

HTTP Request Method

POST
          POST

        
This code block in the floating window

Header

Header Type Required Description
Authorization String true Basic base64(api_user:api_key)

Body Parameter Description

Parameter Type Required Description
api_user string no unintercept API_USER, defaults to all
email_or_domain array yes unintercept receiving domain or email address

Request Example:

curl -X POST -H 'Content-Type: application/json; charset=utf-8' \ -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' \ --data '{"api_user": "123456abc", "email_or_domain": ["qq.com","22@gmail.com"]}' \ 'https://email.api.engagelab.cc/v1/no_interceptions'
          curl -X POST -H 'Content-Type: application/json; charset=utf-8' \
     -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' \
     --data '{"api_user": "123456abc", "email_or_domain": ["qq.com","22@gmail.com"]}' \
     'https://email.api.engagelab.cc/v1/no_interceptions' 

        
This code block in the floating window

Returned Value Description

Parameter Description
api_user unintercept API_USER
email_or_domain unintercept receiving domain or email address
create_time create time

Returned Value Example

{ "result": [{ "api_user": "all", "email_or_domain": "qq.com", "create_time": "2021-07-19 11:30:00" },{ "api_user": "all", "email_or_domain": "22@gmail.com", "create_time": "2021-07-19 11:30:00" } ] }
          {
    "result": [{
        "api_user": "all",
        "email_or_domain": "qq.com",
        "create_time": "2021-07-19 11:30:00"
    },{
        "api_user": "all",
        "email_or_domain": "22@gmail.com",
        "create_time": "2021-07-19 11:30:00"
    }
    ]
}

        
This code block in the floating window

Delete

URL

https://email.api.engagelab.cc/v1/no_interceptions
          https://email.api.engagelab.cc/v1/no_interceptions

        
This code block in the floating window

HTTP Request Method

DELETE
          DELETE

        
This code block in the floating window

Header

Header Type Required Description
Authorization String true Basic base64(api_user:api_key)

Body Parameter Description

Parameter Type Required or not Description
api_user string no unintercept API_USER
email_or_domain array yes unintercept receiving domains or email addresses

Request Example:

curl -X DELETE -H ' Content-Type: application/json; charset=utf-8' -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' 'https://email.api.engagelab.cc/v1/no_interceptions'
          curl -X DELETE -H '
Content-Type: application/json; charset=utf-8'
     -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' 
     'https://email.api.engagelab.cc/v1/no_interceptions' 

        
This code block in the floating window

Returned Value Description

Parameter Description
count number of successfully deleted

Returned Value Example

{ "count": 1 }
          {
   "count": 1
}

        
This code block in the floating window

Delete No Interceptions

URL

https://email.api.engagelab.cc/v1/no_interceptions
          https://email.api.engagelab.cc/v1/no_interceptions

        
This code block in the floating window

HTTP Request Method

DELETE
          DELETE

        
This code block in the floating window

Header

Header Type Required Description
Authorization String true Basic base64(api_user:api_key)

Body Parameter Description

Parameter Type Required Description
api_user string no unintercept API_USER
email_or_domain array yes unintercept receiving domain or email address

Request Example:

curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' \ -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' \ --data '{"api_user": "123456abc", "email_or_domain": ["qq.com","22@gmail.com"]}' \ 'https://email.api.engagelab.cc/v1/no_interceptions'
          curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' \
     -H 'Authorization:Basic YXBpX3VzZXI6YXBpX2tleQ==' \
     --data '{"api_user": "123456abc", "email_or_domain": ["qq.com","22@gmail.com"]}' \ 
     'https://email.api.engagelab.cc/v1/no_interceptions' 

        
This code block in the floating window

Returned Value Description

Parameter Description
count number of successfully deleted

Returned Value Example

{ "count": 1 }
          {
   "count": 1
}

        
This code block in the floating window
在文档中心打开
icon
Contact Sales