Skip to main content
POST
/
v1
/
accounts
Create an Account
curl --request POST \
  --url https://api.domo.com/v1/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": {
    "id": "<string>",
    "properties": {
      "password": "<string>",
      "authenticateBy": "<string>",
      "url": "<string>",
      "username": "<string>"
    }
  }
}
'
{
  "id": "<string>",
  "name": "<string>",
  "valid": true,
  "type": {
    "id": "<string>",
    "properties": {}
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string

The name of the Account

type
array

The Account Type object indicating the type of Account

Body

application/json
name
string
type
object

Response

200 - application/json

Returns an Account object when successful. The returned object will not contain any properties within the Account Type object .

id
string
name
string
valid
boolean
type
object