api-documentation icon indicating copy to clipboard operation
api-documentation copied to clipboard

How to validate Sending Contact

Open etouraille opened this issue 1 year ago • 0 comments

Hello,

My sending contact is added, but on the interface, it's on a pending state. I want to validate it but i cannot with the api.

I tried this

curl -X PUT \ --user "LOGIN:PASSWORD" https://api.mailjet.com/v3/REST/sender/ID/validate -H 'Cache-Control: no-cache' -H 'Content-Type: application/json' -d '{}'

And I have got this return :

{ "ErrorInfo" : "", "ErrorMessage" : "Object not found", "StatusCode" : 404 }

But the ID correspond to a contact I have just created, and It exists.

etouraille avatar Nov 20 '23 12:11 etouraille