GitHub
Add GitHub Collaborator
Add a collaborator to a repository with a permission level.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| ownerstring · required | string | required | — |
| repostring · required | string | required | — |
| usernamestring · required | string | required | GitHub username of the person to add — their login, not an email address (GitHub resolves collaborators by username). Or bind a {{variable}} holding a username. Example: |
| permissionstring · optional | string | optional | One of: |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Raw API response when GitHub returns content (e.g. the collaborator invitation)."
},
"message": {
"type": "string",
"description": "Human-readable confirmation of what was done."
},
"success": {
"type": "boolean",
"description": "True when the action completed."
}
}
}