Skip to main content
POST
/
api
/
webhook
/
v1
/
setup-config
Setup Config
curl --request POST \
  --url https://{env}.tartanhq.com/api/webhook/v1/setup-config/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "hrms_id": "<string>",
  "access_credentials": {
    "client_id": "<string>",
    "client_secret": "<string>",
    "api_key": "<string>",
    "grant_type": "<string>",
    "hrms_host": "<string>"
  },
  "api_configs": [
    {
      "api_id": "<string>",
      "access_credentials": {
        "client_id": "<string>",
        "client_secret": "<string>",
        "api_key": "<string>",
        "grant_type": "<string>",
        "hrms_host": "<string>"
      }
    }
  ]
}
'

Body

application/json
client_id
string
client_secret
string
hrms_id
string
access_credentials
object
api_configs
object[]

Response

200

Successful response