Sign Up
The Everflow platform offers a way for new Users to sign up in the UI. However, some organizations prefer hosting the signup page on their own website and submit the result to Everflow via the API.
The endpoints described here will help you achieve that.
The payloads submitted will mimic what a user would enter when using the signup form available on Everflow which is documented here.
New Users must have an email address that is unique among all users of the same “type” (Two Partner Users cannot have the same email address, but a Partner User can have the same email address as an Advertiser User).
Note that the content of the payload will be validated. For example, the address submitted must have a valid country, etc.
Custom signup fields (which are optional and defined in Control Center > Configuration > UI Customization), can be used to submit custom signup data on this endpoint. If they are marked as mandatory in Everflow, signups submitted via the API that do not contain the mandatory custom fields will result in an error.
Partner Signup
/v1/networks/affiliate/signup
If custom fields are used, their unique ID can be found by doing a GET
on /v1/networks/settings/affiliateportal
. The unique ID needed will be located in the relationship.custom_fields
property of the response.
If the option is enabled at the network level, billing details can also be passed during the signup.
Signup links on Everflow can contain embedded information about:
- The Partner Manager that will be responsible for the new Partner account
- The Partner that referred New Partner
These values are encoded in the link. If used they must be submitted the same way in the payload as shown in the second example below. You can use the Encode / Decode endpoints to extract the numeric values if needed.
Body Params
Note that you can determine which fields are required / optional for your account. Visit Control Center > Configuration > UI Customization > Partner Signup to manage the settings.
The first name of the affiliate user signing up
The last name of the affiliate user signing up
The email address of the user signing up. Must be unique
Phone number
The affiliate’s entity legal type. Can be one of the following values: individual
, partnership
, corporation
, sole_proprietorship
, other
, foreign
, llc
, llp
, non_profit
, non_us_entity
.
The affiliate’s company name. Will become the name
property once / if the affiliate is approved.
The affiliate’s website
Method used by the affiliate to advertise
Network defined custom terms and conditions that the affiliate accepted.
Everflow’s terms and conditions that the affiliate accepted.
The affiliate’s contact address information. Only required if “is_contact_address_enabled” is set to true.
The address first line
The address second line
The city name
The region code. Can be found using the metadata API.
The country code. Can be found using the metadata API.
The ZIP or Postal code.
Referral code used by the affiliate
Affiliate’s tax ID (used for billing)
Affiliate manager’s encoded ID
Encoded value of the affiliate ID that referred the new sign up
The affiliate’s billing information.
The affiliate’s payment type. Can be one of the following values: none
, pay
, paypal
, check
, wire
, direct_deposit
, tipalti
, payum
, veem
, payoneer
, bitcoin
, webmoney
, capitalist
, transferwise
, gift_card
, masspay
or skrill
The affiliate’s payment method details. Required when “payment_type” is set to anything else than “none”.
The affiliate’s paxum id. Required when “payment_type” is set to “paxum”.
The reception method used with Paypal. Can be either “email”, “phone” or “paypal_account”. Required when “payment_type” is set to “paypal”.
The affiliate’s paypal reception identifier. Required when “payment_type” is set to “paypal”.
The affiliate’s email. Required when “payment_type” is set to “payoneer” or “veem”.
Whether you want to assign an existing payee id to this affiliate. Required when “payment_type” is set to “tipalti”.
The payee’s IDAP (Payee ID). Required when “payment_type” is set to “tipalti” and is_existing_payee is set to true.
The affiliate’s first name. Required when “payment_type” is set to “veem”.
The affiliate’s last name. Required when “payment_type” is set to “veem”.
The affiliate’s phone number, must be international format. Required when “payment_type” is set to “veem”.
The affiliate’s country ISO code. Required when “payment_type” is set to “veem”.
The affiliate’s bank name. Required when “payment_type” is set to “wire” or “direct_deposit”.
The affiliate’s bank address. Required when “payment_type” is set to “wire” or “direct_deposit”.
The affiliate’s bank account name. Required when “payment_type” is set to “wire” or “direct_deposit”.
The affiliate’s bank account number. Required when “payment_type” is set to “wire” or “direct_deposit”.
The affiliate’s bank routing number. Required when “payment_type” is set to “wire” or “direct_deposit”.
The affiliate’s swift code. Required when “payment_type” is set to “wire” or “direct_deposit”.
Request Example
cURL
curl --request POST 'https://api.eflow.team/v1/networks/affiliate/signup' \
--header 'X-Eflow-API-Key: <INSERT API KEY>'
--data '<INSERT PAYLOAD>'
Request
A basic signup request would look like this:
{
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@example.com",
"phone": "555-555-1212",
"legal_type": "individual",
"company": "Example company",
"website": "http://example-website.com",
"advertise_method_description": "Facebook, Google Ads",
"custom_terms": "<The custom terms and conditions the user agrees to>",
"platform_terms": "<The platform terms and conditions the user agrees to>",
"contact_address": {
"address_1": "Address Line 1",
"address_2": "Address Line 2",
"city": "Example City",
"zip_postal_code": "32789",
"country_id": 227,
"region_code": "FL"
}
}
A more complete request could look like this:
{
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@example.com",
"phone": "555-555-1212",
"legal_type": "individual",
"company": "Example company",
"website": "http://example-website.com",
"advertise_method_description": "Facebook, Google Ads",
"custom_terms": "<The custom terms and conditions the user agrees to>",
"platform_terms": "<The platform terms and conditions the user agrees to>",
"contact_address": {
"address_1": "Address Line 1",
"address_2": "Address Line 2",
"city": "Example City",
"zip_postal_code": "32789",
"country_id": 227,
"region_code": "FL"
},
"referral_code": "facebook",
"tax_id" : "...",
"billing":
{
"payment_type": "paypal",
"billing":
{
"paypal_reception_method": "paypal_account",
"reception_identifier": "user@example.com"
}
},
"custom_field_values": [
{
"network_signup_custom_field_id": 2,
"field_value": "my optional custom field value"
},
{
"network_signup_custom_field_id": 11,
"field_value": "my optional custom field value"
},
{
"network_signup_custom_field_id": 16,
"field_value": "my optional custom field value"
},
],
"affiliate_manager_encoded_value": "RNK3G2",
"referrer_encoded_value": "RNK3G2"
}
Advertiser Signup
/v1/networks/advertiser/signup
If custom fields are used, their unique ID can be found by doing a GET
on /v1/networks/settings/advertiserportal
. The unique ID needed will be located in the relationship.custom_fields
property of the response.
Body Params
Note that you can determine which fields are required / optional for your account. Visit Control Center > Configuration > UI Customization > Partner Signup to manage the settings.
The first name of the advertiser user signing up
The last name of the advertiser user signing up
The email address of the user signing up. Must be unique
Phone number
The advertiser’s company name. Will become the name
property once / if the advertiser is approved.
The advertiser’s website
The advertisers’s contact address information.
The address first line
The address second line
The city name
The region code. Can be found using the metadata API.
The country code. Can be found using the metadata API.
The ZIP or Postal code.
Referral code used by the advertiser
Advertiser’s tax ID (used for billing)
Encoded value of the advertiser’s account manager ID
Example of an offer landing page / product page
Request Example
cURL
curl --request POST 'https://api.eflow.team/v1/networks/advertiser/signup' \
--header 'X-Eflow-API-Key: <INSERT API KEY>'
--data '<INSERT PAYLOAD>'
Request
A signup request could look like this:
{
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@example.com",
"phone": "555-555-1212",
"company": "Example company",
"website": "http://example-website.com",
"offer_landing_page": "example landing page",
"referral_code": "facebook",
"account_manager_encoded_value": "RNK3G2",
"contact_address": {
"address_1": "Address Line 1",
"address_2": "Address Line 2",
"city": "Example City",
"zip_postal_code": "32789",
"country_id": 227,
"region_code": "FL"
},
"custom_field_values": [
{
"network_signup_custom_field_id": 2,
"field_value": "my optional custom field value"
},
{
"network_signup_custom_field_id": 11,
"field_value": "my optional custom field value"
},
{
"network_signup_custom_field_id": 16,
"field_value": "my optional custom field value"
},
]
}