The entire API V2 documentation is interactive and can be tested here. To the right side of every endpoint you will see a box with an example request. You can click on the "Try it" button to send a request to the server right from the docs. You will need to provide an API key by clicking the ApiKeyAuth_token blue text.
https://api.instantly.ai/
https://developer.instantly.ai/_mock/api/v2/
https://api.instantly.ai/api/v2/oauth/google/init
https://developer.instantly.ai/_mock/api/v2/api/v2/oauth/google/init
curl -i -X POST \
https://api.instantly.ai/api/v2/oauth/google/init \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "session_id": "abc123def456", "auth_url": "https://accounts.google.com/o/oauth2/auth?...", "expires_at": "2026-01-14T12:30:00.000Z" }
https://api.instantly.ai/api/v2/oauth/microsoft/init
https://developer.instantly.ai/_mock/api/v2/api/v2/oauth/microsoft/init
curl -i -X POST \
https://api.instantly.ai/api/v2/oauth/microsoft/init \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "session_id": "abc123def456", "auth_url": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?...", "expires_at": "2026-01-14T12:30:00.000Z" }
https://api.instantly.ai/api/v2/oauth/session/status/{sessionId}
https://developer.instantly.ai/_mock/api/v2/api/v2/oauth/session/status/{sessionId}
curl -i -X GET \
https://api.instantly.ai/api/v2/oauth/session/status/abc123def456 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "status": "success", "email": "user@example.com", "name": "John Doe", "error": "access_denied", "error_description": "User denied access to the application" }
This entity represents a tag being assigned to a specific campaign or email account. When an email account is assigned a tag, a new custom tag mapping entry is created, which connects the tag (tag_id field) with the email account (resource_id field). You can use it to see which tag si connected to which resource.