POST
/
admin
/
project
curl --request POST \
  --url https://api.syndicate.io/admin/project \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "environment": "staging",
  "chainId": 123,
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "numWallets": 123
}'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "environment": "staging",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contracts": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "chainId": 80001,
      "address": "0x94f6E9c420Db1566A3c035Df291F206eBfAfC762",
      "name": "My Contract",
      "expiresAt": "2023-11-07T05:31:56Z",
      "functionSignatures": [
        {
          "id": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "signature": "<string>",
          "functionAbi": "<any>",
          "hashedSignature": "<string>",
          "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "payable": true
        }
      ],
      "projectId": "638d1d78-d63d-4cda-9f1e-4d0799acfeee",
      "claimedByOrganizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "allowlistIpRanges": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "ipRange": "<string>",
      "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

API Endpoint

https://api.syndicate.io/admin/project

Authorizations

Authorization
string
headerrequired

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

Body

application/json
name
string
required
environment
enum<string>
required
Available options:
staging,
production
chainId
integer
required
organizationId
string
required
numWallets
integer | null

Number of wallets to create for the project. Defaults to 1. Max is 10.

Response

200 - application/json
id
string
required
createdAt
string
required
updatedAt
string | null
name
string
required
environment
enum<string>
required
Available options:
staging,
production
organizationId
string
required
contracts
object[]
required
allowlistIpRanges
object[]
required