Available for Swarm Partners only. Get in touch to learn more about becoming a partner.
Create a new child team
Endpoint: https://bee.theswarm.com/team/create-team Method: POST Request Body (JSON):
Successful response will return an ID of the newly created team. Please save that ID as it will be needed to authenticate other requests you want to make on behalf of these team (adding connectors, searching etc.)
Authenticate the requests with a child team ID
Once a team is created, the partner API key used for its creation can be used to access other endpoints in the context of the created team:- Search Profiles endpoint
- Fetch Profile endpoint
- Search Companies endpoint
- Fetch Company endpoint
- Relationships endpoint (formerly Network Mapper)
- Add Connector endpoint
<team_id>
Replace <team_id> with the child team_id obtained during team creation.
When the x-authenticate-team header is missing in a request, the action will be performed in the context of the parent team. For example:
Add connectorrequest with team ID in the header adds a connector to the child team with the ID specified in the headerAdd connectorwithout a team ID adds a connector to the parent team- Profile and company search/fetch with the team ID in the header run in the context of the child team (list/tag membership reflects that child team)
- Profile and company search/fetch without the team ID in the header run in the context of the parent team
- Relationships with the header returns profiles within the network of the child team
- Relationships without the header returns profiles within the network of the PARENT team

