cURL
curl --request POST \ --url https://api.greptile.com/v2/repositories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-GitHub-Token: <api-key>' \ --data '{ "remote": "<string>", "repository": "<string>", "branch": "<string>", "reload": true, "notify": true }'
{ "message": "<string>", "statusEndpoint": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Repository processing started.
The response is of type object.
object
Was this page helpful?