Home Get started Pricing
How to Pricing

Get started

Subscription REST API

POST /api/v1/subscriptions
For now this is for internal use only

Validation REST API

POST /api/v1/validations

  # 1
  $ curl --header "Content-Type: application/json" \
    --request POST \
    --data '{"email": "aaa@bbbco.u3k"}' \
    https://serendipia.email/api/v1/validations

  # ===>{"data":{"is_tld_valid":false, "is_disposable":false}}


  # 2
  $ curl --header "Content-Type: application/json" \
    --request POST \
    --data '{"email": "fixa@london2.space"}' \
    https://serendipia.email/api/v1/validations

  # ===>{"data":{"is_tld_valid":true, "is_disposable":true}}


  # 3
  $ curl --header "Content-Type: application/json" \
    --request POST \
    --data '{"email": "fdsafdsafdsfd"}' \
    https://serendipia.email/api/v1/validations

  # ===>{"error":{"message":"your email doesn't look like email: no @"}}