Dezvoltatori
Documentație API
Aceasta este documentația pentru punctele de acces disponibile ale API-ului, care sunt construite pe baza arhitecturii REST. Toate punctele de acces API vor returna un răspuns JSON cu coduri de răspuns HTTP standard și necesită o Autentificare Bearer printr-o cheie API.
REST + JSON
Bearer token
6 secțiuni API
Start rapid
Autentificare
Toate punctele de acces API necesită o cheie API trimisă prin metoda de autentificare Bearer.
$ curl --request GET \
--url 'https://proofdy.io/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}'
HTTP/1.1 200 OK
{
"data": { ... }
}
GET https://proofdy.io/api/user
curl --request GET \
--url 'https://proofdy.io/api/user' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/user' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id":"1",
"type":"users",
"email":"example@example.com",
"billing":{
"type":"personal",
"name":"John Doe",
"address":"Lorem Ipsum",
"city":"Dolor Sit",
"county":"Amet",
"zip":"5000",
"country":"",
"phone":"",
"tax_id":"",
"is_enabled":true,
"plan_id":"custom",
"plan_expiration_date":"2025-12-12 00:00:00",
"plan_settings":{
...
},
"plan_trial_done":false,
"language":"english",
"timezone":"UTC",
"country":null,
"datetime": "2026-11-18 11:06:40"
"last_activity":"2020-01-01 00:00:00",
"total_logins":10
}
}
GET https://proofdy.io/api/campaigns/
curl --request GET \
--url 'https://proofdy.io/api/campaigns/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/campaigns/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Întreg | Numărul paginii din care dorești să obții rezultatele. Implicit este 1. |
| results_per_page | Opțional Întreg | Câte rezultate vrei pe pagină. Valori permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este 25. |
{
"data": [
{
"id": 1,
"pixel_key": "1234567890abcdef",
"name": "Example",
"domain": "example.com",
"branding": {
"name": "",
"url": ""
},
"email_reports_is_enabled": true,
"email_reports_last_datetime": "2019-05-22 23:40:17",
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-11-18 11:06:40"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://proofdy.io/api/campaigns?&page=1",
"last": "https://proofdy.io/api/campaigns?&page=1",
"next": null,
"prev": null,
"self": "https://proofdy.io/api/campaigns?&page=1"
}
}
GET https://proofdy.io/api/campaigns/{campaign_id}
curl --request GET \
--url 'https://proofdy.io/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"pixel_key": "1234567890abcdef",
"name": "Example",
"domain": "example.com",
"branding": {
"name": "",
"url": ""
},
"email_reports_is_enabled": true,
"email_reports_last_datetime": "2019-05-22 23:40:17",
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-11-18 11:06:40"
}
}
POST https://proofdy.io/api/campaigns
| Parametri | Detalii | Descriere |
|---|---|---|
| domain_id | Opțional Întreg | - |
| name | Necesar Șir de caractere | - |
| domain | Necesar Șir de caractere | - |
| branding_name | Opțional Șir de caractere | - |
| branding_url | Opțional Șir de caractere | - |
| email_reports | Opțional Array | ID-uri gestionari de notificări |
| is_enabled | Opțional Boolean | - |
curl --request POST \
--url 'https://proofdy.io/api/campaigns' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'domain=example.com' \
--url 'https://proofdy.io/api/campaigns' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'domain=example.com' \
{
"data": {
"id": 1
}
}
POST https://proofdy.io/api/campaigns/{campaign_id}
| Parametri | Detalii | Descriere |
|---|---|---|
| domain_id | Opțional Întreg | - |
| name | Opțional Șir de caractere | - |
| domain | Opțional Șir de caractere | - |
| branding_name | Opțional Șir de caractere | - |
| branding_url | Opțional Șir de caractere | - |
| email_reports | Opțional Array | ID-uri gestionari de notificări |
| is_enabled | Opțional Boolean | - |
curl --request POST \
--url 'https://proofdy.io/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://proofdy.io/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://proofdy.io/api/campaigns/{campaign_id}
curl --request DELETE \
--url 'https://proofdy.io/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
GET https://proofdy.io/api/notifications/
curl --request GET \
--url 'https://proofdy.io/api/notifications/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/notifications/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Întreg | Numărul paginii din care dorești să obții rezultatele. Implicit este 1. |
| results_per_page | Opțional Întreg | Câte rezultate vrei pe pagină. Valori permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este 25. |
{
"data": [
{
"id": 1,
"campaign_id": 1,
"notification_key": "d4752d29a557a9fdc67b0a9a27cbe3b1",
"name": "Email Collector",
"type": "EMAIL_COLLECTOR",
"settings": {
...
},
"is_enabled": false,
"last_datetime": null,
"datetime": "2026-11-18 11:06:40"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://proofdy.io/api/notifications?&page=1",
"last": "https://proofdy.io/api/notifications?&page=1",
"next": null,
"prev": null,
"self": "https://proofdy.io/api/notifications?&page=1"
}
}
GET https://proofdy.io/api/notifications/{notification_id}
curl --request GET \
--url 'https://proofdy.io/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"campaign_id": 1,
"notification_key": "d4752d29a557a9fdc67b0a9a27cbe3b1",
"name": "Email Collector",
"type": "EMAIL_COLLECTOR",
"settings": {
...
},
"is_enabled": false,
"last_datetime": null,
"datetime": "2026-11-18 11:06:40"
}
}
POST https://proofdy.io/api/notifications
| Parametri | Detalii | Descriere |
|---|---|---|
| campaign_id | Necesar Întreg | - |
| type | Necesar Șir de caractere | Valori permise: INFORMATIONAL , COUPON , LIVE_COUNTER , EMAIL_COLLECTOR , CONVERSIONS , CONVERSIONS_COUNTER , VIDEO , AUDIO , SOCIAL_SHARE , REVIEWS , EMOJI_FEEDBACK , COOKIE_NOTIFICATION , SCORE_FEEDBACK , REQUEST_COLLECTOR , COUNTDOWN_COLLECTOR , CUSTOM_HTML , INFORMATIONAL_BAR , IMAGE , COLLECTOR_BAR , COUPON_BAR , BUTTON_BAR , COLLECTOR_MODAL , COLLECTOR_TWO_MODAL , BUTTON_MODAL , TEXT_FEEDBACK , ENGAGEMENT_LINKS , WHATSAPP_CHAT , VIBER_CHAT , MESSENGER_CHAT , TELEGRAM_CHAT , CONTACT_US , INFORMATIONAL_MINI , INFORMATIONAL_BAR_MINI |
| name | Opțional Șir de caractere | - |
| is_enabled | Opțional Boolean | - |
curl --request POST \
--url 'https://proofdy.io/api/notifications' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=INFORMATIONAL' \
--form 'is_enabled=1'
--url 'https://proofdy.io/api/notifications' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=INFORMATIONAL' \
--form 'is_enabled=1'
{
"data": {
"id": 1
}
}
POST https://proofdy.io/api/notifications/{notification_id}
curl --request POST \
--url 'https://proofdy.io/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=example' \
--form 'is_enabled=1'
--url 'https://proofdy.io/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=example' \
--form 'is_enabled=1'
{
"data": {
"id": 1
}
}
DELETE https://proofdy.io/api/notifications/{notification_id}
curl --request DELETE \
--url 'https://proofdy.io/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
GET https://proofdy.io/api/notification-handlers/
curl --request GET \
--url 'https://proofdy.io/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Întreg | Numărul paginii din care dorești să obții rezultatele. Implicit este 1. |
| results_per_page | Opțional Întreg | Câte rezultate vrei pe pagină. Valori permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este 25. |
{
"data": [
{
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "hey@example.com"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-11-18 11:06:40"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://proofdy.io/api/notification-handlers?&page=1",
"last": "https://proofdy.io/api/notification-handlers?&page=1",
"next": null,
"prev": null,
"self": "https://proofdy.io/api/notification-handlers?&page=1"
}
}
GET https://proofdy.io/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://proofdy.io/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "hey@example.com"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-11-18 11:06:40"
}
}
POST https://proofdy.io/api/notification-handlers
| Parametri | Detalii | Descriere |
|---|---|---|
| name | Necesar Șir de caractere | - |
| type | Necesar Șir de caractere | Valori permise: email , webhook , slack , discord , telegram , microsoft_teams , twilio , whatsapp , x |
| Opțional Șir de caractere | Disponibil când: type = email Email | |
| webhook | Opțional Șir de caractere | Disponibil când: type = webhook URL Webhook |
| slack | Opțional Șir de caractere | Disponibil când: type = slack URL Webhook Slack |
| discord | Opțional Șir de caractere | Disponibil când: type = discord URL Webhook Discord |
| telegram | Opțional Șir de caractere | Disponibil când: type = telegram Token API Telegram |
| telegram_chat_id | Opțional Șir de caractere | Disponibil când: type = telegram ID chat Telegram |
| x_consumer_key | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| x_consumer_secret | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| x_access_token | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| x_access_token_secret | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| twilio | Opțional Șir de caractere | Disponibil când: type = twilio Număr de telefon |
| Opțional Șir de caractere | Disponibil când: type = whatsapp Număr de telefon |
curl --request POST \
--url 'https://proofdy.io/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=hello@example.com' \
--url 'https://proofdy.io/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=hello@example.com' \
{
"data": {
"id": 1
}
}
POST https://proofdy.io/api/notification-handlers/{notification_handler_id}
| Parametri | Detalii | Descriere |
|---|---|---|
| name | Opțional Șir de caractere | - |
| type | Opțional Șir de caractere | Valori permise: email , webhook , slack , discord , telegram , microsoft_teams , twilio , whatsapp , x |
| Opțional Șir de caractere | Disponibil când: type = email Email | |
| webhook | Opțional Șir de caractere | Disponibil când: type = webhook URL Webhook |
| slack | Opțional Șir de caractere | Disponibil când: type = slack URL Webhook Slack |
| discord | Opțional Șir de caractere | Disponibil când: type = discord URL Webhook Discord |
| telegram | Opțional Șir de caractere | Disponibil când: type = telegram Token API Telegram |
| telegram_chat_id | Opțional Șir de caractere | Disponibil când: type = telegram ID chat Telegram |
| x_consumer_key | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| x_consumer_secret | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| x_access_token | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| x_access_token_secret | Opțional Șir de caractere | Disponibil când: type = x Token API Telegram |
| twilio | Opțional Șir de caractere | Disponibil când: type = twilio Număr de telefon |
| Opțional Șir de caractere | Disponibil când: type = whatsapp Număr de telefon | |
| is_enabled | Opțional Boolean | - |
curl --request POST \
--url 'https://proofdy.io/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example new name' \
--form 'is_enabled=1' \
--url 'https://proofdy.io/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example new name' \
--form 'is_enabled=1' \
{
"data": {
"id": 1
}
}
DELETE https://proofdy.io/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://proofdy.io/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
GET https://proofdy.io/api/payments/
curl --request GET \
--url 'https://proofdy.io/api/payments/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/payments/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Întreg | Numărul paginii din care dorești să obții rezultatele. Implicit este 1. |
| results_per_page | Opțional Întreg | Câte rezultate vrei pe pagină. Valori permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este 25. |
{
"data": [
{
"id": 1,
"plan_id": 1,
"processor": "stripe",
"type": "one_time",
"frequency": "monthly",
"email": "example@example.com",
"name": null,
"total_amount": "4.99",
"currency": "USD",
"status": true,
"datetime": 2026-11-18 11:06:40 },
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://proofdy.io/api/payments?&page=1",
"last": "https://proofdy.io/api/payments?&page=1",
"next": null,
"prev": null,
"self": "https://proofdy.io/api/payments?&page=1"
}
}
GET https://proofdy.io/api/payments/{payment_id}
curl --request GET \
--url 'https://proofdy.io/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"plan_id": 1,
"processor": "stripe",
"type": "one_time",
"frequency": "monthly",
"email": "example@example.com",
"name": null,
"total_amount": "4.99",
"currency": "USD",
"status": true,
"datetime": 2026-11-18 11:06:40 }
}
GET https://proofdy.io/api/logs/
curl --request GET \
--url 'https://proofdy.io/api/logs/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://proofdy.io/api/logs/' \
--header 'Authorization: Bearer {api_key}' \
| Parametri | Detalii | Descriere |
|---|---|---|
| page | Opțional Întreg | Numărul paginii din care dorești să obții rezultatele. Implicit este 1. |
| results_per_page | Opțional Întreg | Câte rezultate vrei pe pagină. Valori permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Implicit este 25. |
{
"data": [
{
"type": "login.success",
"ip": "127.0.0.1",
"device_type": "mobile",
"continent_code": "EU",
"country_code": "IT",
"city_name": "Rome",
"datetime": "2026-11-18 11:06:40"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://proofdy.io/api/logs?&page=1",
"last": "https://proofdy.io/api/logs?&page=1",
"next": null,
"prev": null,
"self": "https://proofdy.io/api/logs?&page=1"
}
}