Common Error Responses
Status Code | Message | Description |
---|---|---|
400 Bad Request | "Invalid domain format" | The provided domain is not formatted correctly. |
401 Unauthorized | "Invalid Api-Key" | The API key provided is invalid or missing. |
404 Not Found | "Domain not found" | The domain to follow/unfollow does not exist in the system. |
500 Internal Server Error | "Unexpected error occurred" | A server error occurred while processing the request. |
Notes:
- Ensure the API key has the necessary permissions to access these endpoints.
- Domains can only be subscribed or unsubscribed by users who are authorized within the organization associated with the provided API key.