Coinbase Exchange API
cURL
curl --request POST \ --url https://api.exchange.coinbase.com/profiles \ --header 'Content-Type: application/json' \ --header 'cb-access-key: <api-key>' \ --header 'cb-access-passphrase: <api-key>' \ --header 'cb-access-sign: <api-key>' \ --header 'cb-access-timestamp: <api-key>' \ --data '{ "name": "<string>" }'
{ "id": "8058d771-2d88-4f0f-ab6e-299c153d4308", "user_id": "5cf6e115aaf44503db300f1e", "name": "default", "active": true, "is_default": true, "created_at": "2019-06-04T21:22:32.226Z" }
Create a new profile. Will fail if no name is provided or if user already has max number of profiles.
The response is of type object.
object
Was this page helpful?