API Guide

Create Child Account API Key

This API allows you to generate an API key for a new or existing child account. Successful account creation will result in the API returning the API key of the child account. Data is returned in the following formats: XML, JSON, CSV and Serialized.

Required headers: X-API-KEY
Optional headers: ACCEPT (json, xml, csv, serialized)
Method: POST

Endpoint URL:

https://api.250ok.com/api/1.0/account/apikey

Sample Output:

"e1111111111aab23f2b4476a7649078cac48bf22"

Parameters

Parameter Description Acceptable Values Required
id The unique identifier of the child account. Integer Y

Error Responses

Description Code Cause
Invalid child account ID. 404 The unique identifier of the child account is invalid
This child account does not exist. 404 We couldn't find an account with the child account ID provided
You don't have access to create child accounts. 403 Your account does not have permission to create child accounts. Please contact us to add this feature.