Register a new account

Registering a new account with email and password can provide you with a set of API credentials.

Register

POST https://api.photoncommerce.com/api/v4/register

Register using your email address and a password to receive a Client ID, Client Secret and an API Key

Headers

NameTypeDescription

Accept

string

Set to "application/json"

Content-Type

string

Set to "application/json"

Request Body

NameTypeDescription

password

string

Passwords must be atleast 10 characters long, must contain atleast 1 digit and 1 special character

email

string

your email address

{"client_id":"<your client ID>","api_key":"<your API Key>","secret_key":"<your client secret>","username":"<your email>","password":"<your password>"}

***Note: When the registration succeeds, you will receive an email containing a verification link. Click on it and you're good to go! Before verifying your email, you will not be able to use these credentials.

curl -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d '{"email": "<your-email>", "password": "<your-password>"}'  "https://api.photoncommerce.com/api/v4/register" 

Last updated