import requests
url = "https://api.diga.io/v1/project/invitation/{invitation_id}/join"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"name": "<string>",
"members_count": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
}Accept a project invitation and become a member of the project.
import requests
url = "https://api.diga.io/v1/project/invitation/{invitation_id}/join"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"name": "<string>",
"members_count": 123,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.