Create Project
curl --request POST \
--url https://{cluster}.voucherify.io/management/v1/projects \
--header 'Content-Type: application/json' \
--header 'X-Management-Id: <api-key>' \
--header 'X-Management-Token: <api-key>' \
--data '
{
"case_sensitive_codes": true,
"name": "<string>",
"timezone": "<string>",
"currency": "<string>",
"description": "<string>",
"dial_code": "<string>",
"webhook_version": "v2024-01-01",
"client_trusted_domains": [
"<string>"
],
"client_redeem_enabled": true,
"client_publish_enabled": true,
"client_list_vouchers_enabled": true,
"client_create_customer_enabled": true,
"client_loyalty_events_enabled": true,
"client_set_voucher_expiration_date_enabled": true,
"cluster_id": "<string>",
"api_version": "v2018-08-01",
"users": [
{
"role": "<string>",
"id": "<string>",
"login": "<string>"
}
]
}
'{
"id": "proj_V0uCh3RiFy",
"name": "Voucherify Team Project",
"currency": "EUR",
"timezone": "UTC",
"cluster_id": "eu1",
"api_version": "v2018-08-01",
"case_sensitive_codes": true,
"client_trusted_domains": [],
"client_redeem_enabled": false,
"client_publish_enabled": false,
"client_list_vouchers_enabled": false,
"client_create_customer_enabled": false,
"client_loyalty_events_enabled": false,
"client_set_voucher_expiration_date_enabled": false,
"api_usage_notifications": {
"messages": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"api_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"cycle_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"redemptions": {
"value": 80,
"emails": [],
"in_app": false,
"enabled": false
},
"webhook_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"bulk_api_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
}
},
"webhooks_callout_notifications": {
"webhooks": {
"email": true,
"emails": [
"your.email@your.domain"
],
"in_app": true
},
"distributions": {
"email": true,
"emails": [
"your.email@your.domain"
],
"in_app": true
}
},
"is_sandbox": false,
"webhook_version": "v2024-01-01"
}{
"code": 400,
"key": "invalid_payload",
"message": "Invalid payload",
"details": "Payload must have required property 'name'",
"request_id": "v-0e9389ccac8da56f55"
}{
"code": 401,
"message": "Unauthorized",
"key": "unauthorized"
}{
"code": 402,
"message": "Payment required",
"details": "Your current plan does not include a feature required to perform this operation.",
"key": "missing_required_feature"
}{
"code": 403,
"key": "forbidden",
"message": "Forbidden",
"details": "Project is bound to different region",
"request_id": "v-0e938b8738000cc714"
}Create Project
Creates a new project. You can add users, specify the cluster, timezone, currency, and other details.
All owners are added to the project by default.
POST
/
management
/
v1
/
projects
Create Project
curl --request POST \
--url https://{cluster}.voucherify.io/management/v1/projects \
--header 'Content-Type: application/json' \
--header 'X-Management-Id: <api-key>' \
--header 'X-Management-Token: <api-key>' \
--data '
{
"case_sensitive_codes": true,
"name": "<string>",
"timezone": "<string>",
"currency": "<string>",
"description": "<string>",
"dial_code": "<string>",
"webhook_version": "v2024-01-01",
"client_trusted_domains": [
"<string>"
],
"client_redeem_enabled": true,
"client_publish_enabled": true,
"client_list_vouchers_enabled": true,
"client_create_customer_enabled": true,
"client_loyalty_events_enabled": true,
"client_set_voucher_expiration_date_enabled": true,
"cluster_id": "<string>",
"api_version": "v2018-08-01",
"users": [
{
"role": "<string>",
"id": "<string>",
"login": "<string>"
}
]
}
'{
"id": "proj_V0uCh3RiFy",
"name": "Voucherify Team Project",
"currency": "EUR",
"timezone": "UTC",
"cluster_id": "eu1",
"api_version": "v2018-08-01",
"case_sensitive_codes": true,
"client_trusted_domains": [],
"client_redeem_enabled": false,
"client_publish_enabled": false,
"client_list_vouchers_enabled": false,
"client_create_customer_enabled": false,
"client_loyalty_events_enabled": false,
"client_set_voucher_expiration_date_enabled": false,
"api_usage_notifications": {
"messages": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"api_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"cycle_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"redemptions": {
"value": 80,
"emails": [],
"in_app": false,
"enabled": false
},
"webhook_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
},
"bulk_api_calls": {
"value": 80,
"emails": [
"your.email@your.domain"
],
"in_app": true,
"enabled": true
}
},
"webhooks_callout_notifications": {
"webhooks": {
"email": true,
"emails": [
"your.email@your.domain"
],
"in_app": true
},
"distributions": {
"email": true,
"emails": [
"your.email@your.domain"
],
"in_app": true
}
},
"is_sandbox": false,
"webhook_version": "v2024-01-01"
}{
"code": 400,
"key": "invalid_payload",
"message": "Invalid payload",
"details": "Payload must have required property 'name'",
"request_id": "v-0e9389ccac8da56f55"
}{
"code": 401,
"message": "Unauthorized",
"key": "unauthorized"
}{
"code": 402,
"message": "Payment required",
"details": "Your current plan does not include a feature required to perform this operation.",
"key": "missing_required_feature"
}{
"code": 403,
"key": "forbidden",
"message": "Forbidden",
"details": "Project is bound to different region",
"request_id": "v-0e938b8738000cc714"
}Body
application/json
Define project details.
Request body schema for POST /management/v1/projects.
Response
Returns the details of a created project.
Response body schema for POST management/v1/projects.

